|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DirectoryDescriptor
represents a DirectoryDescriptor for the
FileBrowser.
| Method Summary | |
|---|---|
Command |
buildListDirectoriesCommand(Command template, User u,
int i)
builds a Command which lists the child
DirectoryDescriptors of the DirectoryDescriptor
. |
Command |
buildListFilesCommand(Command template, User u,
int i)
builds a Command which lists the child
FileDescriptors of the DirectoryDescriptor. |
java.util.List<? extends DirectoryDescriptor> |
getChildren(User u)
returns the files of the DirectoryDescriptor. |
VirtualFile |
getDir()
returns the VirtualFile of the
DirectoryDescriptor. |
java.util.List<? extends FileDescriptor> |
getFiles(User u)
returns the files of the DirectoryDescriptor. |
java.lang.String |
getName()
returns the name of the directory. |
java.net.URI |
getURI()
returns the URI for the DirectoryDescriptor. |
void |
setServiceRequest(ServiceRequest request)
sets the current ServiceRequest for the descriptor. |
net.sf.json.JSONObject |
toJSON()
returns a JSON-representation of the DirectoryDescriptor. |
| Methods inherited from interface org.torweg.pulse.bundle.JDOMable |
|---|
deserializeToJDOM |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
java.util.List<? extends DirectoryDescriptor> getChildren(User u)
throws java.io.IOException
DirectoryDescriptor.
u - the user who is accessing the directory
DirectoryDescriptor
java.io.IOException - on I/O errorsgetFiles(User)
java.util.List<? extends FileDescriptor> getFiles(User u)
throws java.io.IOException
DirectoryDescriptor.
u - the user who is accessing the directory
DirectoryDescriptor
java.io.IOException - on I/O errorsgetFiles(User)
Command buildListDirectoriesCommand(Command template, User u,
int i)
Command which lists the child
DirectoryDescriptors of the DirectoryDescriptor
.
template - the Command to be used as a templateu - the User to be used for access checksi - the id of the BrowsingAdapter
Command which lists the child
DirectoryDescriptors of the
DirectoryDescriptor or null, if
User.hasAllowanceFor(Command) returns falseCommand
Command buildListFilesCommand(Command template, User u,
int i)
Command which lists the child
FileDescriptors of the DirectoryDescriptor.
template - the Command to be used as a templateu - the User to be used for access checksi - the id of the BrowsingAdapter
Command which lists the child
FileDescriptors of the
DirectoryDescriptor or null, if
User.hasAllowanceFor(Command) returns falseCommandjava.net.URI getURI()
URI for the DirectoryDescriptor.
URI for the DirectoryDescriptorjava.lang.String getName()
getName in interface INamedvoid setServiceRequest(ServiceRequest request)
ServiceRequest for the descriptor.
request - the current ServiceRequestVirtualFile getDir()
VirtualFile of the
DirectoryDescriptor.
VirtualFile of the
DirectoryDescriptornet.sf.json.JSONObject toJSON()
DirectoryDescriptor.
DirectoryDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||