Package | Description |
---|---|
de.innovationgate.webgate.api |
Basic functionality of the WGAPI including most of the database-independent functionality.
|
de.innovationgate.webgate.api.auth |
External authentication modules for WGAPI databases.
|
de.innovationgate.webgate.api.fake |
Fake implementations for WGAPI, used by some WGAPI database types if they do not support certain document types.
|
de.innovationgate.webgate.api.query.rss | |
de.innovationgate.webgate.api.rss2 | |
de.innovationgate.webgate.api.servers |
Base classes for database server functionalities in WGAPI
|
de.innovationgate.webgate.api.simple |
Generic implementations of content store templates from
de.innovationgate.webgate.api.templates |
de.innovationgate.webgate.api.templates |
Templates to create your own simple content/design/repository sources.
|
de.innovationgate.webgate.api.utils |
Utilities for WGAPI usage
|
de.innovationgate.webgate.api.workflow |
Workflow interfaces of the WGAPI including a database-independent workflow implementation, the "Straight Workflow".
|
Modifier and Type | Method and Description |
---|---|
WGDatabase |
WGDesignChangeEvent.getDatabase()
Returns the database that receives its design from the design provider.
|
WGDatabase |
WGDocument.getDatabase()
Returns the database that stores this document
|
WGDatabase |
WGUnavailableException.getDatabase() |
WGDatabase |
WGStructEntryRetrievalIterator.getDatabase()
Returns the database of the struct entries returned
|
WGDatabase |
WGDatabaseEvent.getDatabase()
The database, that triggered the event.
|
WGDatabase |
WGContentEvent.getDatabase()
Returns the database of the content document.
|
WGDatabase |
WGHierarchicalDatabase.getWrappedDB()
Returns the
WGDatabase object wrapped by this hdb |
WGDatabase |
WGFactory.openDatabase(WGDatabaseServer server,
java.lang.String strType,
java.lang.String strPath,
java.lang.String strUserName,
java.lang.String strUserPwd,
java.util.Map<java.lang.String,java.lang.String> options)
Opens a WGA database initially, ready for work.
|
WGDatabase |
WGFactory.openDatabase(WGDatabaseServer server,
java.lang.String strType,
java.lang.String strPath,
java.lang.String strUserName,
java.lang.String strUserPwd,
java.util.Map<java.lang.String,java.lang.String> options,
boolean prepareOnly)
Opens a WGA database initially.
|
WGDatabase |
WGFactory.prepareDatabase(WGDatabaseServer server,
java.lang.String strType,
java.lang.String strPath,
java.lang.String strUserName,
java.lang.String strUserPwd,
java.util.Map<java.lang.String,java.lang.String> options)
Opens a WGA database initially, but only prepares it for work.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WGDatabase> |
WGFactory.getOpenedDatabases()
Returns a list of all opened database objects.
|
Modifier and Type | Method and Description |
---|---|
static WGDocumentKey |
WGDocument.buildDocumentKey(WGDocumentCore core,
WGDatabase db)
Builds the document key for a document core.
|
java.util.List<WGDocument> |
WGDocumentListCache.buildDocumentList(WGDatabase db)
Rebuilds the document list from cache
The method will return null if the number of documents in the list that must be gathered
from backend exceeds the database configuration on
getListCacheRebuildThreshold() |
java.util.List |
WGDocumentListCache.buildDocumentSubList(WGDatabase db,
int offset,
int size)
Rebuilds the document list from cache
The method will return null if the number of documents in the list that must be gathered
from backend exceeds the database configuration on
getListCacheRebuildThreshold() |
WGDocument |
WGCSSJSModule.createClone(WGDatabase db) |
WGDocument |
WGTMLModule.createClone(WGDatabase db) |
WGDocument |
WGFileContainer.createClone(WGDatabase db) |
abstract WGDocument |
WGDesignDocument.createClone(WGDatabase db)
Creates a clone of this design document in another database
|
WGDocument |
WGLanguage.createClone(WGDatabase db) |
WGDocument |
WGArea.createClone(WGDatabase db) |
WGDocument |
WGContentType.createClone(WGDatabase db) |
abstract WGDocument |
WGDocument.createClone(WGDatabase db,
WGDocument ref)
Creates a clone of this document in another database
|
WGDocument |
WGUserProfile.createClone(WGDatabase db,
WGDocument ref) |
WGDocument |
WGContent.createClone(WGDatabase db,
WGDocument ref) |
WGDocument |
WGStructEntry.createClone(WGDatabase db,
WGDocument ref) |
WGDocument |
WGDesignDocument.createClone(WGDatabase db,
WGDocument ref) |
static void |
WGHierarchicalDatabase.createInstance(WGDatabase database,
WGHierarchicalDatabaseStartup startupImpl)
creates a new hdb instance for the given WGDatabase
|
static void |
WGHierarchicalDatabase.createInstance(WGDatabase database,
WGHierarchicalDatabaseStartup startupImpl,
WGHierarchicalDatabaseListenerFactory listenerFactory)
creates a new hdb instance for the given WGDatabase
|
abstract java.lang.String |
WGPortletRegistry.getApplicationId(WGDatabase appDb)
Returns the string ID that should be passed to the methods of this portlet registry to identify the given database
|
java.lang.String |
WGTransientPortletRegistry.getApplicationId(WGDatabase db) |
WGDocument |
WGDocumentKey.getDocument(WGDatabase db)
Tries to retrieve the document for the document key from the given database
|
static WGHierarchicalDatabase |
WGHierarchicalDatabase.getOrCreateInstance(WGDatabase db)
returns the requested hdb for the given db, instance is created if not existing using the default startup and listenerFactory implementations
|
java.util.List<WGLanguage> |
WGLanguageChooser.getQueryLanguages(WGDatabase db)
Chooses languages to select in a query.
|
void |
DefaultPageRightsFilter.init(WGDatabase db) |
void |
PageRightsFilter.init(WGDatabase db) |
WGUserAccess |
WGDatabaseCore.open(WGDatabase db,
java.lang.String path,
java.lang.String user,
java.lang.String pwd,
boolean prepareOnly)
Opens a database initially.
|
static WGContentKey |
WGContentKey.parse(java.lang.String key,
WGDatabase db)
Parses a content key string and returns the according unique content key object.
|
static WGContentKey |
WGContentKey.parse(java.lang.String key,
WGDatabase db,
boolean unique)
Parses a content key string and returns the according content key object.
|
void |
WGBackendChangeListener.processChange(WGDatabase db,
WGUpdateLog log)
Called for every single backend change that is picked up
|
void |
WGDatabase.DatabaseAction.run(WGDatabase db)
The action to be ran
|
WGContent |
WGLanguageChooser.selectContentForName(WGDatabase db,
java.lang.String name,
boolean authoring)
Chooses the language version of a content document for a given unique name
|
WGLanguage |
WGLanguageChooser.selectDatabaseLanguage(WGDatabase db)
Chooses a language to use for the given database in some contextless functionality
|
Constructor and Description |
---|
WGAbstractResultSet(WGDatabase db,
WGResultSetCore core) |
WGArea(WGDatabase db,
WGDocumentCore doc) |
WGArea(WGDatabase wgDatabase,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags) |
WGContent(WGDatabase db,
WGDocumentCore doc)
Constructor.
|
WGContent(WGDatabase db,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags)
Constructor.
|
WGContentEvent(int type,
java.lang.String documentKey,
java.lang.String contentType,
WGDatabase db) |
WGContentIterator(WGDatabase db,
boolean includeArchived)
Constructs an iterator for the given database
|
WGContentType(WGDatabase db,
WGDocumentCore doc)
Constructor.
|
WGContentType(WGDatabase wgDatabase,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags) |
WGCSSJSModule(WGDatabase db,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags)
Constructor.
|
WGDatabaseEvent(WGDatabase source,
int iType)
Constructor.
|
WGDatabaseEvent(WGDatabase source,
int iType,
WGDocument editedDocument)
Constructor.
|
WGDatabaseEvent(WGDatabase source,
int iType,
WGDocumentKey editedDocumentKey)
Constructor.
|
WGDesignChangeEvent(WGDesignProvider designCoreProvider,
WGDatabase database,
java.util.List updateLogs)
Public constructor, taking the design provider and a list of update logs
|
WGDesignDocument(WGDatabase db,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags)
Constructor.
|
WGDesignResourceDocument(WGDatabase db,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags) |
WGDocument(WGDatabase db,
WGDocumentCore core) |
WGDocument(WGDatabase db,
WGDocumentCore core,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags)
Constructor.
|
WGFileContainer(WGDatabase db,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags)
Constructor.
|
WGFileDerivateMetaData(WGDatabase db,
WGDocumentKey relatedDoc,
java.lang.String id,
java.lang.String creator,
java.lang.String name,
java.util.Date created,
java.util.Date modified,
long size,
java.lang.String sha512Checksum,
java.lang.String parentSha512Checksum) |
WGLanguage(WGDatabase db,
WGDocumentCore doc)
Constructor.
|
WGLanguage(WGDatabase wgDatabase,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags) |
WGOperationKey(WGDatabase db,
int operation,
java.lang.String key)
Constructor.
|
WGRelationData(WGDatabase database,
WGContentKey parentContentKey,
java.lang.String name,
java.lang.Object structkey,
java.lang.String language,
int type) |
WGRelationData(WGDatabase database,
WGContentKey parentContentKey,
java.lang.String name,
java.lang.Object structkey,
java.lang.String language,
int type,
java.lang.String group) |
WGSchemaDocument(WGDatabase db,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags) |
WGScriptModule(WGDatabase db,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags)
Constructor.
|
WGStandardResultSet(WGDatabase db,
WGResultSetCore core,
java.util.Map parameters,
java.lang.String query)
Constructor.
|
WGStructEntry(WGDatabase db,
WGDocumentCore doc)
Constructor.
|
WGStructEntry(WGDatabase wgDatabase,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags) |
WGStructEntryRetrievalIterator(WGDatabase db,
WGDocument parent,
java.util.Iterator<WGDocumentCore> structCores) |
WGTMLModule(WGDatabase db,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags)
Constructor.
|
WGTransientPortletRegistry(WGDatabase parent,
WGUserProfile profile) |
WGUnavailableException(WGDatabase db) |
WGUnavailableException(WGDatabase db,
java.lang.String msg) |
WGUnavailableException(WGDatabase db,
java.lang.String msg,
java.lang.Throwable cause) |
WGUserProfile(WGDatabase db,
WGDocumentCore doc,
de.innovationgate.webgate.api.WGDocumentObjectFlags flags)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationModule |
AuthModuleFactory.getAuthModule(java.lang.String type,
java.util.Map<java.lang.String,java.lang.String> settings,
WGDatabase db)
Retrieves an authentication module of the given type and for the given settings.
|
AuthenticationModule |
DefaultAuthModuleFactory.getAuthModule(java.lang.String type,
java.util.Map<java.lang.String,java.lang.String> settings,
WGDatabase db) |
void |
AuthenticationModule.init(java.util.Map<java.lang.String,java.lang.String> params,
WGDatabase db)
Called when the Authentication module is created, providing additional information
|
void |
FileAuthenticationModule.init(java.util.Map params,
WGDatabase db) |
void |
RedirectionAuthModule.init(java.util.Map params,
WGDatabase db) |
Modifier and Type | Method and Description |
---|---|
WGUserAccess |
WGFakeDatabase.open(WGDatabase db,
java.lang.String path,
java.lang.String user,
java.lang.String pwd,
boolean prepareOnly) |
Constructor and Description |
---|
WGDummyContent(WGDatabase db,
java.lang.String language) |
WGFakeArea(WGDatabase db,
java.lang.String name) |
WGFakeContentType(WGDatabase db,
java.lang.String name) |
WGFakeDocument(WGDatabase db,
int type) |
WGFakeLanguage(WGDatabase db,
java.lang.String name,
java.lang.String title) |
WGFakeStructEntry(WGDatabase db,
java.lang.Object key) |
WGFakeTML(WGDatabase db,
java.lang.String name,
java.lang.String mediakey) |
WGFakeUserProfile(WGDatabase db,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
WGUserAccess |
WGDatabaseImpl.open(WGDatabase db,
java.lang.String path,
java.lang.String user,
java.lang.String pwd,
boolean prepareOnly) |
Constructor and Description |
---|
WGDocumentImpl(WGDatabase db,
java.lang.String key,
org.dom4j.Element channel,
org.dom4j.Element item) |
WGDocumentImplRSS1(WGDatabase db,
java.lang.String key,
org.dom4j.Element channel,
org.dom4j.Element item) |
WGResultSetImpl(WGDatabase db,
org.dom4j.Document doc) |
Modifier and Type | Method and Description |
---|---|
ContentSourceSpecs |
SimpleRSS.init(WGDatabase db,
java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
WGDatabase |
WGDatabaseServer.openDatabase(java.lang.Class<? extends WGDatabaseCore> implClass,
java.util.Map<java.lang.String,java.lang.String> options) |
WGDatabase |
RSSDatabaseRetriever.openDatabase(java.lang.Class<? extends WGDatabaseCore> implClass,
WGDatabaseServer dbServer,
java.util.Map<java.lang.String,java.lang.String> options,
boolean prepareOnly) |
WGDatabase |
GenericServerDatabaseRetriever.openDatabase(java.lang.Class<? extends WGDatabaseCore> implClass,
WGDatabaseServer dbServer,
java.util.Map<java.lang.String,java.lang.String> options,
boolean prepareOnly) |
WGDatabase |
ServerDatabaseRetriever.openDatabase(java.lang.Class<? extends WGDatabaseCore> implClass,
WGDatabaseServer dbServer,
java.util.Map<java.lang.String,java.lang.String> options,
boolean prepareOnly) |
WGDatabase |
WGDatabaseServer.prepareDatabase(java.lang.Class<? extends WGDatabaseCore> implClass,
java.util.Map<java.lang.String,java.lang.String> options) |
Modifier and Type | Method and Description |
---|---|
WGDatabase |
BeanAdapter.getDB() |
Modifier and Type | Method and Description |
---|---|
ContentSourceSpecs |
BeanAdapter.init(WGDatabase db,
java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
abstract ContentSourceSpecs |
SimpleContentSource.init(WGDatabase db,
java.lang.String path)
Implement to initialize the SCS implementation when the database gets opened.
|
ContentSourceSpecs |
QueryableSource.init(WGDatabase db,
java.lang.String path) |
WGUserAccess |
SimpleContentSource.open(WGDatabase db,
java.lang.String path,
java.lang.String user,
java.lang.String pwd,
boolean prepareOnly) |
Constructor and Description |
---|
ContentStoreDumpManager(WGDatabase from,
WGDatabase to)
Constructor
|
ContentStoreDumpManager(WGDatabase from,
WGDatabase to,
org.apache.log4j.Logger logger)
Construtor
|
MasterSessionTask(WGDatabase db)
Construct a master session task for a specific database
|
MasterSessionTask(WGDatabase db,
boolean allowInline)
Construct a master session task for a specific database
|
Modifier and Type | Method and Description |
---|---|
void |
WGWorkflowEngine.init(WGDatabase db)
Called when the engine object is created to do initial operations.
|
void |
WGDefaultWorkflowEngine.init(WGDatabase db) |