# Uses of Enum Class
fr.gouv.vitam.common.error.DomainName

Packages that use DomainName
Package
Description
fr.gouv.vitam.common.error
Contains
- services codes and their name
- domains codes and their name
- public Vitam codes

- ## Uses of DomainName in fr.gouv.vitam.common.error

  Methods in fr.gouv.vitam.common.error that return DomainName
  Modifier and Type
  Method
  Description
  `DomainName`
  VitamCode.`getDomain()`
  `static DomainName`
  DomainName.`getFromCode(String code)`
  Retrieve DomainName from code
  `static DomainName`
  DomainName.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static DomainName[]`
  DomainName.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in fr.gouv.vitam.common.error with parameters of type DomainName
  Modifier and Type
  Method
  Description
  `static VitamCode`
  VitamCodeHelper.`getFrom(ServiceName service, DomainName domain, String item)`
  Get VitamCode from Service, Domain and item values
  `static List<VitamCode>`
  VitamCodeHelper.`getFromDomain(DomainName domain)`
  Get list of VitamCode from a Domain
  `static String`
  VitamCodeHelper.`getMessage(ServiceName service, DomainName domain, String item)`
  Get the message from the Service, Domain and item values
  `static String`
  VitamCodeHelper.`getParametrizedMessage(ServiceName service, DomainName domain, String item, Object... params)`
  Get parameterized message from Service, Domain and item values