|
DOCUMENTS 5 - PortalScripting API
|
The ArchiveFileResultset class supports basic functions to loop through a list of ArchiveFile objects. More...
Public Member Functions | |
| ArchiveFileResultset | ArchiveFileResultset (String archiveKey, String filter, String sortOrder, String hitlist, boolean unlimitedHits=false) |
| Create a new ArchiveFileResultset object. More... | |
| DocFile | first () |
| Retrieve the first DocFile object in the ArchiveFileResultset. More... | |
| String | getLastError () |
| Function to get the description of the last error that occurred. More... | |
| DocFile | last () |
| Retrieve the last DocFile object in the ArchiveFileResultset. More... | |
| DocFile | next () |
| Retrieve the next DocFile object in the ArchiveFileResultset. More... | |
| int | size () |
| Get the amount of DocFile objects in the ArchiveFileResultset. More... | |
The ArchiveFileResultset class supports basic functions to loop through a list of ArchiveFile objects.
| ArchiveFileResultset ArchiveFileResultset::ArchiveFileResultset | ( | String | archiveKey, |
| String | filter, | ||
| String | sortOrder, | ||
| String | hitlist, | ||
| boolean | unlimitedHits = false |
||
| ) |
Create a new ArchiveFileResultset object.
Like in other programming languages you create a new object with the new operator (refer to example below).
| archiveKey | String containing the key of the desired view or archive |
| filter | String containing an filter criterium; use empty String ('') if you don't want to filter at all |
| sortOrder | String containing an sort order; use empty String ('') if you don't want to sort at all |
| hitlist | String containing the hitlist that you want to use (optional für EE.i / mandatory for EE.x |
| unlimitedHits | boolean that indicates if the archive hit limit must be ignored |
| DocFile ArchiveFileResultset::first | ( | ) |
Retrieve the first DocFile object in the ArchiveFileResultset.
null in case of an empty ArchiveFileResultset, throws an exception on error loading archive file. | String ArchiveFileResultset::getLastError | ( | ) |
Function to get the description of the last error that occurred.
| DocFile ArchiveFileResultset::last | ( | ) |
Retrieve the last DocFile object in the ArchiveFileResultset.
null if end of ArchiveFileResultset is reached. | DocFile ArchiveFileResultset::next | ( | ) |
Retrieve the next DocFile object in the ArchiveFileResultset.
null if end of ArchiveFileResultset is reached, throws an exception on error loading archive file. | int ArchiveFileResultset::size | ( | ) |
Get the amount of DocFile objects in the ArchiveFileResultset.