|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sssw.cm.factory.EboFactory
This is the factory class for the Content Management system. It basically acts as the gateway into the CMS by letting the API users obtain instances of Content Manager objects as well as CM elements.
Constructor Summary | |
EboFactory()
|
Method Summary | |
static void |
flushRepositories()
Discards any existing instantiated Content Managers. |
static EbiAddDocumentParams |
getAddDocParams()
Creates a parameter holder object for adding a new Document. |
static EbiContentManager |
getContentManagerByRepID(String repositoryID)
Gets a Content Manager for the specified repository ID. |
static EbiContentManager |
getContentManagerByRepName(String repositoryName)
Given the name of a repository, gets the corresponding Content Manager. |
static EbiDataFetcher |
getDataFetcher(String repository,
boolean byID)
Gets the Data Fetcher object for the specified CM repository. |
static EbiContentManager |
getDefaultContentManager()
Gets the Default Content Manager. |
static EbiDirEntryXmlDataOptions |
getDirEntryXmlDataOptions()
Instantiates a new directory entry XML data options object. |
static EbiDocumentXmlDataOptions |
getDocumentXmlDataOptions()
Instantiates a new document XML data options object. |
static EbiCmElement |
getElement(String elementType)
Gets a content management element object, given the element's type. |
static EbiElementOverwrite |
getElementOverwrite()
Instantiates a new element overwrite specifier object. |
static EbiExporter |
getExporter(String repositoryID)
Creates a CM Data Exporter object. |
static EbiImporter |
getImporter(String repositoryID)
Creates a CM Data Importer object. |
static EbiQuery |
getQuery()
Gets a Query object for Document queries executed via the Search Service. |
static EbiQueryEngine |
getQueryEngine()
Gets a CM Query Engine object. |
static Iterator |
getRepositoryIDs()
Returns an iterator of the Repository IDs for the instantiated Content Managers. |
static EbiContentManager |
getSystemContentManager()
Gets the system Content Manager |
static EbiTaskManager |
getTaskManager(EbiContext context,
String repositoryID)
Gets the Task Manager for a specific Repository. |
static EbiTaskManager |
getTaskManager(String repositoryID)
Deprecated. EboFactory.getTaskManager(EbiContext, String) |
static EbiXmlDataOptions |
getXmlDataOptions()
Instantiates a new XML data options object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public EboFactory()
Method Detail |
public static Iterator getRepositoryIDs()
public static void flushRepositories()
public static EbiContentManager getDefaultContentManager() throws EboFactoryException, EboUnrecoverableSystemException
public static EbiContentManager getSystemContentManager() throws EboFactoryException, EboUnrecoverableSystemException
public static EbiContentManager getContentManagerByRepID(String repositoryID) throws EboFactoryException, EboUnrecoverableSystemException
repositoryID
- the ID of the repository for which to get the Content
Manager; if the repositoryID is null or empty, the default Content
Manager is returnedpublic static EbiContentManager getContentManagerByRepName(String repositoryName) throws EboFactoryException, EboUnrecoverableSystemException
repositoryName
- the name of the Repositorypublic static EbiCmElement getElement(String elementType) throws EboFactoryException
elementType
- the element typepublic static EbiQuery getQuery() throws EboFactoryException
public static EbiQueryEngine getQueryEngine() throws EboFactoryException
public static EbiDataFetcher getDataFetcher(String repository, boolean byID) throws EboFactoryException
repository
- the name or the ID of the CM repositorybyID
- if true, then repository is the ID, otherwise the name of
the CM repositorypublic static EbiAddDocumentParams getAddDocParams() throws EboFactoryException
public static EbiImporter getImporter(String repositoryID) throws EboFactoryException
repositoryID
- the ID of the target repositorypublic static EbiExporter getExporter(String repositoryID) throws EboFactoryException
repositoryID
- the ID of the target repositorypublic static EbiTaskManager getTaskManager(String repositoryID) throws EboFactoryException, EboUnrecoverableSystemException
EboFactory.getTaskManager(EbiContext, String)
repositoryID
- the Repository IDpublic static EbiTaskManager getTaskManager(EbiContext context, String repositoryID) throws EboFactoryException, EboUnrecoverableSystemException
context
- contextrepositoryID
- the Repository IDpublic static EbiElementOverwrite getElementOverwrite() throws EboFactoryException
public static EbiXmlDataOptions getXmlDataOptions() throws EboFactoryException
public static EbiDirEntryXmlDataOptions getDirEntryXmlDataOptions() throws EboFactoryException
public static EbiDocumentXmlDataOptions getDocumentXmlDataOptions() throws EboFactoryException
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |