Class FileSystemFileRecord

Description

This Record will use a FileSystemFileDataPart to store the file data in the filesystem.

Important configuration options:

  • 'use_filesystem_for_files'
  • 'file_data_path'
<p> OSID Version: 2.0 </p>

  • version: $Id: FileSystemFileRecord.class.php,v 1.9 2007/09/11 17:40:57 adamfranco Exp $
  • license: GNU General Public License
  • copyright: Copyright &copy;2005, Middlebury College

Located in /harmoni/core/oki2/repository/File/FileSystemFileRecord.class.php (line 30)

RecordInterface
   |
   --FileRecord
      |
      --FileSystemFileRecord
Method Summary
FileSystemFileRecord FileSystemFileRecord (mixed $recordStructure, mixed $id, mixed $configuration, mixed $asset)
void deletePart (mixed $partId, object Id $partId )
boolean _isLastPart (string $idString)
Variables
Methods
Constructor FileSystemFileRecord (line 34)
FileSystemFileRecord FileSystemFileRecord (mixed $recordStructure, mixed $id, mixed $configuration, mixed $asset)
deletePart (line 91)

Delete a Part and all its Parts.

  • access: public
  • throws: object RepositoryException An exception with one of the following messages defined in org.osid.repository.RepositoryException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
void deletePart (mixed $partId, object Id $partId )
  • object Id $partId

Redefinition of:
FileRecord::deletePart()
Delete a Part and all its Parts.
_isLastPart (line 142)

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

  • since: 10/25/04
  • access: private
boolean _isLastPart (string $idString)
  • string $idString

Redefinition of:
FileRecord::_isLastPart()
Return TRUE if the Part of the passed Id is the last one, and the whole schebang should be deleted.

Inherited Methods

Inherited From FileRecord

FileRecord::FileRecord()
FileRecord::addFileDataPart()
FileRecord::createPart()
FileRecord::deletePart()
FileRecord::getId()
FileRecord::getPart()
FileRecord::getParts()
FileRecord::getPartsByPartStructure()
FileRecord::getRecordStructure()
FileRecord::isMultivalued()
FileRecord::_isLastPart()
FileRecord::_loadParts()

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:15 -0400 by phpDocumentor 1.3.0RC3