|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.tools.dataset.bo.DataSetParametersList
public class DataSetParametersList
Defines method to manage dataset parametes
Constructor Summary | |
---|---|
DataSetParametersList()
constructor. |
|
DataSetParametersList(java.lang.String dataDefinition)
constructor. |
Method Summary | |
---|---|
void |
add(java.lang.String name,
java.lang.String type)
Adds a dataset to the dataset Detail List. |
static DataSetParametersList |
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 |
getDataSetResult(it.eng.spago.security.IEngUserProfile profile)
Returns the result of the Dataset using a user profile to fill the Datase profile attribute. |
java.util.List |
getItems()
Gets item of the fixed list. |
java.util.List |
getProfileAttributeNames()
Gets the list of names of the profile attributes required. |
void |
loadFromXML(java.lang.String dataDefinition)
loads the lov from an xml string. |
void |
remove(java.lang.String name,
java.lang.String type)
Deletes a dataset from the dataset Detail List. |
boolean |
requireProfileAttributes()
Checks if the dataset requires one or more profile attributes. |
void |
setPars(java.util.List items)
Sets items of the fixed list. |
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 DataSetParametersList()
public DataSetParametersList(java.lang.String dataDefinition) throws it.eng.spago.base.SourceBeanException
dataDefinition
- the data definition
it.eng.spago.base.SourceBeanException
- the source bean exceptionMethod Detail |
---|
public 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 exceptionpublic java.lang.String toXML()
public java.lang.String getDataSetResult(it.eng.spago.security.IEngUserProfile profile) throws java.lang.Exception
profile
- the profile of the user
java.lang.Exception
- the exceptionpublic java.util.List getProfileAttributeNames() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic boolean requireProfileAttributes() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void add(java.lang.String name, java.lang.String type)
name
- The dataset lov nametype
- the typepublic void remove(java.lang.String name, java.lang.String type)
name
- the nametype
- the typepublic static DataSetParametersList 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
DatasetParameterList
object
it.eng.spago.base.SourceBeanException
- If a SourceBean Exception occurredpublic java.util.List getItems()
public void setPars(java.util.List items)
items
- the items to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |