public class AccessControl_2.RestInteraction
extends org.openmdx.base.rest.spi.AbstractRestInteraction
Constructor and Description |
---|
RestInteraction(org.openmdx.base.rest.cci.RestConnection connection) |
Modifier and Type | Method and Description |
---|---|
boolean |
create(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.ObjectRecord request,
org.openmdx.base.rest.cci.ResultRecord response) |
boolean |
delete(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.ObjectRecord request) |
boolean |
find(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.QueryRecord request,
org.openmdx.base.rest.cci.ResultRecord response) |
boolean |
get(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.QueryRecord request,
org.openmdx.base.rest.cci.ResultRecord response) |
protected Set<String> |
getOwningGroupsForNewObject(AccessControl_2.CachedPrincipal requestingPrincipal,
org.openmdx.base.rest.spi.Object_2Facade newObjectFacade,
org.openmdx.base.rest.spi.Object_2Facade parentFacade,
javax.jdo.PersistenceManager pm)
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_2.DefaultRealm realm)
Get owning user for new object.
|
protected boolean |
invoke(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.MessageRecord request,
org.openmdx.base.rest.cci.MessageRecord response) |
protected boolean |
update(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.ObjectRecord request,
org.openmdx.base.rest.cci.ResultRecord response) |
cast, createReply, delete, execute, execute, isBulkLoad, move, newObject, newQuery, newResponseId, pass, toIndexedRecordList, toIndexedRecordSet, verify
public RestInteraction(org.openmdx.base.rest.cci.RestConnection connection) throws javax.resource.ResourceException
javax.resource.ResourceException
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_2.DefaultRealm realm) throws javax.resource.ResourceException
requestingUser
- newObjectFacade
- parentFacade
- realm
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
protected Set<String> getOwningGroupsForNewObject(AccessControl_2.CachedPrincipal requestingPrincipal, org.openmdx.base.rest.spi.Object_2Facade newObjectFacade, org.openmdx.base.rest.spi.Object_2Facade parentFacade, javax.jdo.PersistenceManager pm) throws javax.resource.ResourceException
requestingPrincipal
- newObjectFacade
- parentFacade
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public boolean create(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.cci.ObjectRecord request, org.openmdx.base.rest.cci.ResultRecord response) throws javax.resource.ResourceException
create
in class org.openmdx.base.rest.spi.AbstractRestInteraction
javax.resource.ResourceException
public boolean find(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
find
in class org.openmdx.base.rest.spi.AbstractRestInteraction
javax.resource.ResourceException
public boolean get(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
get
in class org.openmdx.base.rest.spi.AbstractRestInteraction
javax.resource.ResourceException
public boolean delete(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.cci.ObjectRecord request) throws javax.resource.ResourceException
delete
in class org.openmdx.base.rest.spi.AbstractRestInteraction
javax.resource.ResourceException
protected boolean update(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.cci.ObjectRecord request, org.openmdx.base.rest.cci.ResultRecord response) throws javax.resource.ResourceException
update
in class org.openmdx.base.rest.spi.AbstractRestInteraction
javax.resource.ResourceException
protected boolean invoke(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.cci.MessageRecord request, org.openmdx.base.rest.cci.MessageRecord response) throws javax.resource.ResourceException
invoke
in class org.openmdx.base.rest.spi.AbstractRestInteraction
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.