public class AccessControl_1.LayerInteraction
extends org.openmdx.application.dataprovider.layer.model.Standard_1.LayerInteraction
Constructor and Description |
---|
LayerInteraction(javax.resource.cci.Connection connection) |
Modifier and Type | Method and Description |
---|---|
boolean |
create(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.spi.Object_2Facade input,
javax.resource.cci.IndexedRecord output) |
boolean |
delete(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.spi.Object_2Facade input,
javax.resource.cci.IndexedRecord output) |
boolean |
find(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.spi.Query_2Facade input,
javax.resource.cci.IndexedRecord output) |
protected javax.resource.cci.MappedRecord[] |
findObjects(org.openmdx.base.naming.Path reference)
Find objects.
|
boolean |
get(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.spi.Query_2Facade input,
javax.resource.cci.IndexedRecord output) |
protected Set<String> |
getOwningGroupsForNewObject(AccessControl_1.CachedPrincipal requestingPrincipal,
org.openmdx.base.rest.spi.Object_2Facade newObjectFacade,
org.openmdx.base.rest.spi.Object_2Facade parentFacade)
Get owning groups for new object.
|
protected String |
getOwningUserForNewObject(org.openmdx.base.naming.Path requestingUser,
org.openmdx.base.rest.spi.Object_2Facade newObjectFacade,
org.openmdx.base.rest.spi.Object_2Facade parentFacade,
AccessControl_1.DefaultRealm realm)
Get owning user for new object.
|
boolean |
invoke(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.MessageRecord input,
org.openmdx.base.rest.cci.MessageRecord output) |
boolean |
put(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.spi.Object_2Facade input,
javax.resource.cci.IndexedRecord output) |
protected javax.resource.cci.MappedRecord |
retrieveObject(org.openmdx.base.naming.Path identity,
boolean preferringNotFoundException)
Retrieve object with given identity.
|
expectsReplyData
getDelegatingInteraction, getDelegatingLayer, getServiceHeader, newDataproviderReply, newDataproviderReply, newDataproviderReply, newDataproviderRequest, newDataproviderRequest, newDataproviderRequest, newResourceException
cast, delete, execute, execute, getModel, isBulkLoad, isPreferringNotFoundException, move, newRequestId, newResponseId, pass, validate
public LayerInteraction(javax.resource.cci.Connection connection) throws javax.resource.ResourceException
javax.resource.ResourceException
protected javax.resource.cci.MappedRecord retrieveObject(org.openmdx.base.naming.Path identity, boolean preferringNotFoundException) throws org.openmdx.base.exception.ServiceException
identity
- preferringNotFoundException
- org.openmdx.base.exception.ServiceException
protected javax.resource.cci.MappedRecord[] findObjects(org.openmdx.base.naming.Path reference) throws org.openmdx.base.exception.ServiceException
reference
- org.openmdx.base.exception.ServiceException
protected String getOwningUserForNewObject(org.openmdx.base.naming.Path requestingUser, org.openmdx.base.rest.spi.Object_2Facade newObjectFacade, org.openmdx.base.rest.spi.Object_2Facade parentFacade, AccessControl_1.DefaultRealm realm) throws org.openmdx.base.exception.ServiceException
requestingUser
- newObjectFacade
- parentFacade
- realm
- org.openmdx.base.exception.ServiceException
protected Set<String> getOwningGroupsForNewObject(AccessControl_1.CachedPrincipal requestingPrincipal, org.openmdx.base.rest.spi.Object_2Facade newObjectFacade, org.openmdx.base.rest.spi.Object_2Facade parentFacade) throws org.openmdx.base.exception.ServiceException
requestingPrincipal
- newObjectFacade
- parentFacade
- org.openmdx.base.exception.ServiceException
public boolean create(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.spi.Object_2Facade input, javax.resource.cci.IndexedRecord output) throws org.openmdx.base.exception.ServiceException
create
in class org.openmdx.application.dataprovider.layer.model.Standard_1.LayerInteraction
org.openmdx.base.exception.ServiceException
public boolean find(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.spi.Query_2Facade input, javax.resource.cci.IndexedRecord output) throws org.openmdx.base.exception.ServiceException
find
in class org.openmdx.application.dataprovider.layer.model.Standard_1.LayerInteraction
org.openmdx.base.exception.ServiceException
public boolean get(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.spi.Query_2Facade input, javax.resource.cci.IndexedRecord output) throws org.openmdx.base.exception.ServiceException
get
in class org.openmdx.application.dataprovider.layer.model.Standard_1.LayerInteraction
org.openmdx.base.exception.ServiceException
public boolean delete(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.spi.Object_2Facade input, javax.resource.cci.IndexedRecord output) throws org.openmdx.base.exception.ServiceException
delete
in class org.openmdx.application.dataprovider.layer.model.Standard_1.LayerInteraction
org.openmdx.base.exception.ServiceException
public boolean put(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.spi.Object_2Facade input, javax.resource.cci.IndexedRecord output) throws org.openmdx.base.exception.ServiceException
put
in class org.openmdx.application.dataprovider.layer.model.Standard_1.LayerInteraction
org.openmdx.base.exception.ServiceException
public boolean invoke(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.cci.MessageRecord input, org.openmdx.base.rest.cci.MessageRecord output) throws org.openmdx.base.exception.ServiceException
invoke
in class org.openmdx.application.dataprovider.spi.Layer_1.LayerInteraction
org.openmdx.base.exception.ServiceException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.