|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.cms.filesystem.CSEntry
public class CSEntry
An object for a node in the file system. Subclasses include CSFile, CSDirectory, CSFileSystemException, and CSCustomDirectory.
bb-manifest note: In order to use these methods, please be sure to include the following permissions
within the bb-manifest under the permissions section:
<permission type="java.lang.RuntimePermission" name="db.connection.*" />
<permission type="attribute" name="user.authinfo" actions="get,set" />
<permission type="attribute" name="user.personalinfo" actions="get,set" />
<permission type="persist" name="user" actions="create,modify,delete" />
<permission type="persist" name="userrole" actions="create,modify,delete" />
<permission type="persist" name="course" actions="create,modify,delete" />
| Method Summary | |
|---|---|
void |
delete()
Deletes the CSEntry |
void |
deleteAccessControlEntry(java.lang.String principalID)
Delete the explicit permissions entry for a user or user list. |
CSAccessControlEntry[] |
getAccessControlEntries()
Get an array of all explicit permissions entries for the CSEntry . |
CSAccessControlEntry |
getAccessControlEntry(java.lang.String principalID)
Gets the explicit permissions entry for a user or user list. |
java.lang.String |
getBaseName()
Returns the base name to the CSEntry. |
java.sql.Timestamp |
getCreationTimestamp()
Returns the creation timestamp of the CSEntry. |
CSEntryMetadata |
getCSEntryMetadata()
Get a CSEntryMetadata object from the CSEntry. |
com.xythos.storageServer.api.FileSystemEntry |
getFileSystemEntry()
|
java.lang.String |
getFullPath()
Returns the full path to the CSEntry. |
java.sql.Timestamp |
getLastUpdateTimestamp()
Returns the lat update timestamp of the CSEntry. |
java.lang.String |
getParentPath()
Returns the parent path to the CSEntry. |
long |
getSize()
Returns the size (in bytes) of the CSEntry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getFullPath()
For example: "/users/jsmith/test.txt" => "/users/jsmith/test.txt"
public java.lang.String getParentPath()
For example: "/users/jsmith/test.txt" => "/users/jsmith"
public java.lang.String getBaseName()
For example: "/users/jsmith/test.txt" => "test.txt"
public long getSize()
public java.sql.Timestamp getCreationTimestamp()
public java.sql.Timestamp getLastUpdateTimestamp()
public void delete()
throws CSFileSystemException
CSFileSystemException
public CSAccessControlEntry getAccessControlEntry(java.lang.String principalID)
throws CSFileSystemException
principalID - a String representing the principalID of the user or user list
CSAccessControlEntry for the CSEntry
CSFileSystemException
public void deleteAccessControlEntry(java.lang.String principalID)
throws CSFileSystemException
principalID - a String representing the principalID of the user or user list
CSFileSystemException
public CSAccessControlEntry[] getAccessControlEntries()
throws CSFileSystemException
CSFileSystemExceptionpublic CSEntryMetadata getCSEntryMetadata()
CSEntryMetadata object from the CSEntry.
public com.xythos.storageServer.api.FileSystemEntry getFileSystemEntry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||