|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.behaviouralmodel.lov.bo.ScriptDetail
public class ScriptDetail
Defines the ScriptDetail
objects. This object is used to store
Script Wizard detail information.
Constructor Summary | |
---|---|
ScriptDetail()
constructor. |
|
ScriptDetail(java.lang.String dataDefinition)
constructor. |
Method Summary | |
---|---|
boolean |
checkSintax(java.lang.String result)
checks if the result is formatted in the right xml structure |
java.lang.String |
convertResult(java.lang.String result)
In case the result of the string is not structured as expected wrap the result into the right xml envelope |
static ScriptDetail |
fromXML(java.lang.String dataDefinition)
Splits an XML string by using some SourceBean object methods
in order to obtain the source ScriptDetail objects whom XML has been
built. |
java.lang.String |
getDescriptionColumnName()
|
java.util.List |
getInvisibleColumnNames()
|
java.lang.String |
getLanguageScript()
|
java.lang.String |
getLovResult(it.eng.spago.security.IEngUserProfile profile)
Returns the result of the lov using a user profile to fill the lov profile attribute. |
java.util.List |
getProfileAttributeNames()
Gets the list of names of the profile attributes required. |
java.lang.String |
getScript()
Get the string of the script. |
java.lang.String |
getValueColumnName()
|
java.util.List |
getVisibleColumnNames()
|
void |
loadFromXML(java.lang.String dataDefinition)
loads the lov from an xml string. |
boolean |
requireProfileAttributes()
Checks if the lov requires one or more profile attributes. |
void |
setDescriptionColumnName(java.lang.String descriptionColumnName)
|
void |
setInvisibleColumnNames(java.util.List invisibleColumnNames)
|
void |
setLanguageScript(java.lang.String languageScript)
|
void |
setScript(java.lang.String script)
Set the string of the script. |
void |
setValueColumnName(java.lang.String valueColumnName)
|
void |
setVisibleColumnNames(java.util.List visibleColumnNames)
|
java.lang.String |
toXML()
serialize the lov to an xml string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptDetail()
public ScriptDetail(java.lang.String dataDefinition) throws it.eng.spago.base.SourceBeanException
dataDefinition
- xml representation of the script lov
it.eng.spago.base.SourceBeanException
- the source bean exceptionMethod Detail |
---|
public void loadFromXML(java.lang.String dataDefinition) throws it.eng.spago.base.SourceBeanException
loadFromXML
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
dataDefinition
- the xml definition of the lov
it.eng.spago.base.SourceBeanException
- the source bean exceptionpublic java.lang.String toXML()
toXML
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
public java.lang.String getLovResult(it.eng.spago.security.IEngUserProfile profile) throws java.lang.Exception
getLovResult
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
profile
- the profile of the user
java.lang.Exception
- the exceptionpublic boolean checkSintax(java.lang.String result)
result
- the result of the lov
public java.util.List getProfileAttributeNames() throws java.lang.Exception
getProfileAttributeNames
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
java.lang.Exception
- the exceptionpublic boolean requireProfileAttributes() throws java.lang.Exception
requireProfileAttributes
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
java.lang.Exception
- the exceptionpublic java.lang.String convertResult(java.lang.String result)
result
- the result of the script
public java.lang.String getScript()
public void setScript(java.lang.String script)
script
- the string of the scriptpublic static ScriptDetail fromXML(java.lang.String dataDefinition) throws it.eng.spago.base.SourceBeanException
SourceBean
object methods
in order to obtain the source ScriptDetail
objects whom XML has been
built.
dataDefinition
- The XML input String
ScriptDetail
object
it.eng.spago.base.SourceBeanException
- If a SourceBean Exception occurredpublic java.lang.String getDescriptionColumnName()
getDescriptionColumnName
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
public void setDescriptionColumnName(java.lang.String descriptionColumnName)
setDescriptionColumnName
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
public java.util.List getInvisibleColumnNames()
getInvisibleColumnNames
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
public void setInvisibleColumnNames(java.util.List invisibleColumnNames)
setInvisibleColumnNames
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
public java.lang.String getValueColumnName()
getValueColumnName
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
public void setValueColumnName(java.lang.String valueColumnName)
setValueColumnName
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
public java.util.List getVisibleColumnNames()
getVisibleColumnNames
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
public void setVisibleColumnNames(java.util.List visibleColumnNames)
setVisibleColumnNames
in interface it.eng.spagobi.behaviouralmodel.lov.bo.ILovDetail
public java.lang.String getLanguageScript()
public void setLanguageScript(java.lang.String languageScript)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |