Class PrivilegeVO
java.lang.Object
com.skava.core.validation.InputModel
com.skava.auth.model.rest.entities.PrivilegeVO
- All Implemented Interfaces:
Serializable
public class PrivilegeVO
extends com.skava.core.validation.InputModel
Data transfer class hold the privilege information for request/response. Privilege is the entity of this
microservice, which holds API specific access information for the role-based access control.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
Refers to the description of the privilege.protected String
Refers to the entity/resource name of the privilege.protected Long
Indicates the user who created this Privilege.protected Date
Indicates the date and time that this Privilege was created.protected Long
Holds a unique identifier of the Privilege which can be associated with the Privilege Set.protected Long
Indicates the user who updated this Privilege.protected Date
Indicates the date and time that this Privilege was updated. -
Constructor Summary
ConstructorsConstructorDescriptionThe class constructor.PrivilegeVO
(Privilege privilege) Instantiates a new privilege. -
Method Summary
-
Field Details
-
privilegeId
Holds a unique identifier of the Privilege which can be associated with the Privilege Set. -
privilegeCreatedBy
Indicates the user who created this Privilege. 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. -
privilegeCreatedTimestamp
Indicates the date and time that this Privilege was created. The date and time is specified using the format: YYYY-MM-DD HH:MM:SS. For example, 2018-05-10 01:16:17 -
privilegeUpdatedBy
Indicates the user who updated this Privilege. 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. -
privilegeUpdatedTimestamp
Indicates the date and time that this Privilege was updated. The date and time is specified using the format: YYYY-MM-DD HH:MM:SS. For example, 2018-05-10 01:16:17 -
entity
Refers to the entity/resource name of the privilege. This field should not be null or empty. -
description
Refers to the description of the privilege.
-
-
Constructor Details
-
PrivilegeVO
Instantiates a new privilege.- Parameters:
privilege
- The privilege.
-
PrivilegeVO
public PrivilegeVO()The class constructor.
-