Package de.xima.fc.entities
Class WorkflowStateAuthenticatorConfig
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.ALockableEntity
de.xima.fc.entities.AAuthenticatorConfig
de.xima.fc.entities.WorkflowStateAuthenticatorConfig
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,IAuthenticatorConfig,ILockingVersionProviding,ITransferable,ITransferableEntity,ITransferableLockableEntity,IStringAttributesMixin,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
Model for persisting authenticator configuration of a
WorkflowState- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringJPA attribute name for thegetAttributes()field.static final StringJPA attribute name for thegetOrderIndex()field.static final StringJPA attribute name for thegetWorkflowState()field.static final StringDatabase column name for thegetOrderIndex()field.static final StringDatabase column name for thegetWorkflowState()field.Fields inherited from class de.xima.fc.entities.AAuthenticatorConfig
ATTR_AUTHENTICATOR_TYPE, ATTR_CLIENTAUTHENTICATOR, ATTR_ORDER_IDX, ATTR_SYSTEMAUTHENTICATOR, authenticatorType, clientAuthenticator, systemAuthenticatorFields 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.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.ITransferableEntity
IMPORT_ID, INVALID_ID -
Constructor Summary
ConstructorsConstructorDescriptionWorkflowStateAuthenticatorConfig(WorkflowState workflowState, IAuthenticator<?> authenticator, Map<String, String> attributes) WorkflowStateAuthenticatorConfig(WorkflowState workflowState, EAuthClientType authenticatorType) WorkflowStateAuthenticatorConfig(WorkflowState workflowState, EAuthClientType authenticatorType, Map<String, String> attributes) -
Method Summary
Modifier and TypeMethodDescriptiongetId()intvoidsetAttributes(Map<String, String> attributes) voidsetOrderIndex(Integer orderIndex) voidsetWorkflowState(WorkflowState workflowState) Methods inherited from class de.xima.fc.entities.AAuthenticatorConfig
getAuthenticator, getAuthenticatorToken, getAuthenticatorType, getClientAuthenticator, getClientDescriptor, getDisplayName, getI18nPlaceholder, getIdentifier, getSystemAuthenticator, setAuthenticator, setAuthenticatorType, setClientAuthenticator, setSystemAuthenticator, toStringMethods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersionMethods 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.cmn.dao.interfaces.IEntity
isPersisted, setIdMethods inherited from interface de.xima.fc.interfaces.mixin.attributes.IStringAttributesMixin
getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute
-
Field Details
-
ATTR_ATTRIBUTES
JPA attribute name for thegetAttributes()field.- See Also:
-
ATTR_ORDER_INDEX
JPA attribute name for thegetOrderIndex()field.- See Also:
-
ATTR_WORKFLOW_STATE
JPA attribute name for thegetWorkflowState()field.- See Also:
-
COL_ORDER_INDEX
Database column name for thegetOrderIndex()field.- See Also:
-
COL_WORKFLOW_STATE_ID
Database column name for thegetWorkflowState()field.- See Also:
-
-
Constructor Details
-
WorkflowStateAuthenticatorConfig
public WorkflowStateAuthenticatorConfig() -
WorkflowStateAuthenticatorConfig
public WorkflowStateAuthenticatorConfig(WorkflowState workflowState, EAuthClientType authenticatorType) -
WorkflowStateAuthenticatorConfig
public WorkflowStateAuthenticatorConfig(WorkflowState workflowState, EAuthClientType authenticatorType, Map<String, String> attributes) -
WorkflowStateAuthenticatorConfig
public WorkflowStateAuthenticatorConfig(WorkflowState workflowState, IAuthenticator<?> authenticator, Map<String, String> attributes)
-
-
Method Details
-
getId
-
getWorkflowState
- Returns:
- The workflow state for which this authenticator was configured.
-
setWorkflowState
- Parameters:
workflowState- The workflow state for which this authenticator was configured.
-
getAttributes
- Returns:
- the string attributes
-
setAttributes
- Parameters:
attributes- Custom attributes for this authenticator. The available properties depend on the authenticator type.
-
getOrderIndex
public int getOrderIndex()- Returns:
- The 0-based position where this state appears on the UI for managing the states of a workflow version.
-
setOrderIndex
- Parameters:
orderIndex- The 0-based position where this state appears on the UI for managing the states of a workflow version.
-
cloneBasics
- Returns:
- A new workflow state authenticator config instance with all fields that do not reference other entites copied from this instance.
-