Class PublicationRight
java.lang.Object
com.priint.pubserver.plannerapi.resource.PlannerApiResource
com.priint.pubserver.plannerapi.resource.PublicationRight
- All Implemented Interfaces:
Serializable
Class representing publication right in Planner REST Service.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPublicationRight(String publicationid, String teamid, String personid, boolean read, boolean write, boolean delete) -
Method Summary
Modifier and TypeMethodDescriptiongetLinks()links of the PublicationRightperson IDpublication IDteam IDbooleandelete right flag (false - denied, true - permitted)booleanread right flag (false - denied, true - permitted)booleanif true then user can change workflow statusbooleanwrite right flag (false - denied, true - permitted)voidsetDeleteRight(boolean deleteRight) voidsetPersonID(String personID) voidsetPublicationID(String publicationID) voidsetReadRight(boolean readRight) voidvoidsetWorkflowRight(boolean workflowRight) voidsetWriteRight(boolean writeRight) Methods inherited from class com.priint.pubserver.plannerapi.resource.PlannerApiResource
getStatuscode, getStatusmessage, setStatuscode, setStatusmessage
-
Constructor Details
-
PublicationRight
public PublicationRight() -
PublicationRight
-
-
Method Details
-
getPublicationID
publication ID -
setPublicationID
-
getTeamID
team ID -
setTeamID
-
getPersonID
person ID -
setPersonID
-
isReadRight
public boolean isReadRight()read right flag (false - denied, true - permitted) -
setReadRight
public void setReadRight(boolean readRight) -
isWriteRight
public boolean isWriteRight()write right flag (false - denied, true - permitted) -
setWriteRight
public void setWriteRight(boolean writeRight) -
isDeleteRight
public boolean isDeleteRight()delete right flag (false - denied, true - permitted) -
setDeleteRight
public void setDeleteRight(boolean deleteRight) -
isWorkflowRight
public boolean isWorkflowRight()if true then user can change workflow status -
setWorkflowRight
public void setWorkflowRight(boolean workflowRight) -
getLinks
links of the PublicationRight
-