Package de.xima.fc.entities
Class Projekt
- java.lang.Object
 - 
- de.xima.cmn.dao.model.AEntity<Long>
 
 
- 
- All Implemented Interfaces:
 de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,IDescriptionProviding,ILockingVersionProviding,IMandantDependent,INameProviding,ITransferable,ITransferableEntity,ITransferableLockableEntity,IUUIDEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class Projekt extends AbstractMandantDependentEntity implements INameProviding, IDescriptionProviding, IUUIDEntity
The entityProjektcontains the core functionality of the system. A project is always associated to oneMandant(client) and contains multiple versions of a form. The form may be instantiated and is then processed by the workflow as configured for this project. The permission setting are respected during workflow processing. Additionally, a project contains various kinds of meta data associated with the form.- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
- 
Fields inherited from class de.xima.fc.entities.AbstractMandantDependentEntity
mandant 
- 
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.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION 
- 
Fields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_ID 
- 
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME 
- 
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID 
- 
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Projekt() 
- 
Method Summary
- 
Methods inherited from class de.xima.fc.entities.AbstractMandantDependentEntity
getMandant, setMandant 
- 
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 
- 
Methods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
getDescription 
 - 
 
 - 
 
- 
- 
Field Detail
- 
ATTR_DATUM_ERSTER_EINGANG
public static final String ATTR_DATUM_ERSTER_EINGANG
- See Also:
 - Constant Field Values
 
 
- 
ATTR_DATUM_LETZTER_EINGANG
public static final String ATTR_DATUM_LETZTER_EINGANG
- See Also:
 - Constant Field Values
 
 
- 
ATTR_DATUM_VERFUEGBAR_VON
public static final String ATTR_DATUM_VERFUEGBAR_VON
- See Also:
 - Constant Field Values
 
 
- 
ATTR_DATUM_VERFUEGBAR_BIS
public static final String ATTR_DATUM_VERFUEGBAR_BIS
- See Also:
 - Constant Field Values
 
 
- 
ATTR_AKTIV
public static final String ATTR_AKTIV
- See Also:
 - Constant Field Values
 
 
- 
ATTR_BENAMUNGSMODUS
public static final String ATTR_BENAMUNGSMODUS
- See Also:
 - Constant Field Values
 
 
- 
ATTR_FORM_VERSIONS
public static final String ATTR_FORM_VERSIONS
- See Also:
 - Constant Field Values
 
 
- 
ATTR_WORKFLOW_VERSIONS
public static final String ATTR_WORKFLOW_VERSIONS
- See Also:
 - Constant Field Values
 
 
- 
ATTR_ACTIVE_VERSION
public static final String ATTR_ACTIVE_VERSION
- See Also:
 - Constant Field Values
 
 
- 
ATTR_ACTIVE_WORKFLOW_VERSION
public static final String ATTR_ACTIVE_WORKFLOW_VERSION
- See Also:
 - Constant Field Values
 
 
- 
ATTR_ERSTELLT_AM
public static final String ATTR_ERSTELLT_AM
- See Also:
 - Constant Field Values
 
 
- 
ATTR_LETZTE_AENDERUNG_AM
public static final String ATTR_LETZTE_AENDERUNG_AM
- See Also:
 - Constant Field Values
 
 
- 
ATTR_ERSTELLT_VON
public static final String ATTR_ERSTELLT_VON
- See Also:
 - Constant Field Values
 
 
- 
ATTR_LETZTE_AENDERUNG_VON
public static final String ATTR_LETZTE_AENDERUNG_VON
- See Also:
 - Constant Field Values
 
 
- 
ATTR_POSTFACH
public static final String ATTR_POSTFACH
- See Also:
 - Constant Field Values
 
 
- 
ATTR_STATUSNACHWIEDERVORLAGE
public static final String ATTR_STATUSNACHWIEDERVORLAGE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_TITEL
public static final String ATTR_TITEL
- See Also:
 - Constant Field Values
 
 
- 
ATTR_SUBJECT
public static final String ATTR_SUBJECT
- See Also:
 - Constant Field Values
 
 
- 
ATTR_GRUPPENNAME
public static final String ATTR_GRUPPENNAME
- See Also:
 - Constant Field Values
 
 
- 
ATTR_TEMPLATE
public static final String ATTR_TEMPLATE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_HIDDEN
public static final String ATTR_HIDDEN
- See Also:
 - Constant Field Values
 
 
- 
ATTR_SCOPE
public static final String ATTR_SCOPE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_EDITORGRUPPEN
public static final String ATTR_EDITORGRUPPEN
- See Also:
 - Constant Field Values
 
 
- 
ATTR_BENUTZERGRUPPEN
public static final String ATTR_BENUTZERGRUPPEN
- See Also:
 - Constant Field Values
 
 
- 
ATTR_VISIBILITY_USERGROUPS
public static final String ATTR_VISIBILITY_USERGROUPS
- See Also:
 - Constant Field Values
 
 
- 
ATTR_POSTFACHTEMPLATE
public static final String ATTR_POSTFACHTEMPLATE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_USE_POSTFACHTEMPLATE
public static final String ATTR_USE_POSTFACHTEMPLATE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_RESSOURCEN
public static final String ATTR_RESSOURCEN
- See Also:
 - Constant Field Values
 
 
- 
ATTR_DATATABLE
public static final String ATTR_DATATABLE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_DATATABLE_TEMPLATE
public static final String ATTR_DATATABLE_TEMPLATE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_ANONYMISIEREN
public static final String ATTR_ANONYMISIEREN
- See Also:
 - Constant Field Values
 
 
- 
ATTR_IDENTITY_TOKEN_TEMPLATE
public static final String ATTR_IDENTITY_TOKEN_TEMPLATE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_CLIENT_FRONTEND_SERVER
public static final String ATTR_CLIENT_FRONTEND_SERVER
- See Also:
 - Constant Field Values
 
 
- 
ATTR_AUTHENTICATOR_CONFIGS
public static final String ATTR_AUTHENTICATOR_CONFIGS
- See Also:
 - Constant Field Values
 
 
- 
ATTR_TAGS
public static final String ATTR_TAGS
- See Also:
 - Constant Field Values
 
 
- 
ATTR_OFFLINE_MODE_PROVIDE
public static final String ATTR_OFFLINE_MODE_PROVIDE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_OFFLINE_MODE_REVIEW
public static final String ATTR_OFFLINE_MODE_REVIEW
- See Also:
 - Constant Field Values
 
 
- 
ATTR_USE_NTLM_AUTHENTICATION
@Deprecated public static final String ATTR_USE_NTLM_AUTHENTICATION
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
ATTR_USE_KERBEROS_AUTHENTICATION
@Deprecated public static final String ATTR_USE_KERBEROS_AUTHENTICATION
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
COL_UUID
public static final String COL_UUID
- See Also:
 - Constant Field Values
 
 
- 
COL_OFFLINE_MODE_PROVIDE
public static final String COL_OFFLINE_MODE_PROVIDE
- See Also:
 - Constant Field Values
 
 
- 
COL_OFFLINE_MODE_REVIEW
public static final String COL_OFFLINE_MODE_REVIEW
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getUUID
public String getUUID()
- Specified by:
 getUUIDin interfaceIUUIDEntity- Returns:
 - UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a context,
 e.g. 
Mandant,Projekt, ... 
 
- 
setUUID
public void setUUID(String uuid)
- Specified by:
 setUUIDin interfaceIUUIDEntity
 
- 
getUUIDObject
public UUID getUUIDObject()
- Specified by:
 getUUIDObjectin interfaceIUUIDEntity
 
- 
setUUIDObject
public void setUUIDObject(UUID uuid)
 
- 
getAlias
public String getAlias()
 
- 
setAlias
public void setAlias(String name)
 
- 
getName
public String getName()
- Specified by:
 getNamein interfaceINameProviding- Returns:
 - The name of this object.
 
 
- 
setName
public void setName(String name)
 
- 
getGruppenname
public String getGruppenname()
 
- 
setGruppenname
public void setGruppenname(String gruppenname)
 
- 
getDisplayGroupname
public String getDisplayGroupname()
 
- 
getActiveVersion
public FormVersion getActiveVersion()
 
- 
setActiveVersion
public void setActiveVersion(FormVersion activeVersion)
 
- 
getActiveWorkflowVersion
public WorkflowVersion getActiveWorkflowVersion()
- Returns:
 - The workflow version that is currently active, i.e. the version that is used when the workflow is executed.
 
 
