|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.compatibility.base.dataprovider.spi.Layer_1
org.openmdx.compatibility.base.dataprovider.spi.StreamOperationAwareLayer_1
org.openmdx.compatibility.base.dataprovider.layer.persistence.common.AbstractPersistence_1
org.openmdx.compatibility.base.dataprovider.layer.persistence.jdbc.AbstractDatabase_1
org.openmdx.compatibility.base.dataprovider.layer.persistence.jdbc.Database_1Jdbc2
org.openmdx.audit1.accessor.layer.application.Audit_1
public class Audit_1
Plugin implementing the org:openmdx:compatibility:audit1 features. The plugin does the following:
| Field Summary |
|---|
| Fields inherited from class org.openmdx.compatibility.base.dataprovider.layer.persistence.common.AbstractPersistence_1 |
|---|
DEFAULT_CHUNK_SIZE |
| Constructor Summary | |
|---|---|
Audit_1()
|
|
| Method Summary | |
|---|---|
void |
activate(short id,
Configuration configuration,
Layer_1_0 delegation)
Activates a dataprovider layer |
DataproviderReply |
create(ServiceHeader header,
DataproviderRequest request)
Create a new object |
void |
epilog(ServiceHeader header,
DataproviderRequest[] requests,
DataproviderReply[] replies)
This method allows the dataprovider layers postprocessing of a collection of requests as a whole after the actual processing of the individual requests has been done. |
DataproviderReply |
find(ServiceHeader header,
DataproviderRequest request)
Get the objects specified by the references and filter properties |
DataproviderReply |
get(ServiceHeader header,
DataproviderRequest request)
Get the object specified by the requests's path |
DataproviderReply |
modify(ServiceHeader header,
DataproviderRequest request)
Modifies some of an object's attributes leaving the others unchanged. |
void |
prolog(ServiceHeader header,
DataproviderRequest[] requests)
This method allows the dataprovider layers to verify the integrity of a set of requests as a whole before the actual processing of the individual requests starts. |
DataproviderReply |
remove(ServiceHeader header,
DataproviderRequest request)
Removes an object including its descendents |
DataproviderReply |
replace(ServiceHeader header,
DataproviderRequest request)
Modifies all changeable attributes of an object. |
protected String |
uidAsString()
To replace the deprecated UIDFactory.create() calls |
protected boolean |
useDatatypes()
Tells whether XML datatype formatting is required |
| Methods inherited from class org.openmdx.compatibility.base.dataprovider.layer.persistence.jdbc.AbstractDatabase_1 |
|---|
closeConnection, create, createBlob, createClob, executeBatch, executeQuery, externalizePathValue, externalizeStringValue, get, getAttributeName, getAutonumValue, getBooleanType, getConnection, getConnectionManager, getDateTimeType, getDateType, getEscapeClause, getPartialObject, getReference, getReferenceIdFormat, getSelectReferenceIdsClause, getTimeType, internalizePathValue, internalizeStringValue, isSetSizeColumns, otherOperation, prepareStatement, prolog, 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 |
|---|
public Audit_1()
| Method Detail |
|---|
public void activate(short id,
Configuration configuration,
Layer_1_0 delegation)
throws Exception,
ServiceException
Layer_1
activate in interface Layer_1_0activate in class AbstractDatabase_1id - the dataprovider layer's idconfiguration - the dataprovider'a configuration
delegation - the layer to delegate to;
or null if "persistenceLayer".equals(id)
Exception - unexpected exceptions
ServiceException - expected exceptions
public void prolog(ServiceHeader header,
DataproviderRequest[] requests)
throws ServiceException
Layer_1
prolog in interface Layer_1_0prolog in class AbstractDatabase_1header - the requests' service headerrequests - the request list
ServiceException - on failure
public void epilog(ServiceHeader header,
DataproviderRequest[] requests,
DataproviderReply[] replies)
throws ServiceException
Layer_1
epilog in interface Layer_1_0epilog in class AbstractDatabase_1header - the requests' service headerrequests - the request listreplies - the reply collection
ServiceException - on failure
public DataproviderReply get(ServiceHeader header,
DataproviderRequest request)
throws ServiceException
Layer_1
get in interface Layer_1_0get in class AbstractDatabase_1header - request headerrequest - the request
ServiceException - on failure
public DataproviderReply find(ServiceHeader header,
DataproviderRequest request)
throws ServiceException
Layer_1
find in interface Layer_1_0find in class AbstractDatabase_1header - request headerrequest - the request
ServiceException - on failure
public DataproviderReply replace(ServiceHeader header,
DataproviderRequest request)
throws ServiceException
Layer_1
replace in interface Layer_1_0replace in class AbstractDatabase_1header - request headerrequest - the request
ServiceException - on failure
public DataproviderReply modify(ServiceHeader header,
DataproviderRequest request)
throws ServiceException
Layer_1
modify in interface Layer_1_0modify in class AbstractDatabase_1header - request headerrequest - the request
ServiceException - on failure
public DataproviderReply remove(ServiceHeader header,
DataproviderRequest request)
throws ServiceException
Layer_1
remove in interface Layer_1_0remove in class AbstractDatabase_1header - request headerrequest - the request
ServiceException - on failure
public DataproviderReply create(ServiceHeader header,
DataproviderRequest request)
throws ServiceException
Layer_1
create in interface Layer_1_0create in class AbstractDatabase_1header - request headerrequest - the request
ServiceException - on failureprotected boolean useDatatypes()
protected final String uidAsString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||