public class Restrictions extends Object
Constructor and Description |
---|
Restrictions(boolean password,
boolean docMDP,
boolean usageRights,
boolean signature) |
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 |
isRestrictedBySignature() |
boolean |
isRestrictedByUsageRightsPermissions()
Returns true if UsageRightsPermissions have restrictions.
|
public Restrictions(boolean password, boolean docMDP, boolean usageRights, boolean signature)
public boolean isRestricted()
public boolean isRestrictedByPasswordPermissions()
public boolean isRestrictedByDocMDPPermissions()
public boolean isRestrictedByUsageRightsPermissions()
public boolean isRestrictedBySignature()