- 
setActiveWorkflowVersion
public void setActiveWorkflowVersion(WorkflowVersion activeWorkflowVersion)
- Parameters:
 activeWorkflowVersion- The workflow version that is currently active, i.e. the version that is used when the workflow is executed.
 
- 
getBeschreibung
public String getBeschreibung()
- Specified by:
 getBeschreibungin interfaceIDescriptionProviding
 
- 
setBeschreibung
public void setBeschreibung(String beschreibung)
 
- 
getDatumErsterEingang
public Date getDatumErsterEingang()
 
- 
setDatumErsterEingang
public void setDatumErsterEingang(Date datumErsterEingang)
 
- 
getDatumLetzterEingang
public Date getDatumLetzterEingang()
 
- 
setDatumLetzterEingang
public void setDatumLetzterEingang(Date datumLetzterEingang)
 
- 
getIdentityTokenTemplate
@Deprecated @Length(max=1024) public @Length(max=1024) String getIdentityTokenTemplate()
Deprecated.- Returns:
 - The template for generating an identity token.
 
 
- 
setIdentityTokenTemplate
@Deprecated public void setIdentityTokenTemplate(String identityTokenTemplate)
Deprecated.- Parameters:
 identityTokenTemplate- The template for generating an identity token..
 
- 
getDatumVerfuegbarVon
public Date getDatumVerfuegbarVon()
 
- 
setDatumVerfuegbarVon
public void setDatumVerfuegbarVon(Date datumVerfuegbarVon)
 
- 
getDatumVerfuegbarBis
public Date getDatumVerfuegbarBis()
 
- 
setDatumVerfuegbarBis
public void setDatumVerfuegbarBis(Date datumVerfuegbarBis)
 
- 
getTags
public List<ProjectTag> getTags()
- Returns:
 - A list of user-defined tags that can be used, for example, to search for projects.
 
 
- 
setTags
public void setTags(List<ProjectTag> tags)
- Parameters:
 tags- A list of user-defined tags that can be used, for example, to search for projects.
 
- 
addTag
public void addTag(ProjectTag tag)
 
- 
removeTag
public void removeTag(ProjectTag tag)
 
- 
isAktiv
public boolean isAktiv()
 
- 
setAktiv
public void setAktiv(boolean aktiv)
 
- 
getErstelltAm
public Date getErstelltAm()
 
- 
setErstelltAm
public void setErstelltAm(Date erstelltAm)
 
- 
getLetzteAenderungAm
public Date getLetzteAenderungAm()
 
- 
setLetzteAenderungAm
public void setLetzteAenderungAm(Date letzteAenderungAm)
 
- 
getErstelltVon
public String getErstelltVon()
 
- 
setErstelltVon
public void setErstelltVon(String erstelltVon)
 
- 
getLetzteAenderungVon
public String getLetzteAenderungVon()
 
- 
setLetzteAenderungVon
public void setLetzteAenderungVon(String letzteAenderungVon)
 
- 
getTitel
public String getTitel()
 
- 
setTitel
public void setTitel(String titel)
 
- 
getAccessPassword
@Deprecated public String getAccessPassword()
Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig 
- 
getAccessPasswordV2
@Deprecated public String getAccessPasswordV2()
Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig 
- 
setAccessPassword
@Deprecated public void setAccessPassword(String accessPassword)
Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig 
- 
setAccessPasswordV2
@Deprecated public void setAccessPasswordV2(String accessPasswordV2)
Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig 
- 
getSubject
public String getSubject()
 
- 
setSubject
public void setSubject(String subject)
 
- 
getScope
public String getScope()
 
- 
setScope
public void setScope(String scope)
 
- 
isCustomScope
public boolean isCustomScope()
 
- 
getFormVersions
public List<FormVersion> getFormVersions()
 
- 
setFormVersions
public void setFormVersions(List<FormVersion> formVersions)
 
- 
getWorkflowVersions
public List<WorkflowVersion> getWorkflowVersions()
- Returns:
 - A list of all workflow versions defined for this project.
 
 
- 
addWorkflowVersion
public void addWorkflowVersion(WorkflowVersion version)
Adds the given workflow version and sets theWorkflowVersion.getProject()to this project.- Parameters:
 version- Workflow version to add.
 
- 
setWorkflowVersions
public void setWorkflowVersions(List<WorkflowVersion> workflowVersions)
- Parameters:
 workflowVersions- A list of all workflows defined for this project.
 
- 
addFormVersion
public void addFormVersion(FormVersion formVersion)
 
- 
removeFormVersion
public void removeFormVersion(FormVersion formVersion)
 
- 
removeWorkflowVersion
public void removeWorkflowVersion(WorkflowVersion workflowVersion)
 
- 
getBenamungsmodus
public EBenamungsModus getBenamungsmodus()
 
- 
setBenamungsmodus
public void setBenamungsmodus(EBenamungsModus benamungsmodus)
 
- 
getBenutzerGruppen
public List<BenutzerGruppe> getBenutzerGruppen()
 
- 
setBenutzerGruppen
public void setBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
 
- 
addBenutzerGruppe
public void addBenutzerGruppe(BenutzerGruppe benutzerGruppe)
 
- 
removeBenutzerGruppen
public void removeBenutzerGruppen(BenutzerGruppe benutzerGruppe)
 
- 
getEditorBenutzerGruppen
public List<BenutzerGruppe> getEditorBenutzerGruppen()
 
- 
setEditorBenutzerGruppen
public void setEditorBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
 
- 
addEditorBenutzerGruppe
public void addEditorBenutzerGruppe(BenutzerGruppe benutzerGruppe)
 
- 
removeEditorBenutzerGruppen
public void removeEditorBenutzerGruppen(BenutzerGruppe benutzerGruppe)
 
- 
getVisibilityUserGroups
public List<BenutzerGruppe> getVisibilityUserGroups()
 
- 
setVisibilityUserGroups
public void setVisibilityUserGroups(List<BenutzerGruppe> userGroups)
 
- 
addVisibilityUsergroup
public void addVisibilityUsergroup(BenutzerGruppe userGroup)
 
- 
removeVisibilityUserGroup
public void removeVisibilityUserGroup(BenutzerGruppe userGroup)
 
- 
getMandantFrontendServer
public List<MandantFrontendServer> getMandantFrontendServer()
 
- 
setMandantFrontendServer
public void setMandantFrontendServer(List<MandantFrontendServer> mandantfrontendserver)
 
- 
addMandantFrontendServer
public void addMandantFrontendServer(MandantFrontendServer mandantfrontendserver)
 
- 
removeMandantFrontendServer
public void removeMandantFrontendServer(MandantFrontendServer mandantfrontendserver)
 
- 
getPostfach
public Postfach getPostfach()
 
- 
setPostfach
public void setPostfach(Postfach postfach)
 
- 
getStatusNachWiedervorlage
public Status getStatusNachWiedervorlage()
 
- 
setStatusNachWiedervorlage
public void setStatusNachWiedervorlage(Status statusNachWiedervorlage)
 
- 
isEingangSynchron
public boolean isEingangSynchron()
 
- 
isTemplate
public boolean isTemplate()
 
- 
setTemplate
public void setTemplate(boolean template)
 
- 
isHidden
public boolean isHidden()
 
- 
setHidden
public void setHidden(boolean hidden)
 
- 
isUsesNewWorkflow
public boolean isUsesNewWorkflow()
 
- 
setEingangSynchron
public void setEingangSynchron(boolean eingangSynchron)
 
- 
getPostfachTemplateString
public String getPostfachTemplateString()
 
- 
setPostfachTemplateString
public void setPostfachTemplateString(String postfachTemplateString)
 
- 
getPostfachTemplate
public PostfachTemplate getPostfachTemplate()
 
- 
setPostfachTemplate
public void setPostfachTemplate(PostfachTemplate pft)
 
- 
isUsePostfachTemplate
public boolean isUsePostfachTemplate()
 
- 
setUsePostfachTemplate
public void setUsePostfachTemplate(boolean usePostfachTemplate)
 
- 
getDataTableTemplateString
public String getDataTableTemplateString()
 
- 
setDataTableTemplateString
public void setDataTableTemplateString(String dataTableTemplateString)
 
- 
getDataTableTemplate
public DataTableTemplate getDataTableTemplate()
 
- 
setDataTableTemplate
public void setDataTableTemplate(DataTableTemplate dt)
 
- 
isShowChangeStatusBar
public boolean isShowChangeStatusBar()
 
- 
setShowChangeStatusBar
public void setShowChangeStatusBar(boolean showchangestatusbar)
 
- 
isFormAuthorizationRequired
public boolean isFormAuthorizationRequired()
 
- 
isProvideFormAuthentication
public boolean isProvideFormAuthentication()
 
- 
isProvidePasswordAuthentication
public boolean isProvidePasswordAuthentication()
 
- 
isProvideAnonmyousAuthentication
public boolean isProvideAnonmyousAuthentication()
 
- 
isUseNtlmAuthentication
public boolean isUseNtlmAuthentication()
 
- 
setUseNtlmAuthentication
public void setUseNtlmAuthentication(boolean useNtlm)
 
- 
isUseKerberosAuthentication
public boolean isUseKerberosAuthentication()
 
- 
setUseKerberosAuthentication
public void setUseKerberosAuthentication(boolean useKerberos)
 
- 
getProjektRessourcen
public List<ProjektRessource> getProjektRessourcen()
 
- 
setProjektRessourcen
public void setProjektRessourcen(List<ProjektRessource> ressourcen)
 
- 
addProjektRessource
public void addProjektRessource(ProjektRessource ressource)
 
- 
removeProjektRessource
public void removeProjektRessource(ProjektRessource ressource)
 
- 
getAuthenticatorConfigs
public List<ProjectAuthenticatorConfig> getAuthenticatorConfigs()
 
- 
setAuthenticatorConfigs
public void setAuthenticatorConfigs(List<ProjectAuthenticatorConfig> authenticatorConfigs)
 
- 
addAuthentificatorConfig
public void addAuthentificatorConfig(ProjectAuthenticatorConfig authenticatorConfig)
 
- 
removeAuthentificatorConfig
public void removeAuthentificatorConfig(ProjectAuthenticatorConfig authenticatorConfigs)
 
- 
isAnonymize
public boolean isAnonymize()
Gibt an, ob die Protokollierung bei der Verarbeitung des Prozesses 'Formular absenden' anonymisiert ablaufen soll- Returns:
 - the anonymize
 
 
- 
setAnonymize
public void setAnonymize(boolean anonymize)
 
- 
getUrlToForm
public String getUrlToForm()
 
- 
getUrlToProvide
public String getUrlToProvide()
 
- 
getOfflineModeProvide
public EFormOfflineMode getOfflineModeProvide()
- Returns:
 - Whether a form record belonging to a form that is offline can be opened via the provide link.
 
 
- 
setOfflineModeProvide
public void setOfflineModeProvide(EFormOfflineMode offlineModeProvide)
- Parameters:
 offlineModeProvide- Whether a form record belonging to a form that is offline can be opened via the provide link.
 
- 
getOfflineModeReview
public EFormOfflineMode getOfflineModeReview()
- Returns:
 - Whether a form record belonging to a form that is offline can be submitted when opened via the provide link.
 
 
- 
setOfflineModeReview
public void setOfflineModeReview(EFormOfflineMode offlineModeReview)
- Parameters:
 offlineModeReview- Whether a form record belonging to a form that is offline can be submitted when opened via the provide link.
 
- 
isOnline
@Deprecated public boolean isOnline()
Deprecated.- Returns:
 - Whether the project is currently online.
 
 
- 
isEditableBy
@Deprecated public boolean isEditableBy(Benutzer user, List<BenutzerGruppe> usergroups)
Deprecated.UseIProjektDao#isEditingAllowed. This method may fail when this entity is detached from the session.- Parameters:
 user- User to check.usergroups- User groups of the user. Do not simply callBenutzer.getBenutzerGruppen(), useIBenutzerDao#getBenutzergruppenwhich handles virtual users correctly.- Returns:
 - Whether the user with the user groups is allowed to edit this project.
 
 
- 
isVisibleBy
public boolean isVisibleBy(Benutzer user, List<BenutzerGruppe> usergroups)
 
- 
cloneBasics
public Projekt cloneBasics()
 
- 
getDataTableName
@Deprecated public String getDataTableName()
Deprecated. 
- 
setDataTableName
@Deprecated public void setDataTableName(String dataTableName)
Deprecated.TODO: wird momentan nicht gebraucht Zeitnah aus Entität entfernen? Der projektspezifische Tabellenname muss aus dem EnumEProjectSpecificDBTableentnommen werden 
- 
getDeprecatedNTLMSetting
@Deprecated public Boolean getDeprecatedNTLMSetting()
Deprecated. 
- 
getDeprecatedKerberosSetting
@Deprecated public Boolean getDeprecatedKerberosSetting()
Deprecated. 
 - 
 
 -