Class ContextModel
java.lang.Object
fr.gouv.vitam.common.model.administration.ContextModel
Data Transfer Object Model of Context
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
setActivationdate
(String activationdate) setCreationdate
(String creationdate) setDeactivationdate
(String deactivationdate) void
setEnablecontrol
(Boolean enablecontrol) void
setIdentifier
(String identifier) setLastupdate
(String lastupdate) void
void
setPermissions
(List<PermissionModel> permissions) setSecurityProfileIdentifier
(String securityProfileIdentifier) void
setStatus
(ContextStatus status) void
setVersion
(Integer version)
-
Field Details
-
TAG_SECURITY_PROFILE
- See Also:
-
TAG_LAST_UPDATE
- See Also:
-
TAG_CREATION_DATE
- See Also:
-
TAG_NAME
- See Also:
-
TAG_STATUS
- See Also:
-
TAG_ENABLE_CONTROL
- See Also:
-
TAG_IDENTIFIER
- See Also:
-
TAG_PERMISSIONS
- See Also:
-
-
Constructor Details
-
ContextModel
public ContextModel()empty constructor
-
-
Method Details
-
getId
- Returns:
- id
-
setId
- Parameters:
id
- value to set
-
getVersion
- Returns:
- version
-
setVersion
- Parameters:
version
-
-
getName
- Returns:
- name
-
setName
- Parameters:
name
-
-
getStatus
- Returns:
- status
-
setStatus
- Parameters:
status
-
-
isEnablecontrol
- Returns:
- enableControle true we must check contract given contract exists in the current context, false else
-
setEnablecontrol
- Parameters:
enablecontrol
-
-
getPermissions
- Returns:
- list of PermissionModel
-
setPermissions
- Parameters:
permissions
-
-
getIdentifier
- Returns:
- identifier
-
setIdentifier
- Parameters:
identifier
-- Returns:
- ContextModel
-
getCreationdate
- Returns:
- the creation date of context
-
setCreationdate
- Parameters:
creationdate
- to set- Returns:
- this
-
getLastupdate
- Returns:
- last update of context
-
setLastupdate
- Parameters:
lastupdate
- to set- Returns:
- this
-
getActivationdate
- Returns:
- the activation date of context
-
setActivationdate
- Parameters:
activationdate
- to set- Returns:
- this
-
getDeactivationdate
- Returns:
- the desactivation date of context
-
setDeactivationdate
- Parameters:
deactivationdate
- to set- Returns:
- this
-
getSecurityProfileIdentifier
- Returns:
- the security profile identifier
-
setSecurityProfileIdentifier
- Parameters:
securityProfileIdentifier
- tbe security profile identifier to set.- Returns:
- this
-