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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringDeprecated.static final StringDeprecated.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class de.xima.fc.entities.AbstractMandantDependentEntity
mandantFields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, idFields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_IDFields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_IDFields 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 TypeMethodDescriptionvoidaddAuthentificatorConfig(ProjectAuthenticatorConfig authenticatorConfig) voidaddBenutzerGruppe(BenutzerGruppe benutzerGruppe) voidaddEditorBenutzerGruppe(BenutzerGruppe benutzerGruppe) voidaddFormVersion(FormVersion formVersion) voidaddMandantFrontendServer(MandantFrontendServer mandantfrontendserver) voidaddProjektRessource(ProjektRessource ressource) voidaddTag(ProjectTag tag) voidaddVisibilityUsergroup(BenutzerGruppe userGroup) voidaddWorkflowVersion(WorkflowVersion version) Adds the given workflow version and sets theWorkflowVersion.getProject()to this project.Deprecated.Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfiggetAlias()Deprecated.Deprecated.Deprecated.getId()@Length(max=1024) StringDeprecated.getName()getScope()getTags()getTitel()getUUID()booleanisAktiv()booleanGibt an, ob die Protokollierung bei der Verarbeitung des Prozesses 'Formular absenden' anonymisiert ablaufen sollbooleanbooleanisEditableBy(Benutzer user, List<BenutzerGruppe> usergroups) Deprecated.booleanbooleanbooleanisHidden()booleanisOnline()Deprecated.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisVisibleBy(Benutzer user, List<BenutzerGruppe> usergroups) Deprecated.Benutzer is deprecated.voidremoveAuthentificatorConfig(ProjectAuthenticatorConfig authenticatorConfigs) voidremoveBenutzerGruppen(BenutzerGruppe benutzerGruppe) voidremoveEditorBenutzerGruppen(BenutzerGruppe benutzerGruppe) voidremoveFormVersion(FormVersion formVersion) voidremoveMandantFrontendServer(MandantFrontendServer mandantfrontendserver) voidremoveProjektRessource(ProjektRessource ressource) voidremoveTag(ProjectTag tag) voidremoveVisibilityUserGroup(BenutzerGruppe userGroup) voidremoveWorkflowVersion(WorkflowVersion workflowVersion) voidsetAccessPassword(String accessPassword) Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfigvoidsetAccessPasswordV2(String accessPasswordV2) Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfigvoidsetActiveVersion(FormVersion activeVersion) voidsetActiveWorkflowVersion(WorkflowVersion activeWorkflowVersion) voidsetAktiv(boolean aktiv) voidvoidsetAnonymize(boolean anonymize) voidsetAuthenticatorConfigs(List<ProjectAuthenticatorConfig> authenticatorConfigs) voidsetBenamungsmodus(EBenamungsModus benamungsmodus) voidsetBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen) voidsetBeschreibung(String beschreibung) voidsetCustomAttributes(Map<String, String> customAttributes) voidsetDataTableName(String dataTableName) Deprecated.voidvoidsetDataTableTemplateString(String dataTableTemplateString) voidsetDatumErsterEingang(Date datumErsterEingang) voidsetDatumLetzterEingang(Date datumLetzterEingang) voidsetDatumVerfuegbarBis(Date datumVerfuegbarBis) voidsetDatumVerfuegbarVon(Date datumVerfuegbarVon) voidsetEditorBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen) voidsetEingangSynchron(boolean eingangSynchron) voidsetErstelltAm(Date erstelltAm) voidsetErstelltVon(String erstelltVon) voidsetFormVersions(List<FormVersion> formVersions) voidsetGruppenname(String gruppenname) voidsetHidden(boolean hidden) voidsetIdentityTokenTemplate(String identityTokenTemplate) Deprecated.voidsetLetzteAenderungAm(Date letzteAenderungAm) voidsetLetzteAenderungVon(String letzteAenderungVon) voidsetMandantFrontendServer(List<MandantFrontendServer> mandantfrontendserver) voidvoidsetOfflineModeProvide(EFormOfflineMode offlineModeProvide) voidsetOfflineModeReview(EFormOfflineMode offlineModeReview) voidsetPostfach(Postfach postfach) voidvoidsetPostfachTemplateString(String postfachTemplateString) voidsetProjektRessourcen(List<ProjektRessource> ressourcen) voidvoidsetShowChangeStatusBar(boolean showchangestatusbar) voidsetStatusNachWiedervorlage(Status statusNachWiedervorlage) voidsetSubject(String subject) voidsetTags(List<ProjectTag> tags) voidsetTemplate(boolean template) voidvoidsetUseKerberosAuthentication(boolean useKerberos) voidsetUseNtlmAuthentication(boolean useNtlm) voidsetUsePostfachTemplate(boolean usePostfachTemplate) voidvoidsetUUIDObject(UUID uuid) voidsetVisibilityUserGroups(List<BenutzerGruppe> userGroups) voidsetWorkflowVersions(List<WorkflowVersion> workflowVersions) Methods inherited from class de.xima.fc.entities.AbstractMandantDependentEntity
getMandant, setMandantMethods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
getDescriptionMethods 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:
getIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
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
- Specified by:
setUUIDin interfaceIUUIDEntity
-
getUUIDObject
- Specified by:
getUUIDObjectin interfaceIUUIDEntity
-
setUUIDObject
-
getAlias
-
setAlias
-
getName
- Specified by:
getNamein 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:
getBeschreibungin 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#getBenutzergruppenwhich 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 EnumEProjectSpecificDBTableentnommen werden -
getDeprecatedNTLMSetting
Deprecated. -
getDeprecatedKerberosSetting
Deprecated.
-
ProjectAuthenticatorConfig