public class Restrictions extends Object
Constructor and Description |
---|
Restrictions(boolean password,
boolean docMDP,
boolean usageRights) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRestricted()
Returns true if one or more permission types have restrictions.
|
boolean |
isRestrictedByDocMDPPermissions()
Returns true if DocMDPPermissions have restrictions.
|
boolean |
isRestrictedByPasswordPermissions()
Returns true if PasswordPermissions have restrictions.
|
boolean |
isRestrictedByUsageRightsPermissions()
Returns true if UsageRightsPermissions have restrictions.
|
public Restrictions(boolean password, boolean docMDP, boolean usageRights)
public boolean isRestricted()
public boolean isRestrictedByPasswordPermissions()
public boolean isRestrictedByDocMDPPermissions()
public boolean isRestrictedByUsageRightsPermissions()