Class CmsPermissionInfo

java.lang.Object
org.opencms.gwt.shared.CmsPermissionInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsPermissionInfo extends Object implements com.google.gwt.user.client.rpc.IsSerializable
The permission info bean.

  • Constructor Details

    • CmsPermissionInfo

      public CmsPermissionInfo(boolean hasViewPermission, boolean hasWritePermission, String noEditReason)
      Constructor.

      Parameters:
      hasViewPermission - if view is permitted
      hasWritePermission - is write is permitted
      noEditReason - the no edit reason
    • CmsPermissionInfo

      protected CmsPermissionInfo()
      Constructor for serialization only.

  • Method Details

    • getNoEditReason

      Returns the noEditReason.

      Returns:
      the noEditReason
    • hasViewPermission

      public boolean hasViewPermission()
      Returns the hasViewPermission.

      Returns:
      the hasViewPermission
    • hasWritePermission

      public boolean hasWritePermission()
      Returns the hasWritePermission.

      Returns:
      the hasWritePermission
    • setNoEditReason

      public void setNoEditReason(String noEditReason)
      Sets the no edit reason.

      Parameters:
      noEditReason - the no edit reason