OSID Logo
OSID Specifications
filing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.filing.DirectoryEntry
Implementsosid.OsidObject
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.

Returnstringthe entry name
CompliancemandatoryThis method must be implemented.
MethodisAlias
Description

Tests if this entry is an alias.

Returnboolean true if this is an alias, false otherwise
CompliancemandatoryThis 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.

Returnstringthe path
CompliancemandatoryThis 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.

Returnstringthe path
CompliancemandatoryThis method must be implemented.
MethodgetOwnerId
Description

Gets the Id of the Agent that owns this entry.

Returnosid.id.Idthe Agent Id
CompliancemandatoryThis method must be implemented.
MethodgetOwner
Description

Gets the Agent that owns this entry.

Returnosid.authentication.Agentthe Agent
ErrorsOPERATION_FAILEDauthentication service not available
CompliancemandatoryThis method must be implemented.
MethodgetCreatedTime
Description

Gets the created time of this entry.

Returnosid.calendaring.DateTimethe created time
CompliancemandatoryThis method must be implemented.
MethodgetLastModifiedTime
Description

Gets the last modified time of this entry.

Returnosid.calendaring.DateTimethe last modified time
CompliancemandatoryThis method must be implemented.
MethodgetLastAccessTime
Description

Gets the last access time of this entry.

Returnosid.calendaring.DateTimethe last access time
CompliancemandatoryThis method must be implemented.