|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Datasource | |
---|---|
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. |
Uses of Datasource in com.gentics.api.lib.datasource |
---|
Subinterfaces of Datasource in com.gentics.api.lib.datasource | |
---|---|
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 |
Classes in com.gentics.api.lib.datasource that implement Datasource | |
---|---|
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. |
Uses of Datasource in com.gentics.api.lib.expressionparser |
---|
Methods in com.gentics.api.lib.expressionparser that return Datasource | |
---|---|
Datasource |
ExpressionQueryRequest.getDatasource()
Get the datasource |
Methods in com.gentics.api.lib.expressionparser with parameters of type Datasource | |
---|---|
void |
ExpressionQueryRequest.setDatasource(Datasource datasource)
Set the datasource |
Constructors in com.gentics.api.lib.expressionparser with parameters of type Datasource | |
---|---|
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 |
Uses of Datasource in com.gentics.api.portalnode.connector |
---|
Methods in com.gentics.api.portalnode.connector with type parameters of type Datasource | ||
---|---|---|
static
|
PortalConnectorFactory.createDatasource(java.lang.Class<T> clazz,
java.lang.String id)
Create a datasource instance of the given class with given id |
Methods in com.gentics.api.portalnode.connector that return Datasource | |
---|---|
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 |
Methods in com.gentics.api.portalnode.connector with parameters of type Datasource | |
---|---|
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 |
Method parameters in com.gentics.api.portalnode.connector with type arguments of type Datasource | |
---|---|
static java.util.List<java.lang.String> |
PortalConnectorFactory.getAvailableDatasources(java.lang.Class<? extends Datasource> datasourceClass)
Get the available datasources as list of ids |
Constructors in com.gentics.api.portalnode.connector with parameters of type Datasource | |
---|---|
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). |
Uses of Datasource in com.gentics.api.portalnode.portlet |
---|
Methods in com.gentics.api.portalnode.portlet that return Datasource | |
---|---|
Datasource |
GenticsPortletContext.getDatasource()
returns default datasource which is the first found datasource of a specific type. |
Datasource |
GenticsPortletContext.getDatasource(java.lang.String id)
|
Datasource |
GenticsPortlet.getDatasource(java.lang.String id)
get a datasource by id |
Datasource |
AbstractGenticsPortlet.getDatasource(java.lang.String id)
Get a datasource by id. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |