Class PublicationRight

java.lang.Object
com.priint.pubserverapi.publication.PublicationRight

public class PublicationRight extends Object
Represents the publication rights for a specific publication, team, or person.
  • Constructor Details

    • PublicationRight

      public PublicationRight()
  • Method Details

    • getPublicationId

      public String getPublicationId()
      Gets the Id of the publication.
      Returns:
      the publication Id
    • setPublicationId

      public void setPublicationId(String publicationId)
      Sets the Id of the publication.
      Parameters:
      publicationId - the publication Id to set
    • getTeamId

      public String getTeamId()
      Gets the Id of the team.
      Returns:
      the team Id
    • setTeamId

      public void setTeamId(String teamId)
      Sets the Id of the team.
      Parameters:
      teamId - the team Id to set
    • getPersonId

      public String getPersonId()
      Gets the Id of the person.
      Returns:
      the person Id
    • setPersonId

      public void setPersonId(String personId)
      Sets the Id of the person.
      Parameters:
      personId - the person Id to set
    • isReadRight

      public boolean isReadRight()
      Checks if the read right is granted.
      Returns:
      true if the read right is granted, false otherwise
    • setReadRight

      public void setReadRight(boolean readRight)
      Sets the read right.
      Parameters:
      readRight - the read right to set
    • isWriteRight

      public boolean isWriteRight()
      Checks if the write right is granted.
      Returns:
      true if the write right is granted, false otherwise
    • setWriteRight

      public void setWriteRight(boolean writeRight)
      Sets the write right.
      Parameters:
      writeRight - the write right to set
    • isDeleteRight

      public boolean isDeleteRight()
      Checks if the delete right is granted.
      Returns:
      true if the delete right is granted, false otherwise
    • setDeleteRight

      public void setDeleteRight(boolean deleteRight)
      Sets the delete right.
      Parameters:
      deleteRight - the delete right to set
    • isWorkflowRight

      public boolean isWorkflowRight()
      Checks if the workflow right is granted.
      Returns:
      true if the workflow right is granted, false otherwise
    • setWorkflowRight

      public void setWorkflowRight(boolean workflowRight)
      Sets the workflow right.
      Parameters:
      workflowRight - the workflow right to set