Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Template Reference Documentation

rb.file Object Description
(system Template)

The rb.file object represents an online archive of files (pdf, gif, doc, txt, etc.) that are treated as binary data.

Methods

rb.file.create() Adds a file.
rb.file.append() Append a fragment to the specified file (which must exist)
rb.file.modify() Modifies the details of an existing file.
rb.file.remove() Removes an existing file or file fragment
rb.file.truncate() Removes all but the default fragment ID (0) for a specific file
rb.file.get() Returns an iterator for retrieving each file matching the search criteria.
rb.file.bulkRemove() Returns the number of file objects deleted
rb.file.count() Gets a count of file fragments matching the search criteria.
rb.file.linkContacts() Link a specific file to one or more contact IDs
rb.file.removeList() Removes one or more files referenced by ID
rb.file.removeByItem() Removes all files referenced by a specific catalogue item ID

Aggregate Types

rb.file.fileInfoType Details of any type of binary file (e.g. *.gif).
rb.file.fileSearchType Search criteria for files.
Whitebeam release 1.3.36
(loadtime : 184ms)