|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.bo.lov.FixedListDetail
public class FixedListDetail
Defines method to manage lov of fixed list type
Constructor Summary | |
---|---|
FixedListDetail()
constructor |
|
FixedListDetail(java.lang.String dataDefinition)
constructor |
Method Summary | |
---|---|
void |
add(java.lang.String value,
java.lang.String description)
Adds a lov to the lov Detail List |
static FixedListDetail |
fromXML(java.lang.String dataDefinition)
Splits an XML string by using some SourceBean object methods
in order to obtain the source LovDetail objects whom XML has been
built. |
java.lang.String |
getDescriptionColumnName()
|
java.util.List |
getInvisibleColumnNames()
|
java.util.List |
getItems()
Gets item of the fixed list |
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 |
getValueColumnName()
|
java.util.List |
getVisibleColumnNames()
|
void |
loadFromXML(java.lang.String dataDefinition)
loads the lov from an xml string |
void |
remove(java.lang.String value,
java.lang.String description)
Deletes a lov from the lov Detail List |
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 |
setLovs(java.util.List items)
Sets items of the fixed list |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedListDetail()
public FixedListDetail(java.lang.String dataDefinition) throws it.eng.spago.base.SourceBeanException
it.eng.spago.base.SourceBeanException
Method Detail |
---|
public void loadFromXML(java.lang.String dataDefinition) throws it.eng.spago.base.SourceBeanException
loadFromXML
in interface ILovDetail
dataDefinition
- the xml definition of the lov
it.eng.spago.base.SourceBeanException
public java.lang.String toXML()
toXML
in interface ILovDetail
public java.lang.String getLovResult(it.eng.spago.security.IEngUserProfile profile) throws java.lang.Exception
getLovResult
in interface ILovDetail
profile
- the profile of the user
java.lang.Exception
public java.util.List getProfileAttributeNames() throws java.lang.Exception
getProfileAttributeNames
in interface ILovDetail
java.lang.Exception
public boolean requireProfileAttributes() throws java.lang.Exception
requireProfileAttributes
in interface ILovDetail
java.lang.Exception
public void add(java.lang.String value, java.lang.String description)
name
- The added lov namedescription
- The added lov descriptionpublic void remove(java.lang.String value, java.lang.String description)
value
- The deleted lov namedescription
- The deleted lov descriptionpublic static FixedListDetail fromXML(java.lang.String dataDefinition) throws it.eng.spago.base.SourceBeanException
SourceBean
object methods
in order to obtain the source LovDetail
objects whom XML has been
built.
dataDefinition
- The XML input String
LovDetailList
object
it.eng.spago.base.SourceBeanException
- If a SourceBean Exception occurredpublic java.util.List getItems()
public void setLovs(java.util.List items)
items
- the items to setpublic java.lang.String getDescriptionColumnName()
getDescriptionColumnName
in interface ILovDetail
public void setDescriptionColumnName(java.lang.String descriptionColumnName)
setDescriptionColumnName
in interface ILovDetail
public java.util.List getInvisibleColumnNames()
getInvisibleColumnNames
in interface ILovDetail
public void setInvisibleColumnNames(java.util.List invisibleColumnNames)
setInvisibleColumnNames
in interface ILovDetail
public java.lang.String getValueColumnName()
getValueColumnName
in interface ILovDetail
public void setValueColumnName(java.lang.String valueColumnName)
setValueColumnName
in interface ILovDetail
public java.util.List getVisibleColumnNames()
getVisibleColumnNames
in interface ILovDetail
public void setVisibleColumnNames(java.util.List visibleColumnNames)
setVisibleColumnNames
in interface ILovDetail
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |