interface ResourceMetaDataInterface (View source)

Interface which defines the basic meta data getters and setters for PersistentResource and Storage/Object objects.

Methods

void
setFilename(string $filename)

Sets the filename

string
getFilename()

Gets the filename

int
getFileSize()

Returns the size of the content of this storage object

void
setFileSize(int $fileSize)

Sets the size of the content of this storage object

void
setRelativePublicationPath(string $path)

No description

string
getRelativePublicationPath()

No description

string
getMediaType()

Returns the Media Type for this storage object

string
getSha1()

Returns the sha1 hash of the content of this storage object

void
setSha1(string $sha1)

Sets the sha1 hash of the content of this storage object

Details

void setFilename(string $filename)

Sets the filename

Parameters

string $filename

Return Value

void

string getFilename()

Gets the filename

Return Value

string

The filename

int getFileSize()

Returns the size of the content of this storage object

Return Value

int

void setFileSize(int $fileSize)

Sets the size of the content of this storage object

Parameters

int $fileSize

The content size

Return Value

void

void setRelativePublicationPath(string $path)

No description

Parameters

string $path

Return Value

void

string getRelativePublicationPath()

No description

Return Value

string

string getMediaType()

Returns the Media Type for this storage object

Return Value

string

The IANA Media Type

string getSha1()

Returns the sha1 hash of the content of this storage object

Return Value

string

The sha1 hash

void setSha1(string $sha1)

Sets the sha1 hash of the content of this storage object

Parameters

string $sha1

The sha1 hash

Return Value

void