|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILovDetail
Defines methods to manage a lov
Method Summary | |
---|---|
java.lang.String |
getDescriptionColumnName()
Gets the description column name. |
java.util.List |
getInvisibleColumnNames()
Gets the invisible column names. |
java.lang.String |
getLovResult(it.eng.spago.security.IEngUserProfile profile,
java.util.List<ObjParuse> dependencies,
ExecutionInstance executionInstance)
Returns the result of the lov for a given user and for a particular execution instance with the given dependencies (optional). |
java.lang.String |
getLovType()
Gets the type of the lov. |
java.util.List |
getProfileAttributeNames()
Gets the list of names of the profile attributes required. |
java.util.List |
getTreeLevelsColumns()
Gets the levels names of the tree lov |
java.lang.String |
getValueColumnName()
Gets the value column name. |
java.util.List |
getVisibleColumnNames()
Gets the visible column names. |
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 name)
Sets the description column name. |
void |
setInvisibleColumnNames(java.util.List invisCols)
Sets the invisible column names. |
void |
setLovType(java.lang.String name)
Sets the type of the lov. |
void |
setTreeLevelsColumns(java.util.List treeLevelColumns)
Sets the levels names of the tree lov |
void |
setValueColumnName(java.lang.String name)
Sets the value column name. |
void |
setVisibleColumnNames(java.util.List visCols)
Sets the visible column names. |
java.lang.String |
toXML()
serialize the lov to an xml string. |
Method Detail |
---|
java.lang.String toXML()
void loadFromXML(java.lang.String dataDefinition) throws it.eng.spago.base.SourceBeanException
dataDefinition
- the xml definition of the lov
it.eng.spago.base.SourceBeanException
- the source bean exceptionjava.lang.String getLovResult(it.eng.spago.security.IEngUserProfile profile, java.util.List<ObjParuse> dependencies, ExecutionInstance executionInstance) throws java.lang.Exception
profile
- the profile of the userdependencies
- the dependencies to be considered for the lov. It may be null,
since when testing a lov, there is no correlation.executionInstance
- the execution instance object, that contains the BIObject
being executed. It may be null, since when testing a lov,
there is no execution instance.
java.lang.Exception
- the exceptionboolean requireProfileAttributes() throws java.lang.Exception
java.lang.Exception
- the exceptionjava.util.List getProfileAttributeNames() throws java.lang.Exception
java.lang.Exception
- the exceptionjava.util.List getVisibleColumnNames() throws java.lang.Exception
java.lang.Exception
- the exceptionjava.util.List getInvisibleColumnNames() throws java.lang.Exception
java.lang.Exception
- the exceptionjava.lang.String getValueColumnName() throws java.lang.Exception
java.lang.Exception
- the exceptionjava.lang.String getDescriptionColumnName() throws java.lang.Exception
java.lang.Exception
- the exceptionjava.lang.String getLovType()
java.lang.Exception
- the exceptionjava.util.List getTreeLevelsColumns() throws java.lang.Exception
java.lang.Exception
- the exceptionvoid setVisibleColumnNames(java.util.List visCols) throws java.lang.Exception
visCols
- the new visible column names
java.lang.Exception
- the exceptionvoid setInvisibleColumnNames(java.util.List invisCols) throws java.lang.Exception
invisCols
- the new invisible column names
java.lang.Exception
- the exceptionvoid setValueColumnName(java.lang.String name) throws java.lang.Exception
name
- the new value column name
java.lang.Exception
- the exceptionvoid setDescriptionColumnName(java.lang.String name) throws java.lang.Exception
name
- the new description column name
java.lang.Exception
- the exceptionvoid setLovType(java.lang.String name) throws java.lang.Exception
name
- the type of the lov
java.lang.Exception
- the exceptionvoid setTreeLevelsColumns(java.util.List treeLevelColumns) throws java.lang.Exception
treeLevelColumns
- levels names of the tree lov
java.lang.Exception
- the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |