org.opencrx.kernel.layer.persistence
Class Indexed_1

java.lang.Object
  extended by org.openmdx.compatibility.base.dataprovider.spi.Layer_1
      extended by org.openmdx.compatibility.base.dataprovider.spi.StreamOperationAwareLayer_1
          extended by org.openmdx.compatibility.base.dataprovider.layer.persistence.common.AbstractPersistence_1
              extended by org.openmdx.compatibility.base.dataprovider.layer.persistence.jdbc.AbstractDatabase_1
                  extended by org.openmdx.compatibility.base.dataprovider.layer.persistence.jdbc.Database_1Jdbc2
                      extended by org.openmdx.compatibility.base.dataprovider.layer.persistence.jdbc.Database_1
                          extended by org.opencrx.kernel.layer.persistence.Indexed_1
All Implemented Interfaces:
Dataprovider_1_0, Layer_1_0, Layer_1_1, Layer_1_2, Operation_1_0
Direct Known Subclasses:
Audit_1

public class Indexed_1
extends Database_1

This plugin creates audit entries for modified objects.


Field Summary
 
Fields inherited from class org.openmdx.compatibility.base.dataprovider.layer.persistence.jdbc.AbstractDatabase_1
allowsSqlSequenceFallback, attributeNames, AUTOINC_FORMAT_AUTO, AUTOINC_FORMAT_NEXTVAL, AUTOINC_FORMAT_NEXTVAL_FOR, AUTOINC_FORMAT_SEQUENCE, BATCH_MODE_SIZE_MAX, BATCH_MODE_SIZE_MIN, batchSize, booleanMarshaller, booleanType, calendarMarshaller, columnNames, configuration, connectionManagers, DATASTORE_PREFIX, dateTimeType, dateType, DEFAULT_BATCH_SIZE, DEFAULT_COLUMN_SELECTOR, DEFAULT_OID_SUFFIX, DEFAULT_RID_SUFFIX, durationMarshaller, embeddedFeatures, EXTENT_PATTERN, fetchSize, ignoreCheckForDuplicates, JDBC_DRIVER_SQL_PROPERTIES, jdbcDriverSqlProperties, JDO_CASE_INSENSITIVE_FLAG, maxReferenceComponents, model, namespaceId, nonPersistentFeatures, nullAsCharacter, OBJECT_ID, OBJECT_IDX, OBJECT_OID, OBJECT_RID, objectCache, objectIdAttributesSuffix, pathMacros, privateAttributesPrefix, referenceIdAttributesSuffix, referenceIdFormat, referenceLookupStatementHint, resultSetType, ROUND_UP_TO_MAX_SCALE, scopedFeatures, setSizeColumns, singleValueAttributes, stringMacros, supportsSqlNumericNullCast, SYSTEM_ATTRIBUTES, T_REF, temporaryFiles, timeType, UNDEF_OBJECT_CLASS, unitOfWorkId, useNormalizedReferences, useObjectCache, VIEW_MODE_ADD_MIXIN_COLUMNS_TO_PRIMARY, VIEW_MODE_SECONDARY_COLUMNS
 
Fields inherited from class org.openmdx.compatibility.base.dataprovider.layer.persistence.common.AbstractPersistence_1
DEFAULT_CHUNK_SIZE
 
Constructor Summary
Indexed_1()
           
 
Method Summary
 void activate(short id, Configuration configuration, Layer_1_0 delegation)
           
 DataproviderReply find(ServiceHeader header, DataproviderRequest request)
           
protected  DataproviderObject[] findIndexEntries(ServiceHeader header, Path objectIdentity, FilterProperty[] attributeFilter, AttributeSpecifier[] attributeSpecifier)
           
 DataproviderReply get(ServiceHeader header, DataproviderRequest request)
           
 boolean isAccountAddress(DataproviderObject_1_0 object)
           
protected  DataproviderObject otherOperation(ServiceHeader header, DataproviderRequest request, String operation, Path replyPath)
           
 DataproviderReply remove(ServiceHeader header, DataproviderRequest request)
           
protected  String uidAsString()
           
 
Methods inherited from class org.openmdx.compatibility.base.dataprovider.layer.persistence.jdbc.AbstractDatabase_1
closeConnection, create, create, createBlob, createClob, epilog, executeBatch, executeQuery, externalizePathValue, externalizeStringValue, get, getAttributeName, getAutonumValue, getBooleanType, getConnection, getConnectionManager, getDateTimeType, getDateType, getEscapeClause, getPartialObject, getReference, getReferenceIdFormat, getSelectReferenceIdsClause, getTimeType, internalizePathValue, internalizeStringValue, isSetSizeColumns, modify, prepareStatement, prolog, prolog, replace, setPreparedStatementValue, useNormalizedReferences
 
Methods inherited from class org.openmdx.compatibility.base.dataprovider.layer.persistence.common.AbstractPersistence_1
getBinaryStream, getCharacterStream, getChunkSize, getStreamBufferDirectory, getStreamOperation, getStreamOperation, isSequenceSupported
 
Methods inherited from class org.openmdx.compatibility.base.dataprovider.spi.StreamOperationAwareLayer_1
createResponse, getConfigurationValue, getConfigurationValue, operation
 
Methods inherited from class org.openmdx.compatibility.base.dataprovider.spi.Layer_1
configurationSpecification, deactivate, epilog, getConfiguration, getDelegation, getDelegation, getId, getLenientProcessor, isLenient, process, process, set, startPublishing, terminal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Indexed_1

public Indexed_1()
Method Detail

activate

public void activate(short id,
                     Configuration configuration,
                     Layer_1_0 delegation)
              throws Exception,
                     ServiceException
Specified by:
activate in interface Layer_1_0
Overrides:
activate in class AbstractDatabase_1
Throws:
Exception
ServiceException

isAccountAddress

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

get

public DataproviderReply get(ServiceHeader header,
                             DataproviderRequest request)
                      throws ServiceException
Specified by:
get in interface Layer_1_0
Overrides:
get in class AbstractDatabase_1
Throws:
ServiceException

findIndexEntries

protected DataproviderObject[] findIndexEntries(ServiceHeader header,
                                                Path objectIdentity,
                                                FilterProperty[] attributeFilter,
                                                AttributeSpecifier[] attributeSpecifier)
                                         throws ServiceException
Throws:
ServiceException

find

public DataproviderReply find(ServiceHeader header,
                              DataproviderRequest request)
                       throws ServiceException
Specified by:
find in interface Layer_1_0
Overrides:
find in class AbstractDatabase_1
Throws:
ServiceException

remove

public DataproviderReply remove(ServiceHeader header,
                                DataproviderRequest request)
                         throws ServiceException
Specified by:
remove in interface Layer_1_0
Overrides:
remove in class AbstractDatabase_1
Throws:
ServiceException

otherOperation

protected DataproviderObject otherOperation(ServiceHeader header,
                                            DataproviderRequest request,
                                            String operation,
                                            Path replyPath)
                                     throws ServiceException
Overrides:
otherOperation in class AbstractDatabase_1
Throws:
ServiceException

uidAsString

protected final String uidAsString()


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