Enum Class DataCategory

java.lang.Object
java.lang.Enum<DataCategory>
fr.gouv.vitam.storage.engine.common.model.DataCategory
All Implemented Interfaces:
Serializable, Comparable<DataCategory>, Constable

public enum DataCategory extends Enum<DataCategory>
Define the differents type of "object" than can be stored, retrieve or deleted from different storage offer
  • Enum Constant Details

    • UNIT

      public static final DataCategory UNIT
      Archive Unit
    • OBJECT

      public static final DataCategory OBJECT
      Binary Object
    • OBJECTGROUP

      public static final DataCategory OBJECTGROUP
      Object Group
    • LOGBOOK

      public static final DataCategory LOGBOOK
      Logbook (any)
    • REPORT

      public static final DataCategory REPORT
      Report of operations (like ArchiveTransferReply)
    • PROBATIVE_REPORT

      public static final DataCategory PROBATIVE_REPORT
      Report of probative
    • MANIFEST

      public static final DataCategory MANIFEST
      Manitesf.xml from a SIP
    • PROFILE

      public static final DataCategory PROFILE
      Profile xsd, rng, ...
    • STORAGELOG

      public static final DataCategory STORAGELOG
      StorageLog (any)
    • STORAGEACCESSLOG

      public static final DataCategory STORAGEACCESSLOG
      Storage AccessLog (log)
    • STORAGETRACEABILITY

      public static final DataCategory STORAGETRACEABILITY
      StorageTraceability (zip)
    • RULES

      public static final DataCategory RULES
      Rules files
    • BATCH_REPORT

      public static final DataCategory BATCH_REPORT
      Batch update reports - Hack, to be fixed with US #5621
    • REFERENTIAL_RULES_CSV

      public static final DataCategory REFERENTIAL_RULES_CSV
      Referential csv imported for rules - Hack, to be fixed with US #5621
    • REFERENTIAL_AGENCIES_CSV

      public static final DataCategory REFERENTIAL_AGENCIES_CSV
      Referential csv imported for agencies - Hack, to be fixed with US #5621
    • DIP

      @Deprecated public static final DataCategory DIP
      Deprecated.
      : DIP are no more stored in offers.
      dip collection
    • AGENCIES

      public static final DataCategory AGENCIES
      Agencies files
    • BACKUP

      public static final DataCategory BACKUP
      backup files
    • BACKUP_OPERATION

      public static final DataCategory BACKUP_OPERATION
      backup operation files
    • UNIT_GRAPH

      public static final DataCategory UNIT_GRAPH
      Unit graph
    • OBJECTGROUP_GRAPH

      public static final DataCategory OBJECTGROUP_GRAPH
      Object group graph
    • DISTRIBUTIONREPORTS

      public static final DataCategory DISTRIBUTIONREPORTS
      distribution_reports files
    • ACCESSION_REGISTER_DETAIL

      public static final DataCategory ACCESSION_REGISTER_DETAIL
      Accession Register Detail
    • ARCHIVAL_TRANSFER_REPLY

      public static final DataCategory ARCHIVAL_TRANSFER_REPLY
      Archival Transfer Reply
    • ACCESSION_REGISTER_SYMBOLIC

      public static final DataCategory ACCESSION_REGISTER_SYMBOLIC
      Accession Register Detail
    • TMP

      public static final DataCategory TMP
  • Method Details

    • values

      public static DataCategory[] 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

      public static DataCategory valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCollectionName

      public String getCollectionName()
      Get collection name
      Returns:
      the collection name
    • getFolder

      public String 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

      public static DataCategory getByFolder(String folder)
      Get DataCategory from folder
      Parameters:
      folder - the wanted folder
      Returns:
      the DataCategory if exists, null otherwise
    • getByCollectionName

      public static DataCategory getByCollectionName(String collectionName)
      Get DataCategory by collection name
      Parameters:
      collectionName - the wanted collection name
      Returns:
      the DataCategory if exists
      Throws:
      IllegalArgumentException - if DataCategory does not exist