Package | Description |
---|---|
com.gentics.api.lib.datasource |
Package for datasource related classes and interfaces.
|
com.gentics.api.lib.expressionparser |
Package for classes and interfaces related to parsing and evaluating
of expressions.
|
com.gentics.api.portalnode.connector |
Package containing a factory to create all initial objects you need, and some helper classes.
|
com.gentics.api.portalnode.portlet |
Package for the Gentics® specific Portlet implementations and enhancements.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MultichannellingDatasource
Interface for a multichannelling aware Datasource
|
interface |
VersioningDatasource
Interface for datasource that may support versioning (although specific
datasources using implementations of this interface may be configured not to
use versioning).
|
interface |
WritableMultichannellingDatasource
Interface for writeable multichannelling datasources
|
interface |
WriteableDatasource
Interface for
Datasource s that allow data modifications. |
interface |
WriteableVersioningDatasource
Interface for writeable datasources that may support versioning
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCacheableDatasource
A abstract datasource which should make it easy to implement caching
for subclasses.
Implementors can use AbstractCacheableDatasource.setCacheEnabled(boolean) to
enable/disable the cache (by default it is enabled). |
class |
AbstractDatasource
Abstract basic implementation for datasources.
|
class |
AbstractVersioningDatasource
Abstract basic implementation for versioning datasources.
|
class |
ResolvableDatasource
Simple Implementation of a Datasource that is based on a given
Collection of
Resolvable objects. |
Modifier and Type | Method and Description |
---|---|
Datasource |
ExpressionQueryRequest.getDatasource()
Get the datasource
|
Modifier and Type | Method and Description |
---|---|
void |
ExpressionQueryRequest.setDatasource(Datasource datasource)
Set the datasource
|
Constructor and Description |
---|
ExpressionQueryRequest(DatasourceFilter filter,
Datasource datasource,
int start,
int count,
Datasource.Sorting[] sorting,
int versionTimestamp,
PropertyResolver resolver,
java.util.Map parameters)
Create an instance of the query request
|
ExpressionQueryRequest(DatasourceFilter filter,
Datasource datasource,
PropertyResolver resolver)
Create an instance of the query request
|
Modifier and Type | Method and Description |
---|---|
static <T extends Datasource> |
PortalConnectorFactory.createDatasource(java.lang.Class<T> clazz,
java.lang.String id)
Create a datasource instance of the given class with given id
|
Modifier and Type | Method and Description |
---|---|
static Datasource |
PortalConnectorFactory.createDatasource(java.util.Map handleprops)
Creates a new datasource handle with the specified properties as well as
a new Datasource (with default properties).
|
static Datasource |
PortalConnectorFactory.createDatasource(java.util.Map handleprops,
java.util.Map dsprops)
Creates a new Datasource connection with the specified properties which
should point to a Content Repository of Gentics Content.Node.
|
static Datasource |
PortalConnectorFactory.createDatasource(java.lang.String id)
Create a datasource instance for the datasource with given id
|
Modifier and Type | Method and Description |
---|---|
static void |
PortalConnectorHelper.clearCache(Datasource datasource)
Clear the object and attribute cache for all objects in the given datasource
|
static void |
PortalConnectorHelper.clearCache(Datasource datasource,
java.lang.String contentId)
Clear the object and attribute cache of the given object in the given datasource
|
static void |
PortalConnectorHelper.clearQueryCache(Datasource datasource)
Clear the query caches for the given datasource
|
static Resolvable |
PortalConnectorFactory.getContentObject(java.lang.String contentId,
Datasource datasource)
Returns a content object with the given content id.
|
static Resolvable |
PortalConnectorHelper.getLanguageVariant(Resolvable page,
java.lang.String languageCode,
Datasource ds)
This helper method can be used to fetch a given language variant for the
given page object (which was published from Gentics Content.Node).
|
static void |
PortalConnectorFactory.prefillAttributes(Datasource ds,
java.util.Collection<Resolvable> objects,
java.util.List<java.lang.String> prefillAttributes)
Prefill the given attributes for objects which were fetched from the given datasource
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
PortalConnectorFactory.getAvailableDatasources(java.lang.Class<? extends Datasource> datasourceClass)
Get the available datasources as list of ids
|
Constructor and Description |
---|
CRSync(Datasource source,
WriteableDatasource target,
java.lang.String rule)
Initialize the sync with source and target datasource, leave flags to
default values (false).
|
CRSync(Datasource source,
WriteableDatasource target,
java.lang.String rule,
boolean test,
boolean allowEmpty,
boolean allowAlterTable,
boolean delete,
boolean sourceTransaction,
boolean targetTransaction,
int batchSize,
CRSyncModifier modifier)
Initialize the sync with source and target datasource.
|
CRSync(Datasource source,
WriteableDatasource target,
java.lang.String rule,
boolean test,
boolean allowEmpty,
boolean allowAlterTable,
boolean delete,
int batchSize)
Initialize the sync with source and target datasource, leave flags to
default values (false).
|
Modifier and Type | Method and Description |
---|---|
Datasource |
GenticsPortletContext.getDatasource()
returns default datasource which is the first found datasource of a
specific type.
|
Datasource |
GenticsPortletContext.getDatasource(java.lang.String id) |
Datasource |
AbstractGenticsPortlet.getDatasource(java.lang.String id)
Get a datasource by id.
|
Datasource |
GenticsPortlet.getDatasource(java.lang.String id)
get a datasource by id
|
Copyright © 2019 Gentics Software. All Rights Reserved.