Enum Class ParserTokens.PROJECTIONARGS
java.lang.Object
java.lang.Enum<ParserTokens.PROJECTIONARGS>
fr.gouv.vitam.common.database.parser.query.ParserTokens.PROJECTIONARGS
- All Implemented Interfaces:
Serializable
,Comparable<ParserTokens.PROJECTIONARGS>
,Constable
- Enclosing class:
- ParserTokens
specific fields: nbunits, dua, ...
$fields : [ #nbunits:1, #dua:1, #all:1... ]
$fields : [ #nbunits:1, #dua:1, #all:1... ]
#all:1 means all, while #all:0 means none
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll fields for the result or None except IdAll Unit's parentsDocument's version (number of update on document)COLLECT-ONLY FIELDSVitam computedInheritedRules fieldAll Dua for the resulteliminationObject formatParent unit graphGraph last peristed dateParent unit historyId of the itemVitam Implementation VersionLast persisted date (logbook operation & lifecycle documents)Management blocManagement Contract IdUnit's MAX distance from rootUnit's MIN distance from rootNumber of objects within ObjectGroupNumber of units immediate children from this UnitUnit's ObjectGroupUnit or GOT's list of participating operationsUnit or GOT's initial operationTRANSFERoriginating agenciesoriginating agencyOriginating agencyQualifiers fieldDocument scoring according to researchSeda VersionObject sizeStorage in OGUnit/ObjectGroup TenantUnit/ObjectGroup typeparents arraysunit type blocUnit's immediate parentsDocument's usage (BINARY_MASTER, PHYSICAL_MASTER, DISSEMINATION, ...)Document's version (number of update on document) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
static boolean
Used in projection for getObjectstatic boolean
notAllowedOnSet
(String name) This function check the field name for know if it's allowed to inserting or updating the given field from external.static boolean
This function check the field name for know if it's allowed to inserting or updating the given field from external.static ParserTokens.PROJECTIONARGS
Parse the given namestatic ParserTokens.PROJECTIONARGS
Returns the enum constant of this class with the specified name.static ParserTokens.PROJECTIONARGS[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ID
Id of the item -
NBUNITS
Number of units immediate children from this Unit -
NBOBJECTS
Number of objects within ObjectGroup -
DUA
All Dua for the result -
ALL
All fields for the result or None except Id -
QUALIFIERS
Qualifiers field -
SIZE
Object size -
FORMAT
Object format -
TYPE
Unit/ObjectGroup type -
TENANT
Unit/ObjectGroup Tenant -
OBJECT
Unit's ObjectGroup -
UNITUPS
Unit's immediate parents -
MIN
Unit's MIN distance from root -
MAX
Unit's MAX distance from root -
ALLUNITUPS
All Unit's parents -
MANAGEMENT
Management bloc -
UNITTYPE
unit type bloc -
UDS
parents arrays -
OPERATIONS
Unit or GOT's list of participating operations -
OPI
Unit or GOT's initial operation -
ORIGINATING_AGENCY
originating agency -
ORIGINATING_AGENCIES
originating agencies -
STORAGE
Storage in OG -
VERSION
Document's version (number of update on document) -
ATOMIC_VERSION
Document's version (number of update on document) -
USAGE
Document's usage (BINARY_MASTER, PHYSICAL_MASTER, DISSEMINATION, ...) -
SCORE
Document scoring according to research -
LAST_PERSISTED_DATE
Last persisted date (logbook operation & lifecycle documents) -
GRAPH
Parent unit graph -
ELIMINATION
elimination -
GRAPH_LAST_PERISTED_DATE
Graph last peristed date -
PARENT_ORIGINATING_AGENCIES
Originating agency -
HISTORY
Parent unit history -
SEDAVERSION
Seda Version -
IMPLEMENTATIONVERSION
Vitam Implementation Version -
COMPUTEDINHERITEDRULES
Vitam computedInheritedRules field -
VALIDCOMPUTEDINHERITEDRULES
-
APPROXIMATE_CREATION_DATE
-
APPROXIMATE_UPDATE_DATE
-
BATCHID
COLLECT-ONLY FIELDS -
UPLOADPATH
-
OPTS
TRANSFER -
MANAGEMENT_CONTRACT_ID
Management Contract Id
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isValid
Used in projection for getObject- Parameters:
token
- the token to valid- Returns:
- True if this token is valid, even starting with a "_"
-
parse
Parse the given name- Parameters:
name
- name of the field to parse- Returns:
- the corresponding PROJECTIONARGS
- Throws:
IllegalArgumentException
- if not found
-
notAllowedOnSetExternal
This function check the field name for know if it's allowed to inserting or updating the given field from external. This check is done by the API-internal by the VarNameAdapter.- Parameters:
name
- field name- Returns:
- True if the field is not allowed, false
-
notAllowedOnSet
This function check the field name for know if it's allowed to inserting or updating the given field from external. This check is done by the API-internal by the VarNameAdapter.- Parameters:
name
- field name- Returns:
- True if this value is not allowed on set (insert, update)
-
exactToken
- Returns:
- the exact token
-