Package de.xima.fc.gui.model.impex
Class ImportConfigWrapper
- java.lang.Object
-
- de.xima.fc.gui.model.impex.ImportConfigWrapper
-
- All Implemented Interfaces:
IDataContainer
,Serializable
public class ImportConfigWrapper extends Object implements IDataContainer
Wrapper class forIEntityImportConfig
s so additional information can be displayed.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImportConfigWrapper(IEntityImportConfig<?> config, Locale loc)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description de.xima.cmn.dao.interfaces.IEntity<Long>
getAlternative()
Deprecated.IEntityImportConfig<?>
getConfig()
EEntityConflictResolveAction
getConflictResolveAction()
List<String>
getDependencyDescriptions()
String
getDisplayName()
String
getEntityStateDescription()
org.primefaces.model.menu.MenuModel
getMenuModel()
Gets the menu model for the alternatives that can be selected for this entity.String
getSubtitle()
Gets the subtitle of the entity.String
getTypeDisplayName()
String
getTypeIcon()
String
getTypeTitle()
boolean
isAlternativePossible()
boolean
isAppointmentTemplate()
boolean
isClientCounter()
boolean
isClientFormTheme()
boolean
isClientResource()
boolean
isCSSTemplate()
Deprecated.boolean
isCSVDataSource()
boolean
isDataSource()
boolean
isDBDataSource()
boolean
isEntityExists()
boolean
isHTMLTemplate()
boolean
isInbox()
boolean
isJSONDataSource()
boolean
isPDFResource()
boolean
isRelevantForImport()
boolean
isTemplate()
boolean
isURLTemplate()
boolean
isUserGroup()
boolean
isWordResource()
boolean
isXMLDataSource()
boolean
isXSLTemplate()
void
setAlternative(de.xima.cmn.dao.interfaces.IEntity<Long> alternative)
Deprecated.void
setAlternativeId(Long alternativeId)
Deprecated.void
setAlternativeObject(Object alternative)
void
setConfig(IEntityImportConfig<?> config)
void
setConflictResolveAction(EEntityConflictResolveAction conflictResolveAction)
void
setDependencyDescriptions(List<String> dependencyDescriptions)
void
setMenuModel(org.primefaces.model.menu.MenuModel menuModel)
Sets the menu model for the alternatives that can be selected for this entity.void
updateData()
Should update data when called
-
-
-
Constructor Detail
-
ImportConfigWrapper
public ImportConfigWrapper(IEntityImportConfig<?> config, Locale loc)
-
-
Method Detail
-
getConfig
public IEntityImportConfig<?> getConfig()
-
getMenuModel
public org.primefaces.model.menu.MenuModel getMenuModel()
Gets the menu model for the alternatives that can be selected for this entity.- Returns:
- Menu model for the alternatives.
-
setMenuModel
public void setMenuModel(org.primefaces.model.menu.MenuModel menuModel)
Sets the menu model for the alternatives that can be selected for this entity.- Parameters:
menuModel
- Menu model for the alternatives.
-
setConfig
public void setConfig(IEntityImportConfig<?> config)
-
setAlternativeObject
public void setAlternativeObject(Object alternative)
-
getDisplayName
public String getDisplayName()
-
getSubtitle
public String getSubtitle()
Gets the subtitle of the entity. The subtitle contains further details about the entity, in addition to thedisplay name
. May be empty if there are no further details.- Returns:
- The subtitle of the entity
-
getTypeDisplayName
public String getTypeDisplayName()
-
getEntityStateDescription
public String getEntityStateDescription()
-
getTypeIcon
public String getTypeIcon()
-
getTypeTitle
public String getTypeTitle()
-
setDependencyDescriptions
public void setDependencyDescriptions(List<String> dependencyDescriptions)
-
getConflictResolveAction
public EEntityConflictResolveAction getConflictResolveAction()
- Returns:
EEntityConflictResolveAction
specifying what to do if the entity already exists
-
setConflictResolveAction
public void setConflictResolveAction(EEntityConflictResolveAction conflictResolveAction)
- Parameters:
conflictResolveAction
-EEntityConflictResolveAction
specifying what to do if the entity already exists
-
isEntityExists
public boolean isEntityExists()
-
isRelevantForImport
public boolean isRelevantForImport()
-
isAlternativePossible
public boolean isAlternativePossible()
-
isUserGroup
public boolean isUserGroup()
-
isInbox
public boolean isInbox()
-
isClientResource
public boolean isClientResource()
-
isTemplate
public boolean isTemplate()
-
isDataSource
public boolean isDataSource()
-
isPDFResource
public boolean isPDFResource()
-
isWordResource
public boolean isWordResource()
-
isClientFormTheme
public boolean isClientFormTheme()
-
isCSSTemplate
@Deprecated public boolean isCSSTemplate()
Deprecated.
-
isXSLTemplate
public boolean isXSLTemplate()
-
isHTMLTemplate
public boolean isHTMLTemplate()
-
isURLTemplate
public boolean isURLTemplate()
-
isCSVDataSource
public boolean isCSVDataSource()
-
isXMLDataSource
public boolean isXMLDataSource()
-
isJSONDataSource
public boolean isJSONDataSource()
-
isDBDataSource
public boolean isDBDataSource()
-
isAppointmentTemplate
public boolean isAppointmentTemplate()
-
isClientCounter
public boolean isClientCounter()
-
updateData
public void updateData()
Description copied from interface:IDataContainer
Should update data when called- Specified by:
updateData
in interfaceIDataContainer
-
getAlternative
@Deprecated public de.xima.cmn.dao.interfaces.IEntity<Long> getAlternative()
Deprecated.
-
setAlternative
@Deprecated public void setAlternative(de.xima.cmn.dao.interfaces.IEntity<Long> alternative)
Deprecated.
-
setAlternativeId
@Deprecated public void setAlternativeId(Long alternativeId)
Deprecated.
-
-