Enum Class DataCategory
- All Implemented Interfaces:
Serializable
,Comparable<DataCategory>
,Constable
Define the differents type of "object" than can be stored, retrieve or deleted from different storage offer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAccession Register DetailAccession Register DetailAgencies filesArchival Transfer Replybackup filesbackup operation filesBatch update reports - Hack, to be fixed with US #5621Deprecated.: DIP are no more stored in offers.distribution_reports filesLogbook (any)Manitesf.xml from a SIPBinary ObjectObject GroupObject group graphReport of probativeProfile xsd, rng, ...Referential csv imported for agencies - Hack, to be fixed with US #5621Referential csv imported for rules - Hack, to be fixed with US #5621Report of operations (like ArchiveTransferReply)Rules filesStorage AccessLog (log)StorageLog (any)StorageTraceability (zip)Archive UnitUnit graph -
Method Summary
Modifier and TypeMethodDescriptionboolean
To know if data type is deletableboolean
To know if data type is updatablestatic DataCategory
getByCollectionName
(String collectionName) Get DataCategory by collection namestatic DataCategory
getByFolder
(String folder) Get DataCategory from folderGet collection nameGets the folderstatic DataCategory
Returns the enum constant of this class with the specified name.static DataCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNIT
Archive Unit -
OBJECT
Binary Object -
OBJECTGROUP
Object Group -
LOGBOOK
Logbook (any) -
REPORT
Report of operations (like ArchiveTransferReply) -
PROBATIVE_REPORT
Report of probative -
MANIFEST
Manitesf.xml from a SIP -
PROFILE
Profile xsd, rng, ... -
STORAGELOG
StorageLog (any) -
STORAGEACCESSLOG
Storage AccessLog (log) -
STORAGETRACEABILITY
StorageTraceability (zip) -
RULES
Rules files -
BATCH_REPORT
Batch update reports - Hack, to be fixed with US #5621 -
REFERENTIAL_RULES_CSV
Referential csv imported for rules - Hack, to be fixed with US #5621 -
REFERENTIAL_AGENCIES_CSV
Referential csv imported for agencies - Hack, to be fixed with US #5621 -
DIP
Deprecated.: DIP are no more stored in offers.dip collection -
AGENCIES
Agencies files -
BACKUP
backup files -
BACKUP_OPERATION
backup operation files -
UNIT_GRAPH
Unit graph -
OBJECTGROUP_GRAPH
Object group graph -
DISTRIBUTIONREPORTS
distribution_reports files -
ACCESSION_REGISTER_DETAIL
Accession Register Detail -
ARCHIVAL_TRANSFER_REPLY
Archival Transfer Reply -
ACCESSION_REGISTER_SYMBOLIC
Accession Register Detail -
TMP
-
-
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
-
getCollectionName
Get collection name- Returns:
- the collection name
-
getFolder
Gets the folder- Returns:
- the folder
-
canUpdate
public boolean canUpdate()To know if data type is updatable- Returns:
- true if data type is updatable, false otherwise
-
canDelete
public boolean canDelete()To know if data type is deletable- Returns:
- true if data type is deletable, false otherwise
-
getByFolder
Get DataCategory from folder- Parameters:
folder
- the wanted folder- Returns:
- the DataCategory if exists, null otherwise
-
getByCollectionName
Get DataCategory by collection name- Parameters:
collectionName
- the wanted collection name- Returns:
- the DataCategory if exists
- Throws:
IllegalArgumentException
- if DataCategory does not exist
-