Class RoleVO

java.lang.Object
com.skava.core.validation.InputModel
com.skava.auth.model.rest.entities.RoleVO
All Implemented Interfaces:
Serializable

public class RoleVO extends com.skava.core.validation.InputModel
Data transfer class holds the role information for request/response.
Version:
$Id: $Id
Author:
Infosys Equinox
See Also:
  • Field Details

    • id

      protected Long id
      Holds a unique identifier of the Role which can be associated with Privilege set.
    • createdBy

      protected Long createdBy
      Holds the user identifier who has created this Role. This is a unique identifier which can be used to identify a user. This data is generated and maintained by the User microservice and logically referred in this microservice.
    • createdTimestamp

      protected Date createdTimestamp
      Holds the created timestamp of this Role. It is specified using the format: YYYY-MM-DD HH:MM:SS.
    • updatedBy

      protected Long updatedBy
      Holds the user identifier who has last updated this Role. This is a unique identifier which can be used to identify a user. This data is generated and maintained by the User microservice and logically referred in this microservice.
    • updatedTimestamp

      protected Date updatedTimestamp
      Holds the last updated timestamp of this Role. It is specified using the format: YYYY-MM-DD HH:MM:SS.
    • name

      protected String name
      Holds the name of this entry. The name consists of all the alphanumeric characters and the special character underscore. Special characters other than underscore are not allowed. A name must be unique within a collection. This field should not be null or empty.
    • description

      @Size(min=0, max=1000) protected @Size(min=0,max=1000) String description
      Holds a description of the Role. This field describes the Role.
    • collectionId

      protected Long collectionId
      Holds a valid collection identifier of this microservice. The requested operation will be performed on this collection identifier. A collection is the topmost entity of a microservice under which all the other entities/resources reside. Each collection represents an instance of the microservice with the configured properties. These properties can be modified to bring in a different behavior per collection of the same microservice. The Store association is the process of associating a microservice collection to a store along with its respective sub-entity. This way, the storefront can fetch/store the required information from that respective association.
    • businessId

      protected Long businessId
      Holds a valid business identifier. A business is typically a customer who has signed up with Infosys Equinox to launch a commerce store or a digital experience. An Infosys Equinox Commerce instance can have multiple businesses under which there can be multiple stores. A store is a logical entity which binds all the services together to bring in a storefront experience.
  • Constructor Details

    • RoleVO

      public RoleVO(Role role)
      Instantiates a new role.
      Parameters:
      role - The role.
    • RoleVO

      public RoleVO(Role role, Set<Privilege> privileges)
      Instantiates a new role.
      Parameters:
      role - The role.
      privileges - a Set of Privilege objects.
    • RoleVO

      public RoleVO()
      The class constructor.