Each Asset has one of the AssetType supported by the Repository. There are
also zero or more RecordStructures required by the Repository for each AssetType. RecordStructures provide structural information. The values for a given Asset's RecordStructure are stored in a Record. RecordStructures can contain sub-elements which are referred to as PartStructures. The structure defined in the RecordStructure and its PartStructures is used in for any Records for the Asset. Records have Parts which parallel PartStructures.
<p> OSID Version: 2.0 </p>
Located in /harmoni/core/oki2/repository/File/FileRecord.class.php (line 34)
RecordInterface | --FileRecord
Class | Description |
---|---|
FileSystemFileRecord | This Record will use a FileSystemFileDataPart to store the file data in the filesystem. |
RemoteFileRecord | Remote fileRecords are just like FileRecords, but they reference file-data that lies at a remote web-accessible location. |
Add a fileDataPart
Create a Part. Records are composed of Parts. Parts can also contain other Parts. Each Record is associated with a specific RecordStructure and each Part is associated with a specific PartStructure.
Delete a Part and all its Parts.
Get the unique Id for this Record.
Get the part from the record that matches the passed Id
WARNING: NOT IN OSID
Get all the Parts in the Record. Iterators return a set, one at a time.
Get the Parts of the Records for this Asset that are based on this RecordStructure PartStructure's unique Id.
WARNING: NOT IN OSID (as of July 2005)
Get the RecordStructure associated with this Record.
Return true if this Record is multi-valued; false otherwise. This is determined by the implementation.
WARNING: NOT IN OSID - Use at your own risk
Return TRUE if the Part of the passed Id is the last one, and the whole schebang should be deleted.
WARNING: NOT IN OSID - Use at your own risk
Do a single query to load all of the small-valued parts for the record; that is, everything but the file and thumb data.
Inherited From RecordInterface
RecordInterface::createPart()
RecordInterface::deletePart()
RecordInterface::getDisplayName()
RecordInterface::getId()
RecordInterface::getParts()
RecordInterface::getRecordStructure()
RecordInterface::updateDisplayName()
Documentation generated on Wed, 19 Sep 2007 10:23:12 -0400 by phpDocumentor 1.3.0RC3