Class SecurityProfile
java.lang.Object
org.bson.Document
fr.gouv.vitam.common.database.server.mongodb.VitamDocument<SecurityProfile>
fr.gouv.vitam.functional.administration.common.SecurityProfile
- All Implemented Interfaces:
Serializable
,Map<String,
,Object> org.bson.conversions.Bson
Defines a Security Profile collection.
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
full access to all permissions for security profile.static final String
the security profile identifierstatic final String
the security profile namestatic final String
the permission setFields inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocument
ES_FILTER_OUT, ID, IMPLEMENTATIONVERSION, SCORE, SEDAVERSION, TENANT_ID, VERSION
Fields inherited from interface org.bson.conversions.Bson
DEFAULT_CODEC_REGISTRY
-
Constructor Summary
ConstructorDescriptionEmpty ConstructorSecurityProfile
(com.fasterxml.jackson.databind.JsonNode content) SecurityProfile
(String content) SecurityProfile
(org.bson.Document document) Constructor -
Method Summary
Modifier and TypeMethodDescriptionnewInstance
(com.fasterxml.jackson.databind.JsonNode content) Make a new instance of the document with the given jsonMethods inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocument
checkId, getConcernedDiffLines, getId, getOriginalDiffLines, getTenantId, getUnifiedDiff, getVersion, toString, toStringDirect
Methods inherited from class org.bson.Document
append, clear, containsKey, containsValue, entrySet, equals, get, get, get, getBoolean, getBoolean, getDate, getDouble, getEmbedded, getEmbedded, getInteger, getInteger, getList, getList, getLong, getObjectId, getString, hashCode, isEmpty, keySet, parse, parse, put, putAll, remove, size, toBsonDocument, toJson, toJson, toJson, toJson, values
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bson.conversions.Bson
toBsonDocument
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
IDENTIFIER
the security profile identifier- See Also:
-
NAME
the security profile name- See Also:
-
FULL_ACCESS
full access to all permissions for security profile.- See Also:
-
PERMISSIONS
the permission set- See Also:
-
-
Constructor Details
-
SecurityProfile
public SecurityProfile()Empty Constructor -
SecurityProfile
public SecurityProfile(org.bson.Document document) Constructor- Parameters:
document
- data in format Document to create context
-
SecurityProfile
public SecurityProfile(com.fasterxml.jackson.databind.JsonNode content) - Parameters:
content
- in format JsonNode to create context
-
SecurityProfile
- Parameters:
content
- in format String to create context
-
-
Method Details
-
newInstance
Description copied from class:VitamDocument
Make a new instance of the document with the given json- Specified by:
newInstance
in classVitamDocument<SecurityProfile>
- Parameters:
content
- document structure as json- Returns:
- new document with the json as content
-