Class UserRole
java.lang.Object
com.priint.pubserver.plannerapi.resource.PlannerApiResource
com.priint.pubserver.plannerapi.resource.UserRole
- All Implemented Interfaces:
Serializable
Planner REST API class representing a role assigned to the user.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintis role changedChecks if deletedgetLabel()Gets role labelgetName()Gets role nameintChecks if the user is activevoidsetChanged(int changed) Sets to indicate if the role is changedvoidSets to indicate if the role is deletedvoidSets role labelvoidSets role namevoidsetUseractive(int useractive) Sets a flag to indicate if the user is activeMethods inherited from class com.priint.pubserver.plannerapi.resource.PlannerApiResource
getStatuscode, getStatusmessage, setStatuscode, setStatusmessage
-
Constructor Details
-
UserRole
public UserRole()
-
-
Method Details
-
getName
Gets role name -
setName
Sets role name -
getLabel
Gets role label -
setLabel
Sets role label -
getUseractive
public int getUseractive()Checks if the user is active -
setUseractive
public void setUseractive(int useractive) Sets a flag to indicate if the user is active -
getChanged
public int getChanged()is role changed -
setChanged
public void setChanged(int changed) Sets to indicate if the role is changed -
getDelete
Checks if deleted -
setDelete
Sets to indicate if the role is deleted
-