public class LocalFileAccessToken extends Object implements FileAccessToken
Constructor and Description |
---|
LocalFileAccessToken(int pid)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
finalize()
Finalize
|
int |
getProcessId()
Return the process id
|
boolean |
isAttributesOnly()
Check if the access token is on attributes only file open
|
boolean |
isReleased()
Check if the access token has been released
|
void |
setAttributesOnly(boolean attrOnly)
Set/clear the attributes only flag
|
void |
setReleased(boolean released)
Set the released state of the access token
|
String |
toString()
Return the access token as a string
|
public LocalFileAccessToken(int pid)
pid
- intpublic final int getProcessId()
public final boolean isReleased()
public final void setReleased(boolean released)
released
- booleanpublic final boolean isAttributesOnly()
public final void setAttributesOnly(boolean attrOnly)
attrOnly
- booleanpublic String toString()
Copyright © 2005–2018 Alfresco Software. All rights reserved.