Class DataProvider
java.lang.Object
com.priint.pubserver.tagging.TaggingObject
com.priint.pubserver.dataprovider.DataProvider
- All Implemented Interfaces:
Serializable
DataProvider configuration referencing a EntityManager method and a DataMapping method to retrieve data from publishing:hub.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumData format of the result returned by the data providerstatic classThe Class DataProviderGetter.static classThe Class DataProviderSetter.Nested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringData format string: objectlist.static final StringData format string: previewlist.static final StringData format string: productlist.static final StringData format string: publicationlist.static final StringData format string: String.static final StringData format string: String[].static final StringData format string: tableinsertlist.Fields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.DataProvider(String identifier, String label, String entityClass) Constructor which set values identifier, label, entityClass. -
Method Summary
Modifier and TypeMethodDescriptionGets the entity class.Data provider identifier.getLabel()Gets the label.voidsetDataProviderGetter(DataProvider.DataProviderGetter dataProviderGetter) Sets the data provider getter.voidsetDataProviderSetter(DataProvider.DataProviderSetter dataProviderSetter) voidsetEntityClass(String entityClass) Sets the entity class.voidsetIdentifier(String identifier) Set data provider identifier.voidSets the label.Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Field Details
-
GET_DATA_DATAFORMAT_STRING
Data format string: String.- See Also:
-
GET_DATA_DATAFORMAT_STRINGLIST
Data format string: String[].- See Also:
-
GET_DATA_DATAFORMAT_PRODUCTLIST
Data format string: productlist.- See Also:
-
GET_DATA_DATAFORMAT_PUBLICATIONLIST
Data format string: publicationlist.- See Also:
-
GET_DATA_DATAFORMAT_PREVIEWLIST
Data format string: previewlist.- See Also:
-
GET_DATA_DATAFORMAT_TABLEINSERTLIST
Data format string: tableinsertlist.- See Also:
-
GET_DATA_DATAFORMAT_OBJECTLIST
Data format string: objectlist.- See Also:
-
-
Constructor Details
-
DataProvider
public DataProvider()Default constructor. -
DataProvider
Constructor which set values identifier, label, entityClass.- Parameters:
identifier- Data provider identifierlabel- Data provider labelentityClass- Entity class
-
-
Method Details
-
getIdentifier
Data provider identifier.- Returns:
- identifier
-
setIdentifier
Set data provider identifier.- Parameters:
identifier- the new identifier
-
getLabel
Gets the label.- Returns:
- the label
-
setLabel
Sets the label.- Parameters:
label- the new label
-
getEntityClass
Gets the entity class.- Returns:
- the entity class
-
setEntityClass
Sets the entity class.- Parameters:
entityClass- the new entity class
-
getDataProviderGetter
- Returns:
- DataProviderGetter object
- See Also:
-
setDataProviderGetter
Sets the data provider getter.- Parameters:
dataProviderGetter- the new data provider getter
-
getDataProviderSetter
- Returns:
- DataProviderSetter object
- See Also:
-
setDataProviderSetter
- Parameters:
dataProviderSetter- DataProviderSetter object- See Also:
-