public class DerivedReferences
extends java.lang.Object
Constructor and Description |
---|
DerivedReferences(org.openmdx.base.dataprovider.cci.DataproviderRequestProcessor dataproviderRequestProcessor,
java.util.List<java.lang.String> readOnlyTypes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.openmdx.application.dataprovider.cci.FilterProperty[] |
getAccountFilterProperties(org.openmdx.base.naming.Path accountFilterIdentity)
Map AccountFilter to query.
|
org.openmdx.application.dataprovider.cci.FilterProperty[] |
getActivityFilterProperties(org.openmdx.base.naming.Path activityFilterIdentity)
Map ActivityFilter to query.
|
org.openmdx.application.dataprovider.cci.FilterProperty[] |
getAddressFilterProperties(org.openmdx.base.naming.Path addressFilterIdentity)
Map AddressFilter to query.
|
org.openmdx.application.dataprovider.cci.FilterProperty[] |
getContractFilterProperties(org.openmdx.base.naming.Path contractFilterIdentity)
Map ContractFilter to query.
|
org.openmdx.base.dataprovider.cci.DataproviderRequestProcessor |
getDataproviderRequestProcessor() |
org.openmdx.application.dataprovider.cci.FilterProperty[] |
getDocumentFilterProperties(org.openmdx.base.naming.Path documentFilterIdentity)
Map DocumentFilter to query.
|
org.openmdx.base.mof.cci.Model_1_0 |
getModel() |
org.openmdx.application.dataprovider.cci.FilterProperty[] |
getProductFilterProperties(org.openmdx.base.naming.Path productFilterIdentity,
boolean forCounting)
Map product filter to query.
|
java.util.List<java.lang.String> |
getReadOnlyTypes() |
boolean |
getReply(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.QueryRecord request,
org.openmdx.base.rest.cci.ResultRecord response)
Get reply.
|
org.openmdx.application.dataprovider.cci.FilterProperty[] |
mapObjectFinderToFilter(javax.resource.cci.MappedRecord objectFinder)
Map object finder to query.
|
protected org.openmdx.base.rest.cci.QueryRecord |
remapFindRequest(org.openmdx.base.rest.cci.QueryRecord request,
org.openmdx.base.naming.Path reference)
Remap find request to given reference.
|
protected org.openmdx.base.rest.cci.QueryRecord |
remapQuery(org.openmdx.base.rest.cci.QueryRecord request,
org.openmdx.base.naming.Path reference,
org.openmdx.application.dataprovider.cci.FilterProperty[] additionalFilterProperties)
Remap find request to given reference and add additional filter properties.
|
protected org.openmdx.base.rest.cci.QueryRecord |
remapQuery(org.openmdx.base.rest.cci.QueryRecord request,
org.openmdx.base.naming.Path reference,
org.openmdx.application.dataprovider.cci.FilterProperty[] additionalFilterProperties,
org.openmdx.application.dataprovider.cci.AttributeSpecifier[] additionalAttributeSpecifiers)
Remap find request to given reference and add additional filter properties
and attribute specifiers.
|
java.lang.String |
resolveQueryClause(java.lang.String clause,
org.openmdx.base.naming.Path filterReference,
java.lang.String propertyKind)
Resolve query clause.
|
org.openmdx.base.rest.cci.ObjectRecord |
retrieveObject(org.openmdx.base.dataprovider.cci.DataproviderRequestProcessor p,
org.openmdx.base.naming.Path identity) |
void |
testObjectIsChangeable(javax.resource.cci.MappedRecord object) |
public DerivedReferences(org.openmdx.base.dataprovider.cci.DataproviderRequestProcessor dataproviderRequestProcessor, java.util.List<java.lang.String> readOnlyTypes)
context
- public java.util.List<java.lang.String> getReadOnlyTypes()
public org.openmdx.base.mof.cci.Model_1_0 getModel()
public org.openmdx.base.dataprovider.cci.DataproviderRequestProcessor getDataproviderRequestProcessor()
public org.openmdx.base.rest.cci.ObjectRecord retrieveObject(org.openmdx.base.dataprovider.cci.DataproviderRequestProcessor p, org.openmdx.base.naming.Path identity) throws javax.resource.ResourceException
javax.resource.ResourceException
public void testObjectIsChangeable(javax.resource.cci.MappedRecord object) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
protected org.openmdx.base.rest.cci.QueryRecord remapQuery(org.openmdx.base.rest.cci.QueryRecord request, org.openmdx.base.naming.Path reference, org.openmdx.application.dataprovider.cci.FilterProperty[] additionalFilterProperties, org.openmdx.application.dataprovider.cci.AttributeSpecifier[] additionalAttributeSpecifiers) throws javax.resource.ResourceException
request
- reference
- additionalFilterProperties
- additionalAttributeSpecifiers
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
protected org.openmdx.base.rest.cci.QueryRecord remapFindRequest(org.openmdx.base.rest.cci.QueryRecord request, org.openmdx.base.naming.Path reference) throws javax.resource.ResourceException
request
- reference
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
protected org.openmdx.base.rest.cci.QueryRecord remapQuery(org.openmdx.base.rest.cci.QueryRecord request, org.openmdx.base.naming.Path reference, org.openmdx.application.dataprovider.cci.FilterProperty[] additionalFilterProperties) throws javax.resource.ResourceException
request
- reference
- additionalFilterProperties
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public boolean getReply(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.cci.QueryRecord request, org.openmdx.base.rest.cci.ResultRecord response) throws javax.resource.ResourceException
header
- request
- reply
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public org.openmdx.application.dataprovider.cci.FilterProperty[] mapObjectFinderToFilter(javax.resource.cci.MappedRecord objectFinder) throws javax.resource.ResourceException
objectFinder
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public org.openmdx.application.dataprovider.cci.FilterProperty[] getProductFilterProperties(org.openmdx.base.naming.Path productFilterIdentity, boolean forCounting) throws javax.resource.ResourceException
productFilterIdentity
- forCounting
- delegatingInteraction
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public org.openmdx.application.dataprovider.cci.FilterProperty[] getContractFilterProperties(org.openmdx.base.naming.Path contractFilterIdentity) throws javax.resource.ResourceException
contractFilterIdentity
- delegatingInteraction
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public org.openmdx.application.dataprovider.cci.FilterProperty[] getActivityFilterProperties(org.openmdx.base.naming.Path activityFilterIdentity) throws javax.resource.ResourceException
activityFilterIdentity
- delegatingInteraction
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public org.openmdx.application.dataprovider.cci.FilterProperty[] getDocumentFilterProperties(org.openmdx.base.naming.Path documentFilterIdentity) throws javax.resource.ResourceException
documentFilterIdentity
- delegatingInteraction
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public org.openmdx.application.dataprovider.cci.FilterProperty[] getAddressFilterProperties(org.openmdx.base.naming.Path addressFilterIdentity) throws javax.resource.ResourceException
addressFilterIdentity
- delegatingInteraction
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public java.lang.String resolveQueryClause(java.lang.String clause, org.openmdx.base.naming.Path filterReference, java.lang.String propertyKind) throws javax.resource.ResourceException
filterReference
- propertyKind
- clause
- delegatingInteraction
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public org.openmdx.application.dataprovider.cci.FilterProperty[] getAccountFilterProperties(org.openmdx.base.naming.Path accountFilterIdentity) throws javax.resource.ResourceException
accountFilterIdentity
- delegatingInteraction
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.