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:
java.io.Serializable,java.util.Map<java.lang.String,java.lang.Object>,org.bson.conversions.Bson
public class SecurityProfile extends VitamDocument<SecurityProfile>
Defines a Security Profile collection.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFULL_ACCESSfull access to all permissions for security profile.static java.lang.StringIDENTIFIERthe security profile identifierstatic java.lang.StringNAMEthe security profile namestatic java.lang.StringPERMISSIONSthe permission set-
Fields inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocument
ES_FILTER_OUT, ID, IMPLEMENTATIONVERSION, SCORE, SEDAVERSION, TENANT_ID, VERSION
-
-
Constructor Summary
Constructors Constructor Description SecurityProfile()Empty ConstructorSecurityProfile(com.fasterxml.jackson.databind.JsonNode content)SecurityProfile(java.lang.String content)SecurityProfile(org.bson.Document document)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VitamDocument<SecurityProfile>newInstance(com.fasterxml.jackson.databind.JsonNode content)Make a new instance of the document with the given json-
Methods 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
-
-
-
-
Field Detail
-
IDENTIFIER
public static final java.lang.String IDENTIFIER
the security profile identifier- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
the security profile name- See Also:
- Constant Field Values
-
FULL_ACCESS
public static final java.lang.String FULL_ACCESS
full access to all permissions for security profile.- See Also:
- Constant Field Values
-
PERMISSIONS
public static final java.lang.String PERMISSIONS
the permission set- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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
public SecurityProfile(java.lang.String content)
- Parameters:
content- in format String to create context
-
-
Method Detail
-
newInstance
public VitamDocument<SecurityProfile> newInstance(com.fasterxml.jackson.databind.JsonNode content)
Description copied from class:VitamDocumentMake a new instance of the document with the given json- Specified by:
newInstancein classVitamDocument<SecurityProfile>- Parameters:
content- document structure as json- Returns:
- new document with the json as content
-
-