org.openmdx.audit1.provider.layer.application
Class Audit_1

java.lang.Object
  extended by org.openmdx.compatibility.base.dataprovider.spi.Layer_1
      extended by org.openmdx.audit1.provider.layer.application.Audit_1
All Implemented Interfaces:
Dataprovider_1_0, Layer_1_0, Layer_1_1, Layer_1_2, Operation_1_0

public class Audit_1
extends Layer_1


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
 DataproviderReply get(ServiceHeader header, DataproviderRequest request)
          Get the object specified by the requests's path
 DataproviderReply replace(ServiceHeader header, DataproviderRequest request)
          Modifies all changeable attributes of an object.
protected  String uidAsString()
          To replace the deprecated UIDFactory.create() calls
 
Methods inherited from class org.openmdx.compatibility.base.dataprovider.spi.Layer_1
configurationSpecification, deactivate, epilog, epilog, find, getConfiguration, getDelegation, getDelegation, getId, getLenientProcessor, isLenient, modify, operation, process, process, prolog, prolog, remove, set, startPublishing, terminal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Audit_1

public Audit_1()
Method Detail

activate

public void activate(short id,
                     Configuration configuration,
                     Layer_1_0 delegation)
              throws Exception,
                     ServiceException
Description copied from class: Layer_1
Activates a dataprovider layer

Specified by:
activate in interface Layer_1_0
Overrides:
activate in class Layer_1
Parameters:
id - the dataprovider layer's id
configuration - the dataprovider'a configuration
namespaceId
String
exposedPath
Path[]
delegation - the layer to delegate to; or null if "persistenceLayer".equals(id)
Throws:
Exception - unexpected exceptions
ServiceException - expected exceptions

create

public DataproviderReply create(ServiceHeader header,
                                DataproviderRequest request)
                         throws ServiceException
Description copied from class: Layer_1
Create a new object

Specified by:
create in interface Layer_1_0
Overrides:
create in class Layer_1
Parameters:
header - request header
request - the request
Returns:
the reply
Throws:
ServiceException - on failure

replace

public DataproviderReply replace(ServiceHeader header,
                                 DataproviderRequest request)
                          throws ServiceException
Description copied from class: Layer_1
Modifies all changeable attributes of an object.

Specified by:
replace in interface Layer_1_0
Overrides:
replace in class Layer_1
Parameters:
header - request header
request - the request
Returns:
the reply
Throws:
ServiceException - on failure

get

public DataproviderReply get(ServiceHeader header,
                             DataproviderRequest request)
                      throws ServiceException
Description copied from class: Layer_1
Get the object specified by the requests's path

Specified by:
get in interface Layer_1_0
Overrides:
get in class Layer_1
Parameters:
header - request header
request - the request
Returns:
the reply
Throws:
ServiceException - on failure

uidAsString

protected final String uidAsString()
To replace the deprecated UIDFactory.create() calls

Returns:
a UID as string


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