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 entity
Projekt
contains the core functionality of the system. A project is always associated to one
Mandant
(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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Deprecated.static final String
Deprecated.static final String
static final String
static final String
static final String
static final String
static final String
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.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuthentificatorConfig
(ProjectAuthenticatorConfig authenticatorConfig) void
addBenutzerGruppe
(BenutzerGruppe benutzerGruppe) void
addEditorBenutzerGruppe
(BenutzerGruppe benutzerGruppe) void
addFormVersion
(FormVersion formVersion) void
addMandantFrontendServer
(MandantFrontendServer mandantfrontendserver) void
addProjektRessource
(ProjektRessource ressource) void
addTag
(ProjectTag tag) void
addVisibilityUsergroup
(BenutzerGruppe userGroup) void
addWorkflowVersion
(WorkflowVersion version) Adds the given workflow version and sets theWorkflowVersion.getProject()
to this project.Deprecated.Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig
getAlias()
Deprecated.Deprecated.Deprecated.getId()
@Length(max=1024) String
Deprecated.getName()
getScope()
getTags()
getTitel()
getUUID()
boolean
isAktiv()
boolean
Gibt an, ob die Protokollierung bei der Verarbeitung des Prozesses 'Formular absenden' anonymisiert ablaufen sollboolean
boolean
isEditableBy
(Benutzer user, List<BenutzerGruppe> usergroups) Deprecated.boolean
boolean
boolean
isHidden()
boolean
isOnline()
Deprecated.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isVisibleBy
(Benutzer user, List<BenutzerGruppe> usergroups) Deprecated.Benutzer is deprecated.void
removeAuthentificatorConfig
(ProjectAuthenticatorConfig authenticatorConfigs) void
removeBenutzerGruppen
(BenutzerGruppe benutzerGruppe) void
removeEditorBenutzerGruppen
(BenutzerGruppe benutzerGruppe) void
removeFormVersion
(FormVersion formVersion) void
removeMandantFrontendServer
(MandantFrontendServer mandantfrontendserver) void
removeProjektRessource
(ProjektRessource ressource) void
removeTag
(ProjectTag tag) void
removeVisibilityUserGroup
(BenutzerGruppe userGroup) void
removeWorkflowVersion
(WorkflowVersion workflowVersion) void
setAccessPassword
(String accessPassword) Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig
void
setAccessPasswordV2
(String accessPasswordV2) Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig
void
setActiveVersion
(FormVersion activeVersion) void
setActiveWorkflowVersion
(WorkflowVersion activeWorkflowVersion) void
setAktiv
(boolean aktiv) void
void
setAnonymize
(boolean anonymize) void
setAuthenticatorConfigs
(List<ProjectAuthenticatorConfig> authenticatorConfigs) void
setBenamungsmodus
(EBenamungsModus benamungsmodus) void
setBenutzerGruppen
(List<BenutzerGruppe> benutzerGruppen) void
setBeschreibung
(String beschreibung) void
setCustomAttributes
(Map<String, String> customAttributes) void
setDataTableName
(String dataTableName) Deprecated.void
void
setDataTableTemplateString
(String dataTableTemplateString) void
setDatumErsterEingang
(Date datumErsterEingang) void
setDatumLetzterEingang
(Date datumLetzterEingang) void
setDatumVerfuegbarBis
(Date datumVerfuegbarBis) void
setDatumVerfuegbarVon
(Date datumVerfuegbarVon) void
setEditorBenutzerGruppen
(List<BenutzerGruppe> benutzerGruppen) void
setEingangSynchron
(boolean eingangSynchron) void
setErstelltAm
(Date erstelltAm) void
setErstelltVon
(String erstelltVon) void
setFormVersions
(List<FormVersion> formVersions) void
setGruppenname
(String gruppenname) void
setHidden
(boolean hidden) void
setIdentityTokenTemplate
(String identityTokenTemplate) Deprecated.void
setLetzteAenderungAm
(Date letzteAenderungAm) void
setLetzteAenderungVon
(String letzteAenderungVon) void
setMandantFrontendServer
(List<MandantFrontendServer> mandantfrontendserver) void
void
setOfflineModeProvide
(EFormOfflineMode offlineModeProvide) void
setOfflineModeReview
(EFormOfflineMode offlineModeReview) void
setPostfach
(Postfach postfach) void
void
setPostfachTemplateString
(String postfachTemplateString) void
setProjektRessourcen
(List<ProjektRessource> ressourcen) void
void
setShowChangeStatusBar
(boolean showchangestatusbar) void
setStatusNachWiedervorlage
(Status statusNachWiedervorlage) void
setSubject
(String subject) void
setTags
(List<ProjectTag> tags) void
setTemplate
(boolean template) void
void
setUseKerberosAuthentication
(boolean useKerberos) void
setUseNtlmAuthentication
(boolean useNtlm) void
setUsePostfachTemplate
(boolean usePostfachTemplate) void
void
setUUIDObject
(UUID uuid) void
setVisibilityUserGroups
(List<BenutzerGruppe> userGroups) void
setWorkflowVersions
(List<WorkflowVersion> workflowVersions) 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
Methods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setId
-
Field Details
-
ATTR_DATUM_ERSTER_EINGANG
- See Also:
-
ATTR_DATUM_LETZTER_EINGANG
- See Also:
-
ATTR_DATUM_VERFUEGBAR_VON
- See Also:
-
ATTR_DATUM_VERFUEGBAR_BIS
- See Also:
-
ATTR_AKTIV
- See Also:
-
ATTR_BENAMUNGSMODUS
- See Also:
-
ATTR_FORM_VERSIONS
- See Also:
-
ATTR_WORKFLOW_VERSIONS
- See Also:
-
ATTR_ACTIVE_VERSION
- See Also:
-
ATTR_ACTIVE_WORKFLOW_VERSION
- See Also:
-
ATTR_ERSTELLT_AM
- See Also:
-
ATTR_LETZTE_AENDERUNG_AM
- See Also:
-
ATTR_ERSTELLT_VON
- See Also:
-
ATTR_LETZTE_AENDERUNG_VON
- See Also:
-
ATTR_POSTFACH
- See Also:
-
ATTR_STATUSNACHWIEDERVORLAGE
- See Also:
-
ATTR_TITEL
- See Also:
-
ATTR_SUBJECT
- See Also:
-
ATTR_GRUPPENNAME
- See Also:
-
ATTR_TEMPLATE
- See Also:
-
ATTR_HIDDEN
- See Also:
-
ATTR_SCOPE
- See Also:
-
ATTR_EDITORGRUPPEN
- See Also:
-
ATTR_BENUTZERGRUPPEN
- See Also:
-
ATTR_VISIBILITY_USERGROUPS
- See Also:
-
ATTR_POSTFACHTEMPLATE
- See Also:
-
ATTR_USE_POSTFACHTEMPLATE
- See Also:
-
ATTR_RESSOURCEN
- See Also:
-
ATTR_DATATABLE
- See Also:
-
ATTR_DATATABLE_TEMPLATE
- See Also:
-
ATTR_ANONYMISIEREN
- See Also:
-
ATTR_IDENTITY_TOKEN_TEMPLATE
- See Also:
-
ATTR_CLIENT_FRONTEND_SERVER
- See Also:
-
ATTR_AUTHENTICATOR_CONFIGS
- See Also:
-
ATTR_TAGS
- See Also:
-
ATTR_OFFLINE_MODE_PROVIDE
- See Also:
-
ATTR_OFFLINE_MODE_REVIEW
- See Also:
-
ATTR_USE_NTLM_AUTHENTICATION
Deprecated.- See Also:
-
ATTR_USE_KERBEROS_AUTHENTICATION
Deprecated.- See Also:
-
COL_UUID
- See Also:
-
COL_OFFLINE_MODE_PROVIDE
- See Also:
-
COL_OFFLINE_MODE_REVIEW
- See Also:
-
-
Constructor Details
-
Projekt
public Projekt()
-
-
Method Details
-
getId
- Specified by:
getId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
getUUID
- Specified by:
getUUID
in interfaceIUUIDEntity
- Returns:
- UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a
context, e.g.
Mandant
,Projekt
, ...
-
setUUID
- Specified by:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
-
getAlias
-
setAlias
-
getName
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
setName
-
getGruppenname
-
setGruppenname
-
getDisplayGroupname
-
getActiveVersion
-
setActiveVersion
-
getActiveWorkflowVersion
- Returns:
- The workflow version that is currently active, i.e. the version that is used when the workflow is executed.
-
setActiveWorkflowVersion
- Parameters:
activeWorkflowVersion
- The workflow version that is currently active, i.e. the version that is used when the workflow is executed.
-
getBeschreibung
- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
-
getDatumErsterEingang
-
setDatumErsterEingang
-
getDatumLetzterEingang
-
setDatumLetzterEingang
-
getIdentityTokenTemplate
Deprecated.- Returns:
- The template for generating an identity token.
-
setIdentityTokenTemplate
Deprecated.- Parameters:
identityTokenTemplate
- The template for generating an identity token..
-
getDatumVerfuegbarVon
-
setDatumVerfuegbarVon
-
getDatumVerfuegbarBis
-
setDatumVerfuegbarBis
-
getTags
- Returns:
- A list of user-defined tags that can be used, for example, to search for projects.
-
setTags
- Parameters:
tags
- A list of user-defined tags that can be used, for example, to search for projects.
-
addTag
-
removeTag
-
isAktiv
public boolean isAktiv() -
setAktiv
public void setAktiv(boolean aktiv) -
getErstelltAm
-
setErstelltAm
-
getLetzteAenderungAm
-
setLetzteAenderungAm
-
getErstelltVon
-
setErstelltVon
-
getLetzteAenderungVon
-
setLetzteAenderungVon
-
getTitel
-
setTitel
-
getAccessPassword
Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig
-
getAccessPasswordV2
Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig
-
setAccessPassword
Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig
-
setAccessPasswordV2
Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig
-
getSubject
-
setSubject
-
getScope
-
setScope
-
isCustomScope
public boolean isCustomScope() -
getFormVersions
-
setFormVersions
-
getWorkflowVersions
- Returns:
- A list of all workflow versions defined for this project.
-
addWorkflowVersion
Adds the given workflow version and sets theWorkflowVersion.getProject()
to this project.- Parameters:
version
- Workflow version to add.
-
setWorkflowVersions
- Parameters:
workflowVersions
- A list of all workflows defined for this project.
-
addFormVersion
-
removeFormVersion
-
removeWorkflowVersion
-
getBenamungsmodus
-
setBenamungsmodus
-
getBenutzerGruppen
-
setBenutzerGruppen
-
addBenutzerGruppe
-
removeBenutzerGruppen
-
getEditorBenutzerGruppen
-
setEditorBenutzerGruppen
-
addEditorBenutzerGruppe
-
removeEditorBenutzerGruppen
-
getVisibilityUserGroups
-
setVisibilityUserGroups
-
addVisibilityUsergroup
-
removeVisibilityUserGroup
-
getMandantFrontendServer
-
setMandantFrontendServer
-
addMandantFrontendServer
-
removeMandantFrontendServer
-
getPostfach
-
setPostfach
-
getStatusNachWiedervorlage
-
setStatusNachWiedervorlage
-
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
-
setPostfachTemplateString
-
getPostfachTemplate
-
setPostfachTemplate
-
isUsePostfachTemplate
public boolean isUsePostfachTemplate() -
setUsePostfachTemplate
public void setUsePostfachTemplate(boolean usePostfachTemplate) -
getDataTableTemplateString
-
setDataTableTemplateString
-
getDataTableTemplate
-
setDataTableTemplate
-
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
-
setProjektRessourcen
-
addProjektRessource
-
removeProjektRessource
-
getAuthenticatorConfigs
-
setAuthenticatorConfigs
-
addAuthentificatorConfig
-
removeAuthentificatorConfig
-
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) -
getCustomAttributes
-
setCustomAttributes
-
getUrlToForm
-
getUrlToProvide
-
getOfflineModeProvide
- Returns:
- Whether a form record belonging to a form that is offline can be opened via the provide link.
-
setOfflineModeProvide
- Parameters:
offlineModeProvide
- Whether a form record belonging to a form that is offline can be opened via the provide link.
-
getOfflineModeReview
- Returns:
- Whether a form record belonging to a form that is offline can be submitted when opened via the provide link.
-
setOfflineModeReview
- Parameters:
offlineModeReview
- Whether a form record belonging to a form that is offline can be submitted when opened via the provide link.
-
isOnline
Deprecated.- Returns:
- Whether the project is currently online.
-
isEditableBy
Deprecated.- Parameters:
user
- User to check.usergroups
- User groups of the user. Do not simply callBenutzer.getBenutzerGruppen()
, useIBenutzerDao#getBenutzergruppen
which handles virtual users correctly.- Returns:
- Whether the user with the user groups is allowed to edit this project.
-
isVisibleBy
Deprecated.Benutzer is deprecated. UseUserMgmtUtils.canViewProject(de.xima.fc.interfaces.user.IUser, Projekt)
instead. -
cloneBasics
-
getDataTableName
Deprecated. -
setDataTableName
Deprecated.TODO: wird momentan nicht gebraucht Zeitnah aus Entität entfernen? Der projektspezifische Tabellenname muss aus dem EnumEProjectSpecificDBTable
entnommen werden -
getDeprecatedNTLMSetting
Deprecated. -
getDeprecatedKerberosSetting
Deprecated.
-
ProjectAuthenticatorConfig