Class PermittedEntityWithPermissionsFromUserJson

  • All Implemented Interfaces:
    Serializable

    public class PermittedEntityWithPermissionsFromUserJson
    extends BaseJson
    Permitted entity with permissions from a user
    See Also:
    Serialized Form
    • Constructor Detail

      • PermittedEntityWithPermissionsFromUserJson

        public PermittedEntityWithPermissionsFromUserJson()
    • Method Detail

      • setPermittedEntity

        public void setPermittedEntity​(PermittedEntityFromUserJson permittedEntity)
        The entity to change
        Parameters:
        permittedEntity - The entity to change
      • getIsDefault

        public Boolean getIsDefault()
        Will the entity be added to new files by default
        Returns:
        Will the entity be added to new files by default
      • setIsDefault

        public void setIsDefault​(Boolean isDefault)
        Will the entity be added to new files by default
        Parameters:
        isDefault - Will the entity be added to new files by default
      • getRole

        public String getRole()
        For backwards compatibility - can be left null and this will leave the role unchanged.
        Returns:
        For backwards compatibility - can be left null and this will leave the role unchanged.
      • setRole

        public void setRole​(String role)
        For backwards compatibility - can be left null and this will leave the role unchanged.
        Parameters:
        role - For backwards compatibility - can be left null and this will leave the role unchanged.
      • setPermissions

        public void setPermissions​(PermissionFromUserJson permissions)
        New permissions
        Parameters:
        permissions - New permissions
      • isRevokePermissions

        public boolean isRevokePermissions()
        Whether to revoke entity's permissions from existing files in the folder
        Returns:
        Whether to revoke entity's permissions from existing files in the folder
      • getRevokePermissions

        @Deprecated
        public boolean getRevokePermissions()
        Deprecated.
        Whether to revoke entity's permissions from existing files in the folder
        Returns:
        Whether to revoke entity's permissions from existing files in the folder
      • setRevokePermissions

        public void setRevokePermissions​(boolean revokePermissions)
        Whether to revoke entity's permissions from existing files in the folder
        Parameters:
        revokePermissions - Whether to revoke entity's permissions from existing files in the folder