org.opencrx.kernel.layer.persistence
Class Indexed_1

java.lang.Object
  extended by org.openmdx.application.dataprovider.spi.Layer_1
      extended by org.openmdx.application.dataprovider.spi.OperationAwareLayer_1
          extended by org.openmdx.application.dataprovider.layer.persistence.common.AbstractPersistence_1
              extended by org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1
                  extended by org.openmdx.application.dataprovider.layer.persistence.jdbc.Database_1
                      extended by org.opencrx.kernel.layer.persistence.Indexed_1
All Implemented Interfaces:
org.openmdx.application.dataprovider.cci.Dataprovider_1_0, org.openmdx.application.dataprovider.layer.persistence.jdbc.DataTypes, Port
Direct Known Subclasses:
Audit_1

public class Indexed_1
extends org.openmdx.application.dataprovider.layer.persistence.jdbc.Database_1

This plugin creates audit entries for modified objects.


Nested Class Summary
 class Indexed_1.LayerInteraction
           
 
Field Summary
protected static int BATCH_SIZE
           
protected  Set<org.openmdx.base.naming.Path> indexableTypes
           
protected static Set<String> INDEXED_ATTRIBUTES
           
protected static int MAX_KEYWORD_LENGTH
           
protected static int MIN_KEYWORD_LENGTH
           
 
Fields inherited from class org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1
allowsSqlSequenceFallback, AUTOINC_FORMAT_AUTO, AUTOINC_FORMAT_NEXT_VALUE_FOR, AUTOINC_FORMAT_NEXTVAL, AUTOINC_FORMAT_NEXTVAL_FOR, AUTOINC_FORMAT_SEQUENCE, BATCH_MODE_SIZE_MAX, BATCH_MODE_SIZE_MIN, batchSize, booleanMarshaller, booleanType, calendarMarshaller, columnNames, configuration, dataSources, dateTimeType, dateType, DEFAULT_BATCH_SIZE, DEFAULT_COLUMN_SELECTOR, DEFAULT_OID_SUFFIX, DEFAULT_RID_SUFFIX, durationMarshaller, embeddedFeatures, featureNames, fetchSize, ignoreCheckForDuplicates, JDBC_DRIVER_SQL_PROPERTIES, jdbcDriverSqlProperties, JDO_CASE_INSENSITIVE_FLAG, maxReferenceComponents, namespaceId, nonPersistentFeatures, nullAsCharacter, OBJECT_ID, OBJECT_IDX, OBJECT_OID, OBJECT_RID, objectIdAttributesSuffix, pathMacros, privateAttributesPrefix, QUALIFIED_SYSTEM_ATTRIBUTES, referenceIdAttributesSuffix, referenceIdFormat, referenceLookupStatementHint, RESERVED_WORDS_HSQLDB, resultSetType, ROUND_UP_TO_MAX_SCALE, setSizeColumns, singleValueAttributes, sqlWildacrds, stringMacros, supportsSqlNumericNullCast, SYSTEM_ATTRIBUTES, T_REF, temporaryFiles, timeType, UNDEF_OBJECT_CLASS, useNormalizedReferences, VIEW_MODE_ADD_MIXIN_COLUMNS_TO_PRIMARY, VIEW_MODE_SECONDARY_COLUMNS
 
Fields inherited from class org.openmdx.application.dataprovider.layer.persistence.common.AbstractPersistence_1
DEFAULT_CHUNK_SIZE
 
Fields inherited from class org.openmdx.application.dataprovider.spi.Layer_1
compressUID, delegation
 
Constructor Summary
Indexed_1()
           
 
Method Summary
 void activate(short id, org.openmdx.application.configuration.Configuration configuration, org.openmdx.application.dataprovider.spi.Layer_1 delegation)
           
protected  MappedRecord createResult(org.openmdx.application.dataprovider.cci.DataproviderRequest request, String structName)
           
 Interaction getInteraction(Connection connection)
           
protected  Set<String> getKeywords(MappedRecord obj)
           
 boolean isAccountAddress(MappedRecord object)
           
 
Methods inherited from class org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1
addBeforeImage, closeConnection, completeObject, completeReply, create, createBlob, createClob, createDbObject, createDbObject, escape, executeQuery, executeUpdate, externalizePathValue, externalizeStringValue, filterToSqlClause, filterToSqlClause, get, getAutonumValue, getBooleanType, getConnection, getDataSource, getDateTimeType, getDateType, getDbObject, getEscapeClause, getFeatureName, getFilterPropertyDefs, getLockAssertion, getObjects, getPartialObject, getPrimaryFilterProperties, getReference, getReferenceIdFormat, getSelectReferenceIdsClause, getTimeType, getVersion, getVersionField, getVersionValue, getView, internalizePathValue, internalizeStringValue, isSetSizeColumns, mapInstanceOfFilterProperty, normalizeDateTimeValues, prepareStatement, removePrivateAttributes, removeViewPrefix, setPreparedStatementValue, setValue, setValue, toPattern, unescape, useNormalizedReferences
 
Methods inherited from class org.openmdx.application.dataprovider.layer.persistence.common.AbstractPersistence_1
getAllSubtypes, getChunkSize, getStreamBufferDirectory, isSequenceSupported
 
Methods inherited from class org.openmdx.application.dataprovider.spi.OperationAwareLayer_1
getConfigurationValue, getConfigurationValue
 
Methods inherited from class org.openmdx.application.dataprovider.spi.Layer_1
configurationSpecification, deactivate, getConfiguration, getConnectionFactory, getDelegation, getId, getModel, newReplyId, process, terminal, uidAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_KEYWORD_LENGTH

protected static final int MIN_KEYWORD_LENGTH
See Also:
Constant Field Values

MAX_KEYWORD_LENGTH

protected static final int MAX_KEYWORD_LENGTH
See Also:
Constant Field Values

BATCH_SIZE

protected static final int BATCH_SIZE
See Also:
Constant Field Values

indexableTypes

protected Set<org.openmdx.base.naming.Path> indexableTypes

INDEXED_ATTRIBUTES

protected static final Set<String> INDEXED_ATTRIBUTES
Constructor Detail

Indexed_1

public Indexed_1()
Method Detail

getInteraction

public Interaction getInteraction(Connection connection)
                           throws ResourceException
Specified by:
getInteraction in interface Port
Overrides:
getInteraction in class org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1
Throws:
ResourceException

activate

public void activate(short id,
                     org.openmdx.application.configuration.Configuration configuration,
                     org.openmdx.application.dataprovider.spi.Layer_1 delegation)
              throws ServiceException
Overrides:
activate in class org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1
Throws:
ServiceException

createResult

protected MappedRecord createResult(org.openmdx.application.dataprovider.cci.DataproviderRequest request,
                                    String structName)
                             throws ServiceException
Throws:
ServiceException

getKeywords

protected Set<String> getKeywords(MappedRecord obj)
                           throws ServiceException
Throws:
ServiceException

isAccountAddress

public boolean isAccountAddress(MappedRecord object)
                         throws ServiceException
Throws:
ServiceException


This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.