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 String
ATTR_ACTIVE
static String
ATTR_TAGS
static String
ATTR_USER_PORTAL
static String
COL_FLAG_ACTIVE
static String
COL_PORTAL_ID
static String
COL_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 void
addTags(ProjectPortalTag... tags)
Long
getId()
Projekt
getProjekt()
Set<ProjectPortalTag>
getTags()
List<ProjectPortalTag>
getTags(Locale locale)
UserPortal
getUserPortal()
boolean
isActive()
void
setActive(boolean active)
void
setProjekt(Projekt projekt)
void
setTags(Set<ProjectPortalTag> tags)
void
setUserPortal(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:
getProjekt
in interfaceIProjektDependent
-
setProjekt
public void setProjekt(Projekt projekt)
- Specified by:
setProjekt
in 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.
-
-