|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
File Information Interface
Category: Baseline
Inherits from: Client:
Field Summary | |
static int |
FileId
the indentification ID of a given file |
static java.util.Vector |
ListOfFiles
the List of files under the given directory |
static java.util.Vector |
ListOfPermissions
the List of permissions of files under the given directory |
static int |
ParentDirId
the indentification ID of the parent directory of the given file |
Method Summary | |
java.util.Vector |
getListOfFiles()
Get the list of files under the given subdirectory. |
java.util.Vector |
getListOfPermissions()
Get the list of permissions under the given subdirectory. |
int |
getParentDirId()
Get the indentification of the parent directory of the given file and directory. |
boolean |
Set(int FileId)
Set the file ID for the given file. |
boolean |
Set(java.util.Vector ListOfFiles,
int ParentDirId,
java.util.Vector ListOfPermissions)
Set the names of fils, parent directory ID, and a list of permissions assoicated with given file name. |
Field Detail |
public static final int FileId
public static final java.util.Vector ListOfFiles
public static final int ParentDirId
public static final java.util.Vector ListOfPermissions
Method Detail |
public boolean Set(int FileId)
FileId
- the identification of a given file
InvalidFileId
- if FileId is not validpublic boolean Set(java.util.Vector ListOfFiles, int ParentDirId, java.util.Vector ListOfPermissions)
ListOfFiles
- the list of files under the given sub-directoryParentDirId
- the identification of a parent directoryListOfPermissions
- the list of permissions of files under the given sub-directory
InvalidFileName
- if there is any invalid file name in the list of files
InvalidParentDirId
- if ParentDirId is not valid
InvalidPermission
- if there is any invalid permission in the list of permissionspublic java.util.Vector getListOfFiles()
NoInstanceOfObject
- if there is no objectpublic int getParentDirId()
NoInstanceOfObject
- if there is no objectpublic java.util.Vector getListOfPermissions()
NoInstanceOfObject
- if there is no object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |