public enum AclAccessFlags extends java.lang.Enum<AclAccessFlags>
List of permissions that might be required to execute an action slightly different from com.mindoo.domino.jna.constants.AclFlag but translates back and forth Used in @see com.hcl.domino.keep.dbrequests.AclAttributes
Enum Constant and Description |
---|
CreateDocuments |
CreateLotusScriptJavaScriptAgents |
CreatePersonalFoldersViews |
CreatePrivateAgents |
CreateSharedFoldersViews |
DeleteDocuments |
ReadPublicDocuments |
ReplicateOrCopyDocuments |
WritePublicDocuments |
Modifier and Type | Method and Description |
---|---|
static boolean |
validate(com.hcl.domino.security.AclLevel curAclLevel,
java.util.Set<com.hcl.domino.security.AclFlag> curFlags,
AclAccessFlags flag)
Checks the human readable flag into the flag used in the C API.
|
static AclAccessFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AclAccessFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AclAccessFlags CreateDocuments
public static final AclAccessFlags DeleteDocuments
public static final AclAccessFlags CreatePrivateAgents
public static final AclAccessFlags CreatePersonalFoldersViews
public static final AclAccessFlags CreateSharedFoldersViews
public static final AclAccessFlags CreateLotusScriptJavaScriptAgents
public static final AclAccessFlags ReadPublicDocuments
public static final AclAccessFlags WritePublicDocuments
public static final AclAccessFlags ReplicateOrCopyDocuments
public static AclAccessFlags[] values()
for (AclAccessFlags c : AclAccessFlags.values()) System.out.println(c);
public static AclAccessFlags valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean validate(com.hcl.domino.security.AclLevel curAclLevel, java.util.Set<com.hcl.domino.security.AclFlag> curFlags, AclAccessFlags flag)
Checks the human readable flag into the flag used in the C API. C API flags have a mix of [NO_allow_something] and [allow_something] We take care of that, the return value is true if it is allowed
curAclLevel
- current ACL Level for implicit accesscurFlags
- the set of flags for the current Userflag
- as readable in the ACL dialoge