public abstract class VirtualFileDescriptor<H>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
VirtualFileDescriptor.HandlerBase |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
accept(H handler) |
abstract VirtualFileDescriptor<?> |
copy() |
AccessPermissions |
getAccessPermissions()
Returns file access permissions.
|
java.lang.String |
getPath()
Returns virtual path.
|
boolean |
isDenied()
Returns file denied flag.
|
boolean |
isIndexable()
Returns the indexable flag.
|
boolean |
isSecured()
Returns file security flag.
|
void |
setAccessPermissions(AccessPermissions accessPermissions)
Sets file access permissions.
|
void |
setDenied(boolean denied)
Sets file denied flag.
|
void |
setIndexable(boolean value)
Sets the indexable flag.
|
void |
setPath(java.lang.String path)
Sets virtual path.
|
void |
setSecured(boolean secured)
Sets file security flag.
|
java.lang.String |
toString() |
public java.lang.String getPath()
public void setPath(java.lang.String path)
path - the virtual pathpublic AccessPermissions getAccessPermissions()
public void setAccessPermissions(AccessPermissions accessPermissions)
accessPermissions - the file access permissionspublic boolean isSecured()
true if access to this file must be somehow secured;
false otherwisepublic void setSecured(boolean secured)
secured - if code>true access to this file must be somehow securedpublic boolean isDenied()
true if access to this file is denied;
false otherwisepublic void setDenied(boolean denied)
denied - if true access to this file is deniedpublic boolean isIndexable()
true if file should be included in index;
false otherwisepublic void setIndexable(boolean value)
value - if true this file should be included in indexpublic abstract void accept(H handler) throws java.lang.Exception
java.lang.Exceptionpublic abstract VirtualFileDescriptor<?> copy()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2023. Redwood Software Inc. All rights reserved.