ResourceMetaDataInterface
interface ResourceMetaDataInterface (View source)
Interface which defines the basic meta data getters and setters for PersistentResource and Storage/Object objects.
Methods
Sets the filename
Gets the filename
Returns the size of the content of this storage object
Sets the size of the content of this storage object
No description
No description
Returns the Media Type for this storage object
Returns the sha1 hash of the content of this storage object
Sets the sha1 hash of the content of this storage object
Details
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