CWIS Developer Documentation
OAIItemFactory.php
Go to the documentation of this file.
1 <?PHP
2 #
3 # FILE: OAIItemFactory.php
4 #
5 # Part of the ScoutLib application support library
6 # Copyright 2009-2016 Edward Almasy and Internet Scout Research Group
7 # http://scout.wisc.edu
8 #
9 
10 interface OAIItemFactory
11 {
17  public function GetItem($ItemId);
18 
25  public function GetItems($StartingDate = NULL, $EndingDate = NULL);
26 
34  public function GetItemsInSet($SetSpec, $StartingDate = NULL, $EndingDate = NULL);
35 
40  public function GetListOfSets();
41 
48  public function SearchForItems(
49  $SearchParams, $StartingDate = NULL, $EndingDate = NULL);
50 }
GetListOfSets()
Get the list of supported OAI sets.
SearchForItems($SearchParams, $StartingDate=NULL, $EndingDate=NULL)
Retrieve IDs of items that match search paramters when OAI-SQ is supported.
GetItems($StartingDate=NULL, $EndingDate=NULL)
Get a list of items, optionally restricted by creation date.
GetItemsInSet($SetSpec, $StartingDate=NULL, $EndingDate=NULL)
Get array of Items in a specified OAI set (if supported).
GetItem($ItemId)
Get an Item.