Package de.xima.fc.entities
Class ProjectPortalConfig
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.ProjectPortalConfig
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,ILockingVersionProviding,IProjektDependent,ITransferable,ITransferableEntity,ITransferableLockableEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class ProjectPortalConfig extends AbstractLockableEntity implements IProjektDependent
Entity model for project portal config.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_ACTIVEstatic StringATTR_TAGSstatic StringATTR_USER_PORTALstatic StringCOL_FLAG_ACTIVEstatic StringCOL_PORTAL_IDstatic StringCOL_PROJECT_ID-
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
-
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
-
Fields inherited from interface de.xima.fc.entities.interfaces.IProjektDependent
ATTR_PROJEKT
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
-
Constructor Summary
Constructors Constructor Description ProjectPortalConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTags(ProjectPortalTag... tags)LonggetId()ProjektgetProjekt()Set<ProjectPortalTag>getTags()List<ProjectPortalTag>getTags(Locale locale)UserPortalgetUserPortal()booleanisActive()voidsetActive(boolean active)voidsetProjekt(Projekt projekt)voidsetTags(Set<ProjectPortalTag> tags)voidsetUserPortal(UserPortal userPortal)-
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
-
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setId
-
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Field Detail
-
ATTR_ACTIVE
public static final String ATTR_ACTIVE
- See Also:
- Constant Field Values
-
ATTR_USER_PORTAL
public static final String ATTR_USER_PORTAL
- See Also:
- Constant Field Values
-
ATTR_TAGS
public static final String ATTR_TAGS
- See Also:
- Constant Field Values
-
COL_FLAG_ACTIVE
public static final String COL_FLAG_ACTIVE
- See Also:
- Constant Field Values
-
COL_PORTAL_ID
public static final String COL_PORTAL_ID
- See Also:
- Constant Field Values
-
COL_PROJECT_ID
public static final String COL_PROJECT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
isActive
public boolean isActive()
-
setActive
public void setActive(boolean active)
-
getProjekt
public Projekt getProjekt()
- Specified by:
getProjektin interfaceIProjektDependent
-
setProjekt
public void setProjekt(Projekt projekt)
- Specified by:
setProjektin interfaceIProjektDependent
-
getUserPortal
public UserPortal getUserPortal()
-
setUserPortal
public void setUserPortal(UserPortal userPortal)
-
getTags
public Set<ProjectPortalTag> getTags()
- Returns:
- A set of tags to be displayed to end users in the user portal.
-
setTags
public void setTags(Set<ProjectPortalTag> tags)
- Parameters:
tags- A set of tags to be displayed to end users in the user portal.
-
addTags
public void addTags(ProjectPortalTag... tags)
-
getTags
public List<ProjectPortalTag> getTags(Locale locale)
- Parameters:
locale- The locale to use for sorting the tags.- Returns:
- A list of all end user tags associated with this project ordered by their display name using the given locale.
-
-