public class AccessControl_2.RestInteraction
extends org.openmdx.base.rest.spi.AbstractRestInteraction
| Constructor and Description |
|---|
AccessControl_2.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, verifypublic AccessControl_2.RestInteraction(org.openmdx.base.rest.cci.RestConnection connection)
throws javax.resource.ResourceException
javax.resource.ResourceExceptionprotected 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.ServiceExceptionjavax.resource.ResourceExceptionprotected 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.ServiceExceptionjavax.resource.ResourceExceptionpublic 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.AbstractRestInteractionjavax.resource.ResourceExceptionpublic 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.AbstractRestInteractionjavax.resource.ResourceExceptionpublic 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.AbstractRestInteractionjavax.resource.ResourceExceptionpublic 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.AbstractRestInteractionjavax.resource.ResourceExceptionprotected 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.AbstractRestInteractionjavax.resource.ResourceExceptionprotected 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.AbstractRestInteractionjavax.resource.ResourceExceptionThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.