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>
,ILocalizedScopedFilesProviding<Projekt,ProjectFile,ProjectFileData>
,ILocalizationProviding<Projekt,ProjectLocalization>
,ICustomAttributeProviding
,ICustomAttributesEntity
,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, ICustomAttributesEntity, ILocalizationProviding<Projekt,ProjectLocalization>, ILocalizedScopedFilesProviding<Projekt,ProjectFile,ProjectFileData>
The entityProjekt
contains 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.ICustomAttributesEntity
ATTR_CUSTOM_ATTRIBUTES, COL_CUSTOM_ATTRIBUTE_NAME, COL_CUSTOM_ATTRIBUTE_VALUE
-
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_CLIENT, 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, NULLABLE_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.ICustomAttributeProviding
getCustomAttribute, getCustomAttributeAs, getCustomAttributeAs, getCustomAttributeBoolean, getCustomAttributeDouble, getCustomAttributeDouble, getCustomAttributeEnum, getCustomAttributeEnum, getCustomAttributeInt, getCustomAttributeInt, getCustomAttributeJsonArray, getCustomAttributeJsonObject, getCustomAttributeLong, getCustomAttributeLong, getCustomAttributeString, getCustomAttributeString, getCustomAttributeUuid
-
Methods inherited from interface de.xima.fc.entities.interfaces.ICustomAttributesEntity
removeCustomAttribute, setCustomAttribute, setCustomAttributeBoolean, setCustomAttributeDouble, setCustomAttributeEnum, setCustomAttributeInt, setCustomAttributeJSONArray, setCustomAttributeJSONObject, setCustomAttributeLong, setCustomAttributeString, setCustomAttributeUuid
-
Methods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
getDescription
-
Methods inherited from interface de.xima.fc.entities.interfaces.i18n.ILocalizationProviding
getKeys, getLocales, getLocalization, getLocalizationData, setLocalization
-
Methods inherited from interface de.xima.fc.entities.interfaces.file.i18n.ILocalizedScopedFilesProviding
addFile, getFile, getFileData, getFileKeys, getFileLocales, removeFile
-
-
-
-
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_LOCALIZATIONS
public static final String ATTR_LOCALIZATIONS
- See Also:
- Constant Field Values
-
ATTR_FILES
public static final String ATTR_FILES
- See Also:
- Constant Field Values
-
ATTR_DEFAULT_LOCALE
public static final String ATTR_DEFAULT_LOCALE
- 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_FORM_RECORD_DATA_HISTORY_ENABLED
public static final String ATTR_FORM_RECORD_DATA_HISTORY_ENABLED
- See Also:
- Constant Field Values
-
ATTR_PROJECT_PORTAL_CONFIGS
public static final String ATTR_PROJECT_PORTAL_CONFIGS
- See Also:
- Constant Field Values
-
ATTR_DEFAULT_USER_PORTAL
public static final String ATTR_DEFAULT_USER_PORTAL
- 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_DEFAULT_USER_PORTAL
public static final String COL_DEFAULT_USER_PORTAL
- See Also:
- Constant Field Values
-
COL_OFFLINE_MODE_REVIEW
public static final String COL_OFFLINE_MODE_REVIEW
- See Also:
- Constant Field Values
-
COL_FLAG_RECORD_DATA_HISTORY
public static final String COL_FLAG_RECORD_DATA_HISTORY
- See Also:
- Constant Field Values
-
COL_DEFAULT_LOCALE
public static final String COL_DEFAULT_LOCALE
- See Also:
- Constant Field Values
-
FORM_RECORD_MESSAGE_EXTENSION_DATA_SUFFIX
public static final String FORM_RECORD_MESSAGE_EXTENSION_DATA_SUFFIX
- See Also:
- Constant Field Values
-
COL_SUBJECT_TEMPLATE
public static final String COL_SUBJECT_TEMPLATE
- See Also:
- Constant Field Values
-
COL_END_USER_SUBJECT_TEMPLATE
public static final String COL_END_USER_SUBJECT_TEMPLATE
- See Also:
- Constant Field Values
-
COL_END_USER_DETAILS_TEMPLATE
public static final String COL_END_USER_DETAILS_TEMPLATE
- See Also:
- Constant Field Values
-
CUSTOM_ATTR_SEND_MESSAGE_MAIL
public static final String CUSTOM_ATTR_SEND_MESSAGE_MAIL
- See Also:
- Constant Field Values
-
CUSTOM_ATTR_SEND_MESSAGE_MAIL_AS_INFO
public static final String CUSTOM_ATTR_SEND_MESSAGE_MAIL_AS_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUUID
public String getUUID()
Description copied from interface:IUUIDEntity
Gets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopes
orproject scope
.- Specified by:
getUUID
in interfaceIUUIDEntity
- Returns:
- The UUID of the entity.
-
setUUID
public void setUUID(String uuid)
Description copied from interface:IUUIDEntity
Sets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopes
orproject scope
.- Specified by:
setUUID
in interfaceIUUIDEntity
- Parameters:
uuid
- The UUID of the entity.
-
getUUIDObject
public UUID getUUIDObject()
Description copied from interface:IUUIDEntity
Gets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopes
orproject scope
.- Specified by:
getUUIDObject
in interfaceIUUIDEntity
- Returns:
- The UUID of the entity.
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
getAlias
public String getAlias()
-
setAlias
public void setAlias(String name)
-
getName
public String getName()
- Specified by:
getName
in 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:
getBeschreibung
in 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.
-
getPortalTags
public List<ProjectPortalTag> getPortalTags(UUID userPortalUuid, 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.
-
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
-
setAccessPassword
@Deprecated public void setAccessPassword(String accessPassword)
Deprecated.the access password is saved within the appropriateProjectAuthenticatorConfig
-
getAccessPasswordV2
@Deprecated public String getAccessPasswordV2()
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)
-
getEndUserSubject
public String getEndUserSubject()
-
setEndUserSubject
public void setEndUserSubject(String endUserSubject)
-
getEndUserDetails
public String getEndUserDetails()
-
setEndUserDetails
public void setEndUserDetails(String endUserDetails)
-
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.
-
setWorkflowVersions
public void setWorkflowVersions(List<WorkflowVersion> workflowVersions)
- Parameters:
workflowVersions
- A list of all workflows defined for this project.
-
getBenamungsmodus
public EBenamungsModus getBenamungsmodus()
-
setBenamungsmodus
public void setBenamungsmodus(EBenamungsModus benamungsmodus)
-
getBenutzerGruppen
public List<BenutzerGruppe> getBenutzerGruppen()
-
setBenutzerGruppen
public void setBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
-
getEditorBenutzerGruppen
public List<BenutzerGruppe> getEditorBenutzerGruppen()
-
setEditorBenutzerGruppen
public void setEditorBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
-
getVisibilityUserGroups
public List<BenutzerGruppe> getVisibilityUserGroups()
-
setVisibilityUserGroups
public void setVisibilityUserGroups(List<BenutzerGruppe> userGroups)
-
getMandantFrontendServer
public List<MandantFrontendServer> getMandantFrontendServer()
-
setMandantFrontendServer
public void setMandantFrontendServer(List<MandantFrontendServer> mandantfrontendserver)
-
getPostfach
public Postfach getPostfach()
-
setPostfach
public void setPostfach(Postfach postfach)
-
getStatusNachWiedervorlage
@Deprecated public Status getStatusNachWiedervorlage()
Deprecated.
-
setStatusNachWiedervorlage
@Deprecated public void setStatusNachWiedervorlage(Status statusNachWiedervorlage)
Deprecated.
-
isEingangSynchron
public boolean isEingangSynchron()
-
setEingangSynchron
public void setEingangSynchron(boolean eingangSynchron)
-
isTemplate
public boolean isTemplate()
-
setTemplate
public void setTemplate(boolean template)
-
isHidden
public boolean isHidden()
-
setHidden
public void setHidden(boolean hidden)
-
isUsesNewWorkflow
public boolean isUsesNewWorkflow()
-
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
@Deprecated public boolean isUseNtlmAuthentication()
Deprecated.
-
setUseNtlmAuthentication
@Deprecated public void setUseNtlmAuthentication(boolean useNtlm)
Deprecated.
-
isUseKerberosAuthentication
public boolean isUseKerberosAuthentication()
-
setUseKerberosAuthentication
public void setUseKerberosAuthentication(boolean useKerberos)
-
getProjektRessourcen
public List<ProjektRessource> getProjektRessourcen()
-
setProjektRessourcen
public void setProjektRessourcen(List<ProjektRessource> ressourcen)
-
getAuthenticatorConfigs
public List<ProjectAuthenticatorConfig> getAuthenticatorConfigs()
-
setAuthenticatorConfigs
public void setAuthenticatorConfigs(List<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)
-
getCustomAttributes
public Map<String,String> getCustomAttributes()
Description copied from interface:ICustomAttributeProviding
Gets the map of custom attributes that may be used to store additional information. The stored data depends on the type of the object.- Specified by:
getCustomAttributes
in interfaceICustomAttributeProviding
- Returns:
- The custom attributes.
-
setCustomAttributes
public void setCustomAttributes(Map<String,String> customAttributes)
Description copied from interface:ICustomAttributesEntity
Sets the map of custom attributes that may be used to store additional information. The stored data depends on the type of the object.- Specified by:
setCustomAttributes
in interfaceICustomAttributesEntity
- Parameters:
customAttributes
- The new custom attributes to set.
-
getMessageServiceExtensionProperties
public Map<String,String> getMessageServiceExtensionProperties()
Returns the configuration properties of plugin message services by the plugin message service name as a data key.- Returns:
- The configuration properties of plugin message services.
-
putMessageServiceExtensionProperties
public void putMessageServiceExtensionProperties(Map<String,String> serviceExtensionProperties)
Sets the configuration properties of plugin message services by the plugin message service name.- Parameters:
serviceExtensionProperties
- The configuration properties of plugin message services.
-
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.
-
getThumbnailImage
public ProjectFile getThumbnailImage(Locale locale)
Returns the file for the project thumbnail image for the given locale.- Parameters:
locale
- The locale to get the thumbnail image for.- Returns:
- The thumbnail image file for the given locale.
-
getLocalizations
public List<ProjectLocalization> getLocalizations()
Description copied from interface:ILocalizationProviding
Gets the localized database objects.- Specified by:
getLocalizations
in interfaceILocalizationProviding<Projekt,ProjectLocalization>
- Returns:
- the localized database objects
-
setLocalizations
public void setLocalizations(List<ProjectLocalization> localizations)
-
getLocalizationsDefaultLocale
public Locale getLocalizationsDefaultLocale()
Description copied from interface:ILocalizationProviding
Gets the default locale for this providing object.- Specified by:
getLocalizationsDefaultLocale
in interfaceILocalizationProviding<Projekt,ProjectLocalization>
- Returns:
- the default locale for this providing object
-
newLocalization
public ProjectLocalization newLocalization()
Description copied from interface:ILocalizationProviding
Creates a new localization object.- Specified by:
newLocalization
in interfaceILocalizationProviding<Projekt,ProjectLocalization>
- Returns:
- a new localization object
-
getDefaultLocale
public Locale getDefaultLocale()
-
setDefaultLocale
public void setDefaultLocale(Locale defaultLocale)
-
isActiveOnServer
public boolean isActiveOnServer(FrontendServer frontendServer)
Returns whether the project is active on the given frontend server.- Parameters:
frontendServer
- The frontend server to check.- Returns:
- Whether the project is active on the given frontend server.
-
isActiveOnServer
public boolean isActiveOnServer(MandantFrontendServer mandantFrontendServer)
Returns whether the project is active on the given client frontend server.- Parameters:
mandantFrontendServer
- The client frontend server to check.- Returns:
- Whether the project is active on the given client frontend server.
-
getProjectPortalConfigs
public Set<ProjectPortalConfig> getProjectPortalConfigs()
-
setProjectPortalConfigs
public void setProjectPortalConfigs(Set<ProjectPortalConfig> projectPortalConfigs)
-
getProjectPortalConfig
public ProjectPortalConfig getProjectPortalConfig(UUID portalUuid)
-
getFileDefaultLocale
public Locale getFileDefaultLocale()
Description copied from interface:ILocalizedScopedFilesProviding
Gets the default locale for this providing entity.- Specified by:
getFileDefaultLocale
in interfaceILocalizedScopedFilesProviding<Projekt,ProjectFile,ProjectFileData>
- Returns:
- the default locale for this providing entity.
-
getFiles
public List<ProjectFile> getFiles()
Description copied from interface:ILocalizedScopedFilesProviding
Gets the file entities.- Specified by:
getFiles
in interfaceILocalizedScopedFilesProviding<Projekt,ProjectFile,ProjectFileData>
- Returns:
- the file entities
-
setFiles
public void setFiles(List<ProjectFile> files)
Description copied from interface:ILocalizedScopedFilesProviding
Sets the file entities.- Specified by:
setFiles
in interfaceILocalizedScopedFilesProviding<Projekt,ProjectFile,ProjectFileData>
- Parameters:
files
- the file entities to set.
-
getDefaultUserPortalId
public Long getDefaultUserPortalId()
-
setDefaultUserPortalId
public void setDefaultUserPortalId(Long defaultUserPortalId)
-
getDisplayName
public String getDisplayName(Locale locale)
Returns the display name of the project for the locale.- Parameters:
locale
- The locale to get the display name for.- Returns:
- The display name of the project for the given locale.
-
getDescription
public String getDescription(Locale locale)
Returns the description of the project for the given locale.- Parameters:
locale
- The locale to get the description for.- Returns:
- The description of the project for the given locale.
-
getShortDescription
public String getShortDescription(Locale locale)
Returns the short description of the project for the locale.- Parameters:
locale
- The locale to get the short description for.- Returns:
- The short description of the project for the given locale.
-
isFormRecordDataHistoryEnabled
public boolean isFormRecordDataHistoryEnabled()
-
setFormRecordDataHistoryEnabled
public void setFormRecordDataHistoryEnabled(boolean formRecordDataHistoryEnabled)
-
isOnline
@Deprecated public boolean isOnline()
Deprecated.- Returns:
- Whether the project is currently online.
-
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 EnumEProjectSpecificDBTable
entnommen werden
-
getDeprecatedNTLMSetting
@Deprecated public Boolean getDeprecatedNTLMSetting()
Deprecated.
-
getDeprecatedKerberosSetting
@Deprecated public Boolean getDeprecatedKerberosSetting()
Deprecated.
-
addTag
public void addTag(ProjectTag tag)
-
removeTag
public void removeTag(ProjectTag tag)
-
addWorkflowVersion
public void addWorkflowVersion(WorkflowVersion version)
Adds the given workflow version and sets theWorkflowVersion.getProject()
to this project.- Parameters:
version
- Workflow version to add.
-
addFormVersion
public void addFormVersion(FormVersion formVersion)
-
removeFormVersion
public void removeFormVersion(FormVersion formVersion)
-
removeWorkflowVersion
public void removeWorkflowVersion(WorkflowVersion workflowVersion)
-
addBenutzerGruppe
public void addBenutzerGruppe(BenutzerGruppe benutzerGruppe)
-
removeBenutzerGruppen
public void removeBenutzerGruppen(BenutzerGruppe benutzerGruppe)
-
addEditorBenutzerGruppe
public void addEditorBenutzerGruppe(BenutzerGruppe benutzerGruppe)
-
removeEditorBenutzerGruppen
public void removeEditorBenutzerGruppen(BenutzerGruppe benutzerGruppe)
-
addVisibilityUsergroup
public void addVisibilityUsergroup(BenutzerGruppe userGroup)
-
removeVisibilityUserGroup
public void removeVisibilityUserGroup(BenutzerGruppe userGroup)
-
addMandantFrontendServer
public void addMandantFrontendServer(MandantFrontendServer mandantfrontendserver)
-
removeMandantFrontendServer
public void removeMandantFrontendServer(MandantFrontendServer mandantfrontendserver)
-
addProjektRessource
public void addProjektRessource(ProjektRessource ressource)
-
removeProjektRessource
public void removeProjektRessource(ProjektRessource ressource)
-
addAuthentificatorConfig
public void addAuthentificatorConfig(ProjectAuthenticatorConfig authenticatorConfig)
-
removeAuthentificatorConfig
public void removeAuthentificatorConfig(ProjectAuthenticatorConfig authenticatorConfigs)
-
isEditableBy
@Deprecated public boolean isEditableBy(Benutzer user, List<BenutzerGruppe> usergroups)
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 public boolean isVisibleBy(Benutzer user, List<BenutzerGruppe> usergroups)
Deprecated.Benutzer is deprecated. UseUserMgmtUtils.canViewProject(de.xima.fc.interfaces.user.IUser, Projekt)
instead.
-
cloneBasics
public Projekt cloneBasics()
-
-