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

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

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

  Methods in fr.gouv.vitam.common.error that return ServiceName
  Modifier and Type
  Method
  Description
  `static ServiceName`
  ServiceName.`getFromCode(String code)`
  Retrieve ServiceName from code
  `ServiceName`
  VitamCode.`getService()`
  `static ServiceName`
  ServiceName.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ServiceName[]`
  ServiceName.`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 ServiceName
  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.`getFromService(ServiceName service)`
  Get list of VitamCode from a Service
  `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