com.sas.edir.content
Class FileManager.DefaultKey
java.lang.Object
|
+--com.sas.edir.content.FileManager.Key
|
+--com.sas.edir.content.FileManager.DefaultKey
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- FileManager
- public static class FileManager.DefaultKey
- extends FileManager.Key
Default key.
- Version:
- 1.0
- Author:
- SAS
- See Also:
- Serialized Form
Constructor Summary |
FileManager.DefaultKey()
Null Constructor |
FileManager.DefaultKey(java.lang.Object uid)
Constuctor to create a new Key based on a unique id. |
FileManager.DefaultKey(java.lang.String user,
java.lang.Object uid)
Constuctor to create a new Key based on a user and a unique id
A null or FileManager.ROOT user will store the data associated
with this key in the root directory of the FileManager. |
Method Summary |
void |
delete()
Empty implementation |
java.lang.Object |
fetch()
Empty implementation. |
boolean |
isExpired()
Returns false. |
void |
save()
Empty implementation |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FileManager.DefaultKey
public FileManager.DefaultKey()
- Null Constructor
FileManager.DefaultKey
public FileManager.DefaultKey(java.lang.Object uid)
- Constuctor to create a new Key based on a unique id.
The default storage of the data associated with this key
is the root directory of the FileManager.
FileManager.DefaultKey
public FileManager.DefaultKey(java.lang.String user,
java.lang.Object uid)
- Constuctor to create a new Key based on a user and a unique id
A null or FileManager.ROOT user will store the data associated
with this key in the root directory of the FileManager.
isExpired
public boolean isExpired()
- Returns false. This Key never expires
- Overrides:
isExpired
in class FileManager.Key
save
public void save()
- Empty implementation
- Overrides:
save
in class FileManager.Key
delete
public void delete()
- Empty implementation
- Overrides:
delete
in class FileManager.Key
fetch
public java.lang.Object fetch()
- Empty implementation.
Returns null.
- Overrides:
fetch
in class FileManager.Key