|
JAFS API v2 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of AFSException in org.openafs.jafs |
Methods in org.openafs.jafs that throw AFSException | |
void |
Process.refresh()
Refreshes the properties of this Process object instance with values from the AFS process it represents. |
protected void |
Process.refresh(boolean all)
Refreshes the properties of this Process object instance with values from the AFS process it represents. |
protected void |
Process.refreshInfo()
Refreshes the information fields of this Process to reflect
the current state of the AFS process, such as the start time, the state,
etc. |
void |
Process.createSimple(String executionPath)
Creates this process as a simple process on the server. |
void |
Process.createFS(String executionPath)
Creates this process as a file server process on the server. |
void |
Process.createCron(String executionPath,
String cronTime)
Creates this process as a cron process on the server. |
void |
Process.delete()
Removes this process from the bos server |
void |
Process.stop()
Stops this process. |
void |
Process.start()
Starts this process |
void |
Process.restart()
Restarts this process |
int |
Process.getType()
Returns the process type. |
int |
Process.getGoal()
Returns the process goal. |
int |
Process.getState()
Returns the process execution state. |
long |
Process.getStartTime()
Returns the most recent start time of this process. |
GregorianCalendar |
Process.getStartTimeDate()
Returns the most recent start time of this process. |
long |
Process.getNumberOfStarts()
Returns the number of starts of the process. |
long |
Process.getExitTime()
Returns the most recent exit time of this process. |
GregorianCalendar |
Process.getExitTimeDate()
Returns the most recent exit time of this process. |
long |
Process.getExitErrorTime()
Returns the most recent time this process exited with an error. |
GregorianCalendar |
Process.getExitErrorTimeDate()
Returns the most recent time this process exited with an error. |
long |
Process.getErrorCode()
Returns the error code of the process. |
long |
Process.getErrorSignal()
Returns the error signal of the process. |
boolean |
Process.getStateOk()
Returns whether or not the state of the process is ok. |
boolean |
Process.getStateTooManyErrors()
Returns whether or not the state of the process indicates too many errors. |
boolean |
Process.getStateBadFileAccess()
Returns whether or not the state of the process indicates bad file access. |
protected static void |
Process.getProcessInfo(int cellHandle,
String processName,
Process theProcess)
Fills in the information fields of the provided Process . |
protected static void |
Process.create(int serverHandle,
String processName,
int processType,
String executionPath,
String cronTime,
String notifier)
Creates a processes on a server. |
protected static void |
Process.delete(int serverHandle,
String processName)
Removes a process from a server. |
protected static void |
Process.start(int serverHandle,
String processName)
Start this process. |
protected static void |
Process.restart(int serverHandle,
String processName)
Retart this process. |
protected static void |
Process.stop(int serverHandle,
String processName)
Stop this process. |
void |
Key.refresh()
Refreshes the properties of this Key object instance with values from the AFS key it represents. |
protected void |
Key.refresh(boolean all)
Refreshes the properties of this Key object instance with values from the AFS key it represents. |
protected void |
Key.refreshInfo()
Refreshes the information fields of this Key to reflect the
current state of the AFS server key. |
void |
Key.create(String keyString)
Creates a key with this Key's version number at the server,
using the specified String for the key. |
void |
Key.delete()
Removes the key with this Key's version number from
the server. |
String |
Key.getEncryptionKey()
Returns the encrypted key as a string in octal form. |
long |
Key.getCheckSum()
Returns the check sum of this key. |
GregorianCalendar |
Key.getLastModDate()
Returns the last modification date of this key. |
protected static void |
Key.getKeyInfo(int serverHandle,
int version,
Key key)
Fills in the information fields of the provided Key . |
protected static void |
Key.create(int cellHandle,
int serverHandle,
int versionNumber,
String keyString)
Create a server key. |
protected static void |
Key.delete(int serverHandle,
int versionNumber)
Delete a server key. |
void |
Volume.refresh()
Refreshes the properties of this Volume object instance with values from the AFS volume it represents. |
protected void |
Volume.refresh(boolean all)
Refreshes the properties of this Volume object instance with values from the AFS volume it represents. |
protected void |
Volume.refreshInfo()
Refreshes the information fields of this Volume to reflect
the current state of the AFS volume. |
void |
Volume.create(int quota)
Creates a new volume on the server and partition given upon construction. |
Volume |
Volume.createBackup()
Creates a backup volume for this volume. |
Volume |
Volume.createReadOnly(Partition sitePartition)
Creates a readonly site for this volume on the specified server and partition. |
void |
Volume.delete()
Deletes the volume from the cell. |
void |
Volume.release()
Releases this volume, which updates the read-only copies of it. |
void |
Volume.release(boolean forceComplete)
Releases this volume, which updates the read-only copies of it. |
void |
Volume.dump(String fileName,
GregorianCalendar dumpSince)
Dumps this volume to a file. |
void |
Volume.dump(String fileName)
Dumps this volume to a file. |
void |
Volume.restore(String fileName,
boolean incremental)
Restores a file to this volume. |
void |
Volume.restore(String fileName,
boolean incremental,
int id)
Restores a file to this volume. |
void |
Volume.mount()
Mounts this volume, bringing it online and making it accessible. |
void |
Volume.unmount()
Unmounts this volume, bringing it offline and making it inaccessible. |
void |
Volume.lock()
Locks the VLDB enrty for this volume |
void |
Volume.unlock()
Unlocks the VLDB entry for this volume |
void |
Volume.moveTo(Partition newPartition)
Moves this volume to the specified partition (which indirectly specifies a new server, as well). |
void |
Volume.rename(String newName)
Renames this volume. |
void |
Volume.salvage()
Salvages (restores consistency to) this volume. |
void |
Volume.createMountPoint(String directory)
Creates a read-write mount point for this volume. |
void |
Volume.createMountPoint(String directory,
boolean readWrite)
Creates a mount point for this volume. |
int |
Volume.getID()
Returns the id of this volume. |
int |
Volume.getReadWriteID()
Returns the read-write ID of this volume |
int |
Volume.getReadOnlyID()
Returns the read-only ID of this volume |
int |
Volume.getBackupID()
Returns the backup ID of this volume |
GregorianCalendar |
Volume.getCreationDate()
Returns the date the volume was created |
GregorianCalendar |
Volume.getLastUpdateDate()
Returns the date the volume was last updated. |
GregorianCalendar |
Volume.getCopyCreationDate()
Returns the date the volume was copied. |
int |
Volume.getAccessesSinceMidnight()
Returns the number of accesses since midnight. |
int |
Volume.getFileCount()
Returns file count. |
int |
Volume.getCurrentSize()
Returns current volume size in K. |
int |
Volume.getTotalFreeSpace()
Returns the difference between quota and current volume size (in K). |
int |
Volume.getQuota()
Returns this volume's quota, expressed in kilobyte blocks (1024 kilobyte blocks equal one megabyte). |
boolean |
Volume.isQuotaUnlimited()
Tests whether this volume's quota is configured as unlimited. |
int |
Volume.getStatus()
Returns volume status. |
int |
Volume.getDisposition()
Returns volume disposition. |
int |
Volume.getType()
Returns volume type. |
void |
Volume.setQuota(int quota)
Sets quota of volume, 0 denotes an unlimited quota. |
protected static void |
Volume.getVolumeInfo(int cellHandle,
int serverHandle,
int partition,
int volId,
Volume theVolume)
Fills in the information fields of the provided Volume . |
protected static int |
Volume.create(int cellHandle,
int serverHandle,
int partition,
String volumeName,
int quota)
Creates a volume on a particular partition. |
protected static void |
Volume.delete(int cellHandle,
int serverHandle,
int partition,
int volId)
Deletes a volume from a particular partition. |
protected static void |
Volume.createBackupVolume(int cellHandle,
int volId)
Creates a backup volume for the specified regular volume. |
protected static void |
Volume.createReadOnlyVolume(int cellHandle,
int serverHandle,
int partition,
int volId)
Creates a read-only volume for the specified regular volume. |
protected static void |
Volume.deleteReadOnlyVolume(int cellHandle,
int serverHandle,
int partition,
int volId)
Deletes a read-only volume for the specified regular volume. |
protected static void |
Volume.changeQuota(int cellHandle,
int serverHandle,
int partition,
int volId,
int newQuota)
Changes the quota of the specified volume. |
protected static void |
Volume.move(int cellHandle,
int fromServerHandle,
int fromPartition,
int toServerHandle,
int toPartition,
int volId)
Move the specified volume to a different site. |
protected static void |
Volume.release(int cellHandle,
int volId,
boolean forceComplete)
Releases the specified volume that has readonly volume sites. |
protected static void |
Volume.dump(int cellHandle,
int serverHandle,
int partition,
int volId,
int startTime,
String dumpFile)
Dumps the specified volume to a file. |
protected static void |
Volume.restore(int cellHandle,
int serverHandle,
int partition,
int volId,
String volumeName,
String dumpFile,
boolean incremental)
Restores the specified volume from a dump file. |
protected static void |
Volume.rename(int cellHandle,
int volId,
String newVolumeName)
Renames the specified read-write volume. |
protected static void |
Volume.mount(int serverHandle,
int partition,
int volId,
int sleepTime,
boolean offline)
"Mounts" the specified volume, bringing it online. |
protected static void |
Volume.unmount(int serverHandle,
int partition,
int volId)
"Unmounts" the specified volume, bringing it offline. |
protected static void |
Volume.lock(int cellHandle,
int volId)
Locks the VLDB entry specified volume |
protected static void |
Volume.unlock(int cellHandle,
int volId)
Unlocks the VLDB entry of the specified volume |
protected static int |
Volume.translateNameToID(int cellHandle,
String name,
int volumeType)
Translates a volume name into a volume id |
void |
Partition.refresh()
Refreshes the properties of this Partition object instance with values from the AFS partition it represents. |
protected void |
Partition.refresh(boolean all)
Refreshes the properties of this Partition object instance with values from the AFS partition it represents. |
protected void |
Partition.refreshInfo()
Refreshes the information fields of this Partition to
reflect the current state of the AFS partition. |
protected void |
Partition.refreshVolumes()
Obtains the most current list of Volume objects of this
partition. |
protected void |
Partition.refreshVolumeNames()
Obtains the most current list of volume names of this partition. |
void |
Partition.syncPartition()
Syncs this partition to the VLDB. |
void |
Partition.syncVLDB()
Syncs the VLDB to this partition. |
void |
Partition.salvage()
Salvages (restores consistency to) this partition. |
int |
Partition.getVolumeCount()
Returns the number of volumes contained in this partition. |
Volume |
Partition.getVolume(String name)
Retrieves the Volume object (which is an abstract
representation of an actual AFS volume of this partition) designated
by name (i.e. |
Volume[] |
Partition.getVolumes()
Retrieves an array containing all of the Volume objects
associated with this Partition , each of which is an
abstract representation of an actual AFS volume of the AFS partition.
|
Volume[] |
Partition.getVolumes(int startIndex,
int length)
Returns an array containing a subset of the Volume objects
associated with this Partition , each of which is an abstract
representation of an actual AFS volume of the AFS partition. |
String[] |
Partition.getVolumeNames()
Retrieves an array containing all of the names of volumes associated with this Partition .
|
String[] |
Partition.getVolumeNames(int startIndex,
int length)
Returns an array containing a subset of the names of volumes associated with this Partition . |
int |
Partition.getID()
Returns the id of this partition (i.e. |
String |
Partition.getDeviceName()
Returns the device name of this partition (i.e. |
int |
Partition.getLockFileDescriptor()
Returns the lock file descriptor of this partition |
int |
Partition.getTotalSpace()
Returns the total space on this partition. |
int |
Partition.getTotalFreeSpace()
Returns the total free space on this partition. |
int |
Partition.getUsedSpace()
Returns the total used space on this partition. |
int |
Partition.getTotalQuota()
Returns the total combined quota of all volumes on this partition, unless a volume has configured an unlimited quota at which case an AFSException is thrown.
|
int |
Partition.getTotalQuota(boolean ignoreUnlimitedQuotas)
Returns the total combined quota of all volumes on this partition, ignoring volumes with unlimited quotas, if
ignoreUnlimitedQuotas is true ; otherwise an
AFSException is thrown if a volume has an unlimited quota.
|
boolean |
Partition.hasVolumeWithUnlimitedQuota()
Tests whether this partition contains a volume that has an unlimited quota configured. |
protected String |
Partition.getInfoVolumes()
Returns a String containing the String
representations of all the volumes of this Partition . |
protected static void |
Partition.getPartitionInfo(int cellHandle,
int serverHandle,
int partition,
Partition thePartition)
Fills in the information fields of the provided Partition . |
protected static int |
Partition.getVolumeCount(int cellHandle,
int serverHandle,
int partition)
Returns the total number of volumes hosted by this partition. |
protected static int |
Partition.getVolumesBegin(int cellHandle,
int serverHandle,
int partition)
Begin the process of getting the volumes on a partition. |
protected static int |
Partition.getVolumesBeginAt(int cellHandle,
int serverHandle,
int partition,
int index)
Begin the process of getting the volumes on a partition. |
protected static String |
Partition.getVolumesNextString(int iterationId)
Returns the next volume of the partition. |
protected static int |
Partition.getVolumesNext(int iterationId,
Volume theVolume)
Fills the next volume object of the partition. |
protected static int |
Partition.getVolumesAdvanceTo(int iterationId,
Volume theVolume,
int advanceCount)
Fills the next volume object of the partition. |
protected static void |
Partition.getVolumesDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static int |
Partition.translateNameToID(String name)
Translates a partition name into a partition id |
protected static String |
Partition.translateIDToName(int id)
Translates a partition id into a partition name |
void |
Server.refresh()
Refreshes the properties of this Server object instance with values from the AFS server it represents. |
protected void |
Server.refresh(boolean all)
Refreshes the properties of this Server object instance with values from the AFS server it represents. |
protected void |
Server.refreshInfo()
Refreshes the information fields of this Server to
reflect the current state of the AFS server. |
protected void |
Server.refreshGeneralRestart()
Refreshes the general restart time fields of this Server
to reflect the current state of the AFS server. |
protected void |
Server.refreshBinaryRestart()
Refreshes the binary restart time fields of this Server
to reflect the current state of the AFS server. |
protected void |
Server.refreshPartitions()
Obtains the most current list of Partition objects
of this server. |
protected void |
Server.refreshPartitions(boolean refreshVolumes)
Obtains the most current list of Partition objects of
this server. |
protected void |
Server.refreshPartitionNames()
Obtains the most current list of partition names of this server. |
protected void |
Server.refreshAdminNames()
Obtains the most current list of bos admin names of this server. |
protected void |
Server.refreshAdmins()
Obtains the most current list of admin User objects of
this server. |
protected void |
Server.refreshKeys()
Obtains the most current list of Key objects of this server. |
protected void |
Server.refreshProcessNames()
Obtains the most current list of process names of this server. |
protected void |
Server.refreshProcesses()
Obtains the most current list of Process objects of
this server. |
void |
Server.addAdmin(User admin)
Add a bos admin to the UserList file of this server, in order to given the AFS user represented by admin full bos
administrative privileges on this server. |
void |
Server.removeAdmin(User admin)
Remove a bos admin from the UserList file of this server, in order to take away from the AFS user represented by admin bos
administrative privileges on this machine. |
void |
Server.syncServer()
Syncs this server to the VLDB. |
void |
Server.syncVLDB()
Syncs the VLDB to this server. |
void |
Server.salvage()
Salvages (restores consistency to) this server. |
void |
Server.startAllProcesses()
Starts up all bos processes on this server. |
void |
Server.stopAllProcesses()
Stops all bos processes on this server. |
void |
Server.restartAllProcesses()
Restarts all bos processes on this server. |
void |
Server.restartBosServer()
Restarts bos server and all bos processes on this server. |
String |
Server.getLog(String logLocation)
Gets the contents of a log file, in one large String .
|
void |
Server.close()
Unauthenticates all server-related tokens that have been obtained by this Server object, and shuts this server object down.
|
int |
Server.getAdminCount()
Returns the number of BOS administrators assigned to this server. |
User[] |
Server.getAdmins()
Retrieves an array containing all of the admin User objects
associated with this Server , each of which are an abstract
representation of an actual bos administrator of the AFS server.
|
String[] |
Server.getAdminNames()
Retrieves an array containing all of the names of bos admins associated with this Server . |
int |
Server.getPartitionCount()
Returns the number of partitions on this server. |
Partition |
Server.getPartition(String name)
Retrieves the Partition object (which is an abstract
representation of an actual AFS partition of this server) designated
by name (i.e. |
Partition[] |
Server.getPartitions()
Retrieves an array containing all of the Partition objects
associated with this Server , each of which are an abstract
representation of an actual AFS partition of the AFS server.
|
String[] |
Server.getPartitionNames()
Retrieves an array containing all of the names of partitions associated with this Server (i.e. |
Key |
Server.getKey(int keyVersion)
Retrieves the Key object (which is an abstract
representation of an actual AFS partition of this server) designated
by nkeyVersion . |
int |
Server.getKeyCount()
Returns the number of keys on this server. |
Key[] |
Server.getKeys()
Retrieves an array containing all of the Key objects
associated with this Server , each of which are an abstract
representation of an actual AFS key of the AFS server.
|
Process |
Server.getProcess(String name)
Retrieves the Process object (which is an abstract
representation of an actual AFS process of this server) designated
by name (i.e. |
int |
Server.getProcessCount()
Returns the number of processes hosted by this server. |
Process[] |
Server.getProcesses()
Retrieves an array containing all of the Process objects
associated with this Server , each of which are an abstract
representation of an actual AFS process of the AFS server.
|
String[] |
Server.getProcessNames()
Retrieves an array containing all of the names of processes associated with this Server (i.e. |
boolean |
Server.isDatabase()
Returns whether or not this server is a database machine, meaning it runs processes such as the "kaserver" and "vlserver", and participates in elections. |
boolean |
Server.isFileServer()
Returns whether or not this server is a file server machine, meaning it runs the "fs" process and stores AFS volumes. |
boolean |
Server.isBadDatabase()
Returns whether or not this server is a database machine AND either it isn't in reality (e.g. it's incorrectly configured) or it's currently down. |
boolean |
Server.isBadFileServer()
Returns whether this machine thinks it's a file server AND either it isn't in reality (e.g. it's incorrectly configured) or it's currently down. |
String[] |
Server.getIPAddresses()
Returns this server's IP address as a String. |
Server.ExecutableTime |
Server.getGeneralRestartTime()
Returns the BOS Server's general restart time in the form of an ExecutableTime object. |
Server.ExecutableTime |
Server.getBinaryRestartTime()
Returns the BOS Server's binary restart time in the form of an ExecutableTime object. |
int |
Server.getTotalSpace()
Returns the total space on this server (a sum of the space of all the partitions associated with this server). |
int |
Server.getTotalFreeSpace()
Returns the total free space on this server (a sum of the free space of all the partitions associated with this server). |
int |
Server.getTotalUsedSpace()
Returns the total used space on this server (a sum of the used space of all the partitions associated with this server). |
protected int |
Server.getVosHandle()
Returns this server's vos handle. |
protected int |
Server.getBosHandle()
Returns this server's bos handle. |
void |
Server.setGeneralRestartTime(Server.ExecutableTime executableTime)
Sets the BOS general restart time. |
void |
Server.setBinaryRestartTime(Server.ExecutableTime executableTime)
Sets the BOS binary restart time. |
protected String |
Server.getInfoPartitions()
Returns a String containing the String
representations of all the partitions of this Server . |
protected String |
Server.getInfoKeys()
Returns a String containing the String
representations of all the keys of this Server . |
protected String |
Server.getInfoProcesses()
Returns a String containing the String
representations of all the processes of this Server . |
protected static int |
Server.getVosServerHandle(int cellHandle,
String serverName)
Opens a server for administrative vos use, based on the cell handle provided. |
protected static void |
Server.closeVosServerHandle(int vosHandle)
Closes the given currently open vos server handle. |
protected static int |
Server.getBosServerHandle(int cellHandle,
String serverName)
Opens a server for administrative bos use, based on the cell handle provided. |
protected static void |
Server.closeBosServerHandle(int bosHandle)
Closes the given currently open bos server handle. |
protected static void |
Server.getServerInfo(int cellHandle,
String name,
Server server)
Fills in the information fields of the provided Server . |
protected static int |
Server.getPartitionCount(int cellHandle,
int serverHandle)
Returns the total number of partitions hosted by the server denoted by serverHandle , if the server is a fileserver. |
protected static int |
Server.getPartitionsBegin(int cellHandle,
int serverHandle)
Begin the process of getting the partitions on a server. |
protected static String |
Server.getPartitionsNextString(int iterationId)
Returns the next partition of the server. |
protected static int |
Server.getPartitionsNext(int iterationId,
Partition thePartition)
Fills the next partition object of the server. |
protected static void |
Server.getPartitionsDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static int |
Server.getProcessCount(int serverHandle)
Returns the total number of processes hosted by the server denoted by serverHandle . |
protected static int |
Server.getProcessesBegin(int serverHandle)
Begin the process of getting the processes on a server. |
protected static String |
Server.getProcessesNextString(int iterationId)
Returns the next process of the server. |
protected static int |
Server.getProcessesNext(int serverHandle,
int iterationId,
Process theProcess)
Fills the next process object of the server. |
protected static void |
Server.getProcessesDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static int |
Server.getKeyCount(int serverHandle)
Returns the total number of keys hosted by the server denoted by serverHandle . |
protected static int |
Server.getKeysBegin(int serverHandle)
Begin the process of getting the keys of a server. |
protected static int |
Server.getKeysNext(int iterationId,
Key theKey)
Returns the next key of the server. |
protected static void |
Server.getKeysDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static int |
Server.getBosAdminCount(int serverHandle)
Returns the total number of BOS administrators associated with the server denoted by serverHandle . |
protected static int |
Server.getBosAdminsBegin(int serverHandle)
Begin the process of getting the bos amdinistrators on a server. |
protected static String |
Server.getBosAdminsNextString(int iterationId)
Returns the next bos admin of the server. |
protected static int |
Server.getBosAdminsNext(int cellHandle,
int iterationId,
User theUser)
Returns the next bos admin of the server. |
protected static void |
Server.getBosAdminsDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static void |
Server.addBosAdmin(int serverHandle,
String adminName)
Adds the given to name to the list of bos administrators on that server. |
protected static void |
Server.removeBosAdmin(int serverHandle,
String adminName)
Removes the given to name from the list of bos administrators on that server. |
protected static void |
Server.salvage(int cellHandle,
int serverHandle,
String partitionName,
String volName,
int numSalvagers,
String tempDir,
String logFile,
boolean inspectAllVolumes,
boolean removeBadlyDamaged,
boolean writeInodes,
boolean writeRootInodes,
boolean forceDirectory,
boolean forceBlockReads)
Salvages (restores consistency to) a volume, partition, or server |
protected static void |
Server.syncServerWithVLDB(int cellHandle,
int serverHandle,
int partition)
Synchronizes a particular server with the volume location database. |
protected static void |
Server.syncVLDBWithServer(int cellHandle,
int serverHandle,
int partition,
boolean forceDeletion)
Synchronizes the volume location database with a particular server. |
protected static String |
Server.getLog(int serverHandle,
String logLocation)
Retrieves a specified bos log from a server. |
protected static void |
Server.startAllProcesses(int serverHandle)
Start all server processes. |
protected static void |
Server.restartAllProcesses(int serverHandle,
boolean restartBosServer)
Restart all server processes. |
protected static void |
Server.stopAllProcesses(int serverHandle)
Stop all server processes. |
void |
Group.create(String ownerName)
Creates the PTS entry for a new group in this cell. |
void |
Group.create(String ownerName,
int gid)
Creates the PTS entry for a new group in this cell. |
void |
Group.delete()
Deletes the PTS entry for a group in this cell. |
void |
Group.flushInfo()
Flushes the current information of this Group object to disk.
|
void |
Group.addMember(User theUser)
Add the specified member to this group. |
void |
Group.removeMember(User theUser)
Remove the specified member from this group. |
void |
Group.changeOwner(User theOwner)
Change the owner of this group. |
void |
Group.changeOwner(Group theOwner)
Change the owner of this group. |
void |
Group.rename(String newName)
Change the name of this group. |
void |
Group.refresh()
Refreshes the properties of this Group object instance with values from the AFS group it represents. |
protected void |
Group.refresh(boolean all)
Refreshes the properties of this Group object instance with values from the AFS group it represents. |
protected void |
Group.refreshInfo()
Refreshes the information fields of this Group to reflect
the current state of the AFS group. |
protected void |
Group.refreshMembers()
Refreshes the current information about the User objects
belonging to this group. |
protected void |
Group.refreshMemberNames()
Refreshes the current information about the names of members belonging to this group. |
protected void |
Group.refreshGroupsOwned()
Refreshes the current information about the Group objects the
group owns. |
protected void |
Group.refreshGroupsOwnedNames()
Refreshes the current information about the names of groups the group owns. |
int |
Group.getUID()
Returns the numeric AFS id of this group. |
User[] |
Group.getMembers()
Returns an array of the User object members of this group. |
String[] |
Group.getMemberNames()
Returns an array of the member names of this group. |
Group[] |
Group.getGroupsOwned()
Returns an array of the Group objects this group owns. |
String[] |
Group.getGroupsOwnedNames()
Returns an array of the group names this group owns. |
int |
Group.getMembershipCount()
Returns the number of members of this group. |
PTSEntry |
Group.getOwner()
PTS: Returns the owner of this group in the form of a PTSEntry .
|
PTSEntry |
Group.getCreator()
PTS: Returns the creator of this group in the form of a PTSEntry .
|
int |
Group.getListStatus()
Returns who can list the status (pts examine) of this group. |
int |
Group.getListGroupsOwned()
Returns who can list the groups owned (pts listowned) by this group. |
int |
Group.getListMembership()
Returns who can list the users (pts membership) that belong to this group. |
int |
Group.getListAdd()
Returns who can add members (pts adduser) to this group. |
int |
Group.getListDelete()
Returns who can delete members (pts removemember) from this group. |
void |
Group.setListStatus(int value)
Sets who can list the status (pts examine) of this group. |
void |
Group.setListGroupsOwned(int value)
Sets who can list the groups owned (pts listowned) by this group. |
void |
Group.setListMembership(int value)
Sets who can list the users (pts membership) that belong to this group. |
void |
Group.setListAdd(int value)
Sets who can add members (pts adduser) to this group. |
void |
Group.setListDelete(int value)
Sets who can delete members (pts removemember) from this group. |
protected static void |
Group.create(int cellHandle,
String groupName,
String ownerName,
int gid)
Creates the PTS entry for a new group. |
protected static void |
Group.delete(int cellHandle,
String groupName)
Deletes the PTS entry for a group. |
protected static void |
Group.getGroupInfo(int cellHandle,
String name,
Group group)
Fills in the information fields of the provided Group .
|
protected static void |
Group.setGroupInfo(int cellHandle,
String name,
Group theGroup)
Sets the information values of this AFS group to be the parameter values. |
protected static int |
Group.getGroupMembersBegin(int cellHandle,
String name)
Begin the process of getting the users that belong to the group. |
protected static String |
Group.getGroupMembersNextString(int iterationId)
Returns the next members that belongs to the group. |
protected static int |
Group.getGroupMembersNext(int cellHandle,
int iterationId,
User theUser)
Fills the next user object belonging to that group. |
protected static void |
Group.getGroupMembersDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static void |
Group.addMember(int cellHandle,
String groupName,
String userName)
Adds a user to the specified group. |
protected static void |
Group.removeMember(int cellHandle,
String groupName,
String userName)
Removes a user from the specified group. |
protected static void |
Group.changeOwner(int cellHandle,
String groupName,
String ownerName)
Change the owner of the specified group. |
protected static void |
Group.rename(int cellHandle,
String oldGroupName,
String newGroupName)
Change the name of the specified group. |
PTSEntry |
PTSEntry.getCreator()
Returns the creator of this PTS user or group. |
PTSEntry |
PTSEntry.getOwner()
Returns the owner of this PTS user or group. |
int |
PTSEntry.getUID()
Returns the numeric AFS id of this user or group. |
void |
User.create(String password)
Creates the kas and pts entries for a new user in this cell. |
void |
User.create(String password,
int uid)
Creates the kas and pts entries for a new user in this cell. |
void |
User.delete()
Deletes the pts and kas entries for a user in this cell. |
void |
User.unlock()
Unlocks the given user if they were locked out of the cell. |
void |
User.flushInfo()
Flushes the current information of this User object to disk.
|
void |
User.rename(String newName)
Change the name of this user. |
void |
User.refresh()
Refreshes the properties of this User object instance with values from the AFS user it represents. |
protected void |
User.refresh(boolean all)
Refreshes the properties of this User object instance with values from the AFS user it represents. |
protected void |
User.refreshInfo()
Refreshes the information fields of this User to reflect
the current state of the AFS user. |
protected void |
User.refreshGroupNames()
Refreshes the current information about the group names to which the user belongs. |
protected void |
User.refreshGroups()
Refreshes the current information about the group objects to which the user belongs. |
protected void |
User.refreshGroupsOwnedNames()
Refreshes the current information about the group names that the user owns. |
protected void |
User.refreshGroupsOwned()
Refreshes the current information about the group objects that the user \ owns. |
boolean |
User.isKAS()
Returns whether or not this user has a kas entry. |
boolean |
User.isPTS()
Returns whether or not this user has a pts entry. |
Group[] |
User.getGroups()
PTS: Returns an array of the Group objects
to which this user belongs. |
int |
User.getGroupsOwnedCount()
PTS: Returns the total count of groups this user owns. |
Group[] |
User.getGroupsOwned()
PTS: Returns an array of the Group objects
this user owns. |
String[] |
User.getGroupNames()
PTS: Returns a String array of the group names
to which this user belongs. |
String[] |
User.getGroupsOwnedNames()
PTS: Returns a String array of the group names
this user owns. |
int |
User.getUID()
PTS: Returns the numeric AFS id of this user. |
int |
User.getGroupCreationQuota()
PTS: Returns how many more groups this user is allowed to create |
int |
User.getGroupMembershipCount()
PTS: Returns the number of groups to which this user belongs. |
PTSEntry |
User.getOwner()
PTS: Returns the owner of this user in the form of a PTSEntry .
|
PTSEntry |
User.getCreator()
PTS: Returns the creator of this user in the form of a PTSEntry .
|
int |
User.getListStatus()
PTS: Returns who can list the status (pts examine) of this user. |
int |
User.getListGroupsOwned()
PTS: Returns who can list the groups owned (pts listowned) by this user. |
int |
User.getListMembership()
PTS: Returns who can list the groups (pts membership) to which this user belongs. |
boolean |
User.isAdmin()
KAS: Returns whether or not this user has kas administrative privileges |
boolean |
User.willGrantTickets()
KAS: Returns whether or not TGS will issue tickets for this user |
boolean |
User.canEncrypt()
KAS: Returns whether or not TGS can use this users ticket for an encryption key |
boolean |
User.canChangePassword()
KAS: Returns whether or not the user can change their password |
boolean |
User.canReusePassword()
KAS: Returns whether or not the user can reuse their password |
int |
User.getUserExpiration()
KAS: Returns the date and time the user expires. |
GregorianCalendar |
User.getUserExpirationDate()
KAS: Returns the date and time the user expires. |
int |
User.getLastModTime()
KAS: Returns the date and time (in UTC) the user's KAS entry was last modified. |
GregorianCalendar |
User.getLastModTimeDate()
KAS: Returns the date and time the user was last modified. |
String |
User.getLastModName()
KAS: Returns the name of the user that last modified this user. |
GregorianCalendar |
User.getLastChangePasswordTimeDate()
KAS: Returns the last date and time the user changed its password. |
int |
User.getLastChangePasswordTime()
KAS: Returns the last date and time (in UTC) the user changed its password. |
int |
User.getMaxTicketLifetime()
KAS: Returns the maximum lifetime of a ticket issued to this user (in seconds). |
int |
User.getDaysToPasswordExpire()
KAS: Returns the number of days a password is valid before it expires. |
int |
User.getFailLoginCount()
KAS: Returns the number of failed login attempts this user is allowed before being locked out. |
int |
User.getLockTime()
KAS: Returns the amount of time (in seconds) a user is locked out when it exceeds the maximum number of allowable failed login attempts. |
String |
User.getEncryptionKey()
KAS: Returns the encryption key, in octal form, of this user. |
long |
User.getKeyCheckSum()
KAS: Returns the check sum of this user's key. |
int |
User.getKeyVersion()
KAS: Returns the version number of the user's key. |
int |
User.getLockedUntil()
KAS: Returns the date and time (in UTC) at which the user stops being locked out. |
GregorianCalendar |
User.getLockedUntilDate()
KAS: Returns the date and time at which the user stops being locked out. |
void |
User.setListStatus(int value)
PTS: Sets who can list the status (pts examine) of this user. |
void |
User.setListGroupsOwned(int value)
PTS: Sets who can list the groups owned (pts listowned) by this user. |
void |
User.setListMembership(int value)
PTS: Sets who can list the groups (pts membership) to which this user belongs. |
void |
User.setPassword(String newPassword)
Sets the password of this user to something new. |
protected String |
User.getInfoGroups()
Returns a String containing the String
representations of all the groups to which this user belongs. |
protected String |
User.getInfoGroupsOwned()
Returns a String containing the String
representations of all the groups that this user owns. |
protected static void |
User.create(int cellHandle,
String userName,
String password,
int uid)
Creates the kas and pts entries for a new user. |
protected static void |
User.delete(int cellHandle,
String userName)
Deletes the pts and kas entry for a user. |
protected static void |
User.unlock(int cellHandle,
String userName)
Unlocks a user. |
protected static void |
User.getUserInfo(int cellHandle,
String name,
User user)
Fills in the information fields of the provided User .
|
protected static void |
User.setUserInfo(int cellHandle,
String name,
User theUser)
Sets the information values of this AFS user to be the parameter values. |
protected static void |
User.rename(int cellHandle,
String oldName,
String newName)
Renames the given user. |
protected static void |
User.setPassword(int cellHandle,
String userName,
String newPassword)
Sets the password of the given user. |
protected static int |
User.getUserGroupsBegin(int cellHandle,
String name)
Begin the process of getting the groups to which the user belongs. |
protected static String |
User.getUserGroupsNextString(int iterationId)
Returns the next group to which the user belongs. |
protected static int |
User.getUserGroupsNext(int cellHandle,
int iterationId,
Group theGroup)
Fills the next group object of which the user belongs. |
protected static void |
User.getUserGroupsDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static int |
User.getGroupsOwnedCount(int cellHandle,
String name)
Returns the total number of groups owned by the user. |
protected static int |
User.getGroupsOwnedBegin(int cellHandle,
String name)
Begin the process of getting the groups that a user or group owns. |
protected static String |
User.getGroupsOwnedNextString(int iterationId)
Returns the next group the user or group owns. |
protected static int |
User.getGroupsOwnedNext(int cellHandle,
int iterationId,
Group theGroup)
Fills the next group object that the user or group owns. |
protected static void |
User.getGroupsOwnedDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
void |
Cell.refresh()
Refreshes the properties of this Cell object instance with values from the AFS cell it represents. |
protected void |
Cell.refresh(boolean all)
Refreshes the properties of this Cell object instance with values from the AFS cell it represents. |
protected void |
Cell.refreshInfo()
Sets all the information fields of this Cell object,
such as max group and user ids, to their most current values. |
protected void |
Cell.refreshUsers()
Obtains the most current list of User objects of this cell.
|
protected void |
Cell.refreshUserNames()
Obtains the most current list of user names of this cell. |
protected void |
Cell.refreshGroups()
Obtains the most current list of Group objects of this cell. |
protected void |
Cell.refreshGroupNames()
Obtains the most current list of group names of this cell. |
protected void |
Cell.refreshServers()
Obtains the most current list of Server objects of this cell. |
protected void |
Cell.refreshServerNames()
Obtains the most current list of server names of this cell. |
void |
Cell.close()
Unauthenticates this Token object associated with this Cell and deletes all of its stored information. |
User |
Cell.getUser(String name)
Retrieves the User object (which is an abstract
representation of an actual AFS user) designated by name .
|
int |
Cell.getUserCount()
Returns the total number of users who are registered with KAS and PTS, without duplicates. |
User[] |
Cell.getUsers()
Retrieves an array containing all of the User objects
associated with this Cell , each of which are an abstract
representation of an actual user of the AFS cell. |
User[] |
Cell.getUsers(int startIndex,
int length)
Returns an array containing a subset of the User objects
associated with this Cell , each of which is an abstract
representation of an actual AFS user of the AFS cell. |
String[] |
Cell.getUserNames()
Retrieves an array containing all of the names of users associated with this Cell . |
String[] |
Cell.getUserNames(int startIndex,
int length)
Returns an array containing a subset of the names of users associated with this Cell . |
Group |
Cell.getGroup(String name)
Retrieves the Group object (which is an abstract
representation of an actual AFS group) designated by name .
|
int |
Cell.getGroupCount()
Returns the total number of groups associated with this Cell. |
Group[] |
Cell.getGroups()
Retrieves an array containing all of the Group objects
associated with this Cell , each of which are an abstract
representation of an actual group of the AFS cell. |
Group[] |
Cell.getGroups(int startIndex,
int length)
Returns an array containing a subset of the Group objects
associated with this Cell , each of which is an abstract
representation of an actual AFS group of the AFS cell. |
String[] |
Cell.getGroupNames()
Retrieves an array containing all of the names of groups associated with this Cell . |
String[] |
Cell.getGroupNames(int startIndex,
int length)
Returns an array containing a subset of the names of groups associated with this Cell . |
Server |
Cell.getServer(String name)
Retrieves the Server object (which is an abstract
representation of an actual AFS server) designated by name .
|
int |
Cell.getServerCount()
Returns the total number of servers associated with this Cell. |
Server[] |
Cell.getServers()
Retrieves an array containing all of the Server objects
associated with this Cell , each of which are an abstract
representation of an actual server of the AFS cell. |
String[] |
Cell.getServerNames()
Retrieves an array containing all of the names of servers associated with this Cell . |
int |
Cell.getMaxGroupID()
Returns the maximum group ID that's been used within the cell. |
int |
Cell.getMaxUserID()
Returns the maximum user ID that's been used within the cell. |
GregorianCalendar |
Cell.getTokenExpiration()
Returns the expiration time of the authentication token being used by this Cell object. |
int |
Cell.getCellHandle()
Returns the cell handle of this cell. |
void |
Cell.setMaxGroupID(int maxID)
Sets the maximum group ID that's been used within the cell. |
void |
Cell.setMaxUserID(int maxID)
Sets the maximum user ID that's been used within the cell. |
protected String |
Cell.getInfoUsers()
Returns a String containing the String
representations of all the users of this Cell . |
protected String |
Cell.getInfoGroups()
Returns a String containing the String
representations of all the groups of this Cell . |
protected String |
Cell.getInfoServers()
Returns a String containing the String
representations of all the servers of this Cell . |
protected static int |
Cell.getKasUserCount(int cellHandle)
Returns the total number of KAS users belonging to the cell denoted by cellHandle . |
protected static int |
Cell.getKasUsersBegin(int cellHandle)
Begin the process of getting the kas users that belong to the cell. |
protected static int |
Cell.getKasUsersBeginAt(int cellHandle,
int startIndex)
Begin the process of getting the KAS users, starting at startIndex , that belong to the cell.
|
protected static String |
Cell.getKasUsersNextString(int iterationId)
Returns the next kas user of the cell. |
protected static int |
Cell.getKasUsersNext(int cellHandle,
int iterationId,
User theUser)
Fills the next kas user object of the cell. |
protected static void |
Cell.getKasUsersDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static int |
Cell.getPtsUserCount(int cellHandle)
Returns the total number of PTS users belonging to the cell denoted by cellHandle . |
protected static int |
Cell.getPtsOnlyUserCount(int cellHandle)
Returns the total number of PTS users, belonging to the cell denoted by cellHandle , that are not in KAS. |
protected static int |
Cell.getPtsUsersBegin(int cellHandle)
Begin the process of getting the pts users that belong to the cell. |
protected static String |
Cell.getPtsUsersNextString(int iterationId)
Returns the next pts user of the cell. |
protected static String |
Cell.getPtsOnlyUsersNextString(int iterationId,
int cellHandle)
Returns the next pts user (who is not a kas user) of the cell. |
protected static int |
Cell.getPtsUsersNext(int cellHandle,
int iterationId,
User theUser)
Fills the next pts user object of the cell. |
protected static int |
Cell.getPtsOnlyUsersNext(int cellHandle,
int iterationId,
User theUser)
Fills the next pts user (who does not have a kas entry) object of the cell. |
protected static void |
Cell.getPtsUsersDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static int |
Cell.getGroupCount(int cellHandle)
Returns the total number of groups belonging to the cell denoted by cellHandle . |
protected static int |
Cell.getGroupsBegin(int cellHandle)
Begin the process of getting the groups that belong to the cell. |
protected static int |
Cell.getGroupsBeginAt(int cellHandle,
int startIndex)
Begin the process of getting the groups that belong to the cell, starting with element index startIndex . |
protected static String |
Cell.getGroupsNextString(int iterationId)
Returns the next group of the cell. |
protected static int |
Cell.getGroupsNext(int cellHandle,
int iterationId,
Group theGroup)
Fills the next group object of the cell. |
protected static void |
Cell.getGroupsDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static int |
Cell.getServerCount(int cellHandle)
Returns the total number of servers belonging to the cell denoted by cellHandle . |
protected static int |
Cell.getServersBegin(int cellHandle)
Begin the process of getting the servers in the cell. |
protected static String |
Cell.getServersNextString(int iterationId)
Returns the next server of the cell. |
protected static int |
Cell.getServersNext(int cellHandle,
int iterationId,
Server theServer)
Fills the next server object of the cell. |
protected static void |
Cell.getServersDone(int iterationId)
Signals that the iteration is complete and will not be accessed anymore. |
protected static String |
Cell.getCellName(int cellHandle)
Returns the name of the cell. |
protected static void |
Cell.createMountPoint(int cellHandle,
String directory,
String volumeName,
boolean readWrite,
boolean forceCheck)
Creates a mount point for a volume within the file system. |
static void |
Cell.setACL(String directory,
String username,
boolean read,
boolean write,
boolean lookup,
boolean delete,
boolean insert,
boolean lock,
boolean admin)
|
protected static int |
Cell.getMaxGroupID(int cellHandle)
Gets the maximum group pts ID that's been used within a cell. |
protected static void |
Cell.setMaxGroupID(int cellHandle,
int maxID)
Sets the maximum group pts ID that's been used within a cell. |
protected static int |
Cell.getMaxUserID(int cellHandle)
Gets the maximum user pts ID that's been used within a cell. |
protected static void |
Cell.setMaxUserID(int cellHandle,
int maxID)
Sets the maximum user pts ID that's been used within a cell. |
protected static int |
Cell.getCellHandle(String cellName,
int tokenHandle)
Opens a cell for administrative use, based on the token provided. |
protected static void |
Cell.closeCell(int cellHandle)
Closes the given currently open cell handle. |
void |
Token.close()
Closes the given currently open token. |
long |
Token.getExpiration()
Gets the expiration time for a given token. |
void |
Token.klog()
Authenticates a user in kas, and binds that authentication to the current process. |
void |
Token.login()
Authenticates a user in KAS, and binds that authentication to the current process. |
protected static void |
Token.initializeUserSpace()
Initialize the user space AFS client (libjafs). |
protected static void |
Token.initializeAdminClient()
Initialize the administrative library. |
protected int |
Token.getToken(String cellName,
String username,
String password)
Returns a token handle that can be used to prove this authentication later. |
protected void |
Token.close(int tokenHandle)
Closes the given currently open token. |
protected long |
Token.getExpiration(int tokenHandle)
Gets the expiration time for a given token. |
protected int |
Token.klog(String username,
String password,
String cellName,
int id)
Authenticates a user in KAS, and binds that authentication to the current thread or native process. |
protected void |
Token.relog(int id)
Authenticates a user in KAS by a previously acquired PAG ID, and binds that authentication to the current thread or native process. |
void |
Token.unlog()
Manually discards all AFS credentials associated with the bound user. |
void |
ACL.flush()
Writes the ACL to AFS, making all changes immediately effective. |
void |
ACL.addPositiveEntry(ACL.Entry entry)
Adds a single positive ACL entry to this ACL instance. |
void |
ACL.addPositiveEntries(ACL.Entry[] entries)
Adds the provided list of positive ACL entries to this ACL instance. |
void |
ACL.setPositiveEntries(ACL.Entry[] entries)
Sets the complete array of positive ACL entries to the provided ACL entry list ( entries ) for this ACL instance. |
void |
ACL.addPositiveExpungeEntry(ACL.Entry entry)
Add a positive ACL entry to the list of positive ACL entries to be expunged; used in Delta ACLs. |
void |
ACL.removePositiveEntry(ACL.Entry entry)
Removes a single positive ACL entry from this ACL instance. |
void |
ACL.removeAllPositiveEntries()
Removes all positive ACL entries from this ACL instance. |
void |
ACL.addNegativeEntry(ACL.Entry entry)
Adds a single negative ACL entry to this ACL instance. |
void |
ACL.addNegativeEntries(ACL.Entry[] entries)
Adds the provided list of negative ACL entries to this ACL instance. |
void |
ACL.addNegativeExpungeEntry(ACL.Entry entry)
Add a negative ACL entry to the list of negative ACL entries to be expunged; used in Delta ACLs. |
void |
ACL.setNegativeEntries(ACL.Entry[] entries)
Sets the complete array of negative ACL entries to the provided ACL entry list ( entries ) for this ACL instance. |
void |
ACL.removeNegativeEntry(ACL.Entry entry)
Removes a single negative ACL entry from this ACL instance. |
void |
ACL.removeAllNegativeEntries()
Removes all negative ACL entries from this ACL instance. |
ACL |
ACL.getDeltaACL(ACL acl)
Returns a "Delta ACL", which is an ACL that represents only the difference (delta) of two ACLs, relative to the current ACL instance by the provided ACL specified by acl .
|
void |
ACL.update(ACL delta)
Updates the current ACL instance by replacing, adding, or deleting ACL entries designated by the specified Delta ACL ( delta ).
|
Constructors in org.openafs.jafs that throw AFSException | |
Process(String name,
Server server)
Constructs a new Process object instance given the name
of the AFS process and the AFS server, represented by
server , to which it belongs. |
|
Process(String name,
Server server,
boolean preloadAllMembers)
Constructs a new Process object instance given the name
of the AFS process and the AFS server, represented by
server , to which it belongs. |
|
Process(Server server)
Creates a blank Process given the server to which the process
belongs. |
|
Key(int version,
Server server)
Constructs a new Key object instance given the version of
the AFS key and the AFS server, represented by server ,
to which it belongs. |
|
Key(int version,
Server server,
boolean preloadAllMembers)
Constructs a new Key object instance given the version of
the AFS key and the AFS server, represented by server ,
to which it belongs. |
|
Key(Server server)
Creates a blank Key given the server to which the key
belongs. |
|
Volume(String name,
Partition partition)
Constructs a new Volume object instance given the name of
the AFS volume and the AFS cell, represented by partition ,
to which it belongs. |
|
Volume(String name,
Partition partition,
boolean preloadAllMembers)
Constructs a new Volume object instance given the name of
the AFS volume and the AFS partition, represented by
partition , to which it belongs. |
|
Volume(Partition partition)
Creates a blank Volume given the cell to which the volume
belongs, the server on which the partition resides, and
the partition on which the volume resides. |
|
Partition(String name,
Server server)
Constructs a new Partition object instance given the
name of the AFS partition and the AFS server, represented by
server , to which it belongs. |
|
Partition(String name,
Server server,
boolean preloadAllMembers)
Constructs a new Partition object instance given the name
of the AFS partition and the AFS server, represented by
server , to which it belongs. |
|
Partition(Server server)
Creates a blank Server given the cell to which the partition
belongs and the server on which the partition resides. |
|
Server(String name,
Cell cell)
Constructs a new Server object instance given the
name of the AFS server and the AFS cell, represented by
cell , to which it belongs. |
|
Server(String name,
Cell cell,
boolean preloadAllMembers)
Constructs a new Server object instance given the name
of the AFS server and the AFS cell, represented by cell ,
to which it belongs. |
|
Server(Cell cell)
Constructs a blank Server object instance given the cell to
which the server belongs. |
|
Group(String name,
Cell cell)
Constructs a new Group object instance given the name
of the AFS group and the AFS cell, represented by
cell , to which it belongs. |
|
Group(String name,
Cell cell,
boolean preloadAllMembers)
Constructs a new Group object instance given the name
of the AFS group and the AFS cell, represented by
cell , to which it belongs. |
|
Group(Cell cell)
Creates a blank Group given the cell to which the group
belongs. |
|
User(String name,
Cell cell)
Constructs a new User object instance given the name
of the AFS user and the AFS cell, represented by
cell , to which it belongs. |
|
User(String name,
Cell cell,
boolean preloadAllMembers)
Constructs a new User object instance given the name
of the AFS user and the AFS cell, represented by
cell , to which it belongs. |
|
User(Cell cell)
Constructs a blank User object given the cell to which
the user belongs. |
|
Cell(Token token)
Constructs a new Cell object instance given
the Token that should represents an authenticated user
with administrative access. |
|
Cell(Token token,
boolean preloadAllMembers)
Constructs a new Cell object instance given
the Token that should represents an authenticated user
with administrative access. |
|
Token(String username,
String password,
String cellName,
boolean automaticallyLogin)
Constructs a new Token object instance given
the name of the AFS cell it represents and the username and password
of the user to be Tokend for
administrative access. |
|
Token(String username,
String password,
String cellName)
Constructs a new Token object instance given
the name of the AFS cell it represents and the username and password
of the user to be Tokend for
administrative access. |
|
ACL(String path)
|
|
ACL(String path,
boolean init)
|
|
JAFS API v2 | |||||||||
PREV NEXT | FRAMES NO FRAMES |