public class ACE
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
Alarm |
static int |
AlarmObject |
static int |
Allowed |
static int |
AllowedCompound |
static int |
AllowedObject |
static int |
Audit |
static int |
AuditObject |
static int |
ContainerInherit |
static int |
Denied |
static int |
DeniedObject |
static int |
FailedAccess |
static int |
FullAccess |
static int |
Inherited |
static int |
InheritOnly |
static int |
NoPropagateInherit |
static int |
ObjectInherit |
static int |
SuccessfulAccess |
Constructor and Description |
---|
ACE()
Default constructor
|
ACE(int type,
int flags,
int mask,
SID sid)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getAccessMask()
Return the access mask
|
java.lang.String |
getAccessMaskAsString()
Return the access mask as a string
|
int |
getFlags()
Return the access control entry flags
|
SID |
getSID()
Return the security id that the access control entry applies to
|
int |
getType()
Return the access control entry type
|
java.lang.String |
getTypeAsString()
Return the ACe type as a string
|
boolean |
hasContainerInherit()
Return the container inherit flag status
|
boolean |
hasInheritOnly()
Return the inherit only flag status
|
boolean |
hasNoPropagateInherit()
Return the no propagate inherit flag status
|
boolean |
hasObjectInherit()
Return object inherit flag status
|
boolean |
isFailedAccess()
Return the failed access flag status
|
boolean |
isInherited()
Return the inherited flag status
|
boolean |
isSuccessfulAccess()
Return the successful access flag status
|
int |
loadACE(byte[] buf,
int off)
Load the access control entry from the specified buffer
|
int |
loadACE(DataBuffer buf)
Load the access control entry from the specified buffer
|
int |
saveACE(byte[] buf,
int off)
Save the access control entry to the specified buffer
|
int |
saveACE(DataBuffer buf)
Save the access control entry to the specified buffer
|
java.lang.String |
toString()
Return the access control entry as a string
|
public static final int Allowed
public static final int Denied
public static final int Audit
public static final int Alarm
public static final int AllowedCompound
public static final int AllowedObject
public static final int DeniedObject
public static final int AuditObject
public static final int AlarmObject
public static final int ObjectInherit
public static final int ContainerInherit
public static final int NoPropagateInherit
public static final int InheritOnly
public static final int Inherited
public static final int SuccessfulAccess
public static final int FailedAccess
public static final int FullAccess
public ACE()
public ACE(int type, int flags, int mask, SID sid)
type
- intflags
- intmask
- intsid
- SIDpublic final int getType()
public final int getFlags()
public final int getAccessMask()
public final SID getSID()
public final boolean hasObjectInherit()
public final boolean hasContainerInherit()
public final boolean hasNoPropagateInherit()
public final boolean hasInheritOnly()
public final boolean isInherited()
public final boolean isSuccessfulAccess()
public final boolean isFailedAccess()
public final int loadACE(byte[] buf, int off) throws LoadException
buf
- byte[]off
- intLoadException
public final int loadACE(DataBuffer buf) throws LoadException
buf
- DataBufferLoadException
public final int saveACE(byte[] buf, int off) throws SaveException
buf
- byte[]off
- intSaveException
public final int saveACE(DataBuffer buf) throws SaveException
buf
- DataBufferSaveException
public final java.lang.String getTypeAsString()
public final java.lang.String getAccessMaskAsString()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.