OSID Logo
OSID Specifications
filing package
Version 3.1.0
Interfaceosid.filing.DirectoryEntry
Implementsosid.OsidObject
Implemented Byosid.filing.File
osid.filing.Directory
Description

DirectoryEntry defines methods in common to both File and Directory. The concatenated path and name are assumed to be unique.

MethodgetName
Description

Gets the name of this entry. The name does not include the path. If this entry represents an alias, the name of the alias is returned.

Returnstring the entry name
Compliancemandatory This method must be implemented.
MethodisAlias
Description

Tests if this entry is an alias.

Returnboolean true if this is an alias, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPath
Description

Gets the full path of this entry. The path includes the name. Path components are separated by a /. If this entry represents an alias, the path to the alias is returned.

Returnstring the path
Compliancemandatory This method must be implemented.
MethodgetRealPath
Description

Gets the real path of this entry. The path includes the name. Path components are separated by a /. If this entry represents an alias, the full path to the target file or directory is returned.

Returnstring the path
Compliancemandatory This method must be implemented.
MethodgetOwnerId
Description

Gets the Id of the Agent that owns this entry.

Returnosid.id.Id the Agent Id
Compliancemandatory This method must be implemented.
MethodgetOwner
Description

Gets the Agent that owns this entry.

Returnosid.authentication.Agent the Agent
ErrorsOPERATION_FAILED authentication service not available
Compliancemandatory This method must be implemented.
MethodgetCreatedTime
Description

Gets the created time of this entry.

Returnosid.calendaring.DateTime the created time
Compliancemandatory This method must be implemented.
MethodgetLastModifiedTime
Description

Gets the last modified time of this entry.

Returnosid.calendaring.DateTime the last modified time
Compliancemandatory This method must be implemented.
MethodgetLastAccessTime
Description

Gets the last access time of this entry.

Returnosid.calendaring.DateTime the last access time
Compliancemandatory This method must be implemented.