Class PagePrivileges

java.lang.Object
com.gentics.contentnode.rest.model.PagePrivileges

public class PagePrivileges extends Object
Model for page privileges
  • Field Details

    • viewpage

      protected Boolean viewpage
    • createpage

      protected Boolean createpage
    • updatepage

      protected Boolean updatepage
    • deletepage

      protected Boolean deletepage
    • publishpage

      protected Boolean publishpage
    • translatepage

      protected Boolean translatepage
  • Constructor Details

    • PagePrivileges

      public PagePrivileges()
  • Method Details

    • getViewpage

      public Boolean getViewpage()
      True if viewpage is granted
      Returns:
      viewpage flag
    • setViewpage

      public PagePrivileges setViewpage(Boolean viewpage)
      Set viewpage flag
      Parameters:
      viewpage - flag
      Returns:
      fluent API
    • getCreatepage

      public Boolean getCreatepage()
      True when createpage is granted
      Returns:
      createpage flag
    • setCreatepage

      public PagePrivileges setCreatepage(Boolean createpage)
      Set createpage flag
      Parameters:
      createpage - flag
      Returns:
      fluent API
    • getUpdatepage

      public Boolean getUpdatepage()
      True when updatepage is granted
      Returns:
      updatepage flag
    • setUpdatepage

      public PagePrivileges setUpdatepage(Boolean updatepage)
      Set updatepage flag
      Parameters:
      updatepage - flag
      Returns:
      fluent API
    • getDeletepage

      public Boolean getDeletepage()
      True when deletepage is granted
      Returns:
      deletepage flag
    • setDeletepage

      public PagePrivileges setDeletepage(Boolean deletepage)
      Set deletepage flag
      Parameters:
      deletepage - flag
      Returns:
      fluent API
    • getPublishpage

      public Boolean getPublishpage()
      True when publishpage is granted
      Returns:
      publishpage flag
    • setPublishpage

      public PagePrivileges setPublishpage(Boolean publishpage)
      Set publishpage flag
      Parameters:
      publishpage - flag
      Returns:
      fluent API
    • getTranslatepage

      public Boolean getTranslatepage()
      True when translatepage is granted
      Returns:
      translatepage flag
    • setTranslatepage

      public PagePrivileges setTranslatepage(Boolean translatepage)
      Set translatepage flag
      Parameters:
      translatepage - flag
      Returns:
      fluent API
    • get

      public Boolean get(Privilege privilege)
    • set

      public PagePrivileges set(Privilege privilege, Boolean flag)