public interface DirectoryEntry extends OsidObject
DirectoryEntry
defines methods in common to both
File
and Directory
. The concatenated path and name
are assumed to be unique.
Modifier and Type | Method and Description |
---|---|
DateTime |
getCreatedTime()
Gets the created time of this entry.
|
DateTime |
getLastAccessTime()
Gets the last access time of this entry.
|
DateTime |
getLastModifiedTime()
Gets the last modified time of this entry.
|
java.lang.String |
getName()
Gets the name of this entry.
|
Agent |
getOwner()
Gets the
Agent that owns this entry. |
Id |
getOwnerId()
Gets the
Id of the Agent that owns this
entry. |
java.lang.String |
getPath()
Gets the full path of this entry.
|
java.lang.String |
getRealPath()
Gets the real path of this entry.
|
boolean |
isAlias()
Tests if this entry is an alias.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
java.lang.String getName()
mandatory
- This method must be implemented. boolean isAlias()
true
if this is an alias, false
otherwisemandatory
- This method must be implemented. java.lang.String getPath()
mandatory
- This method must be implemented. java.lang.String getRealPath()
mandatory
- This method must be implemented. Id getOwnerId()
Id
of the Agent
that owns this
entry. Agent Id
mandatory
- This method must be implemented. Agent getOwner() throws OperationFailedException
Agent
that owns this entry. Agent
OperationFailedException
- authentication service not
availablemandatory
- This method must be implemented. DateTime getCreatedTime()
mandatory
- This method must be implemented. DateTime getLastModifiedTime()
mandatory
- This method must be implemented. DateTime getLastAccessTime()
mandatory
- This method must be implemented.