public class OpenCrxSecurity_2.RestInteraction
extends org.openmdx.base.rest.spi.AbstractRestInteraction
| Constructor and Description |
|---|
OpenCrxSecurity_2.RestInteraction(org.openmdx.base.rest.cci.RestConnection connection)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
changePassword(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.ObjectRecord passwordCredential,
javax.resource.cci.MappedRecord changePasswordParams,
org.openmdx.base.rest.cci.MessageRecord result)
Change password credential.
|
protected void |
checkPermission(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.naming.Path path)
Check permissions.
|
boolean |
create(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.ObjectRecord request,
org.openmdx.base.rest.cci.ResultRecord response) |
protected boolean |
delete(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.ObjectRecord request) |
protected boolean |
find(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.QueryRecord request,
org.openmdx.base.rest.cci.ResultRecord response) |
protected boolean |
get(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.QueryRecord request,
org.openmdx.base.rest.cci.ResultRecord response) |
protected String |
getPrincipalName(org.openmdx.base.resource.spi.RestInteractionSpec ispec)
Get request principal.
|
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 javax.resource.cci.MappedRecord |
newOperationResult(String recordType)
Create new operation result.
|
protected org.openmdx.base.rest.cci.ResultRecord |
newResult()
Create new result record.
|
org.openmdx.base.rest.cci.ObjectRecord |
retrieveObject(org.openmdx.base.naming.Path resourceIdentifier,
String fetchGroupName)
Retrieve object with given identity.
|
protected void |
touchRealm(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.naming.Path path)
Touch the realm if any object contained in the realm was modified.
|
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 OpenCrxSecurity_2.RestInteraction(org.openmdx.base.rest.cci.RestConnection connection)
throws javax.resource.ResourceException
connection - javax.resource.ResourceExceptionprotected String getPrincipalName(org.openmdx.base.resource.spi.RestInteractionSpec ispec) throws javax.resource.ResourceException
header - org.openmdx.base.exception.ServiceExceptionjavax.resource.ResourceExceptionprotected org.openmdx.base.rest.cci.ResultRecord newResult()
throws javax.resource.ResourceException
javax.resource.ResourceExceptionprotected javax.resource.cci.MappedRecord newOperationResult(String recordType) throws javax.resource.ResourceException
recordType - javax.resource.ResourceExceptionprotected void touchRealm(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.naming.Path path)
throws javax.resource.ResourceException
header - request - org.openmdx.base.exception.ServiceExceptionjavax.resource.ResourceExceptionprotected boolean changePassword(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.cci.ObjectRecord passwordCredential,
javax.resource.cci.MappedRecord changePasswordParams,
org.openmdx.base.rest.cci.MessageRecord result)
throws javax.resource.ResourceException
header - passwordCredential - changePasswordParams - org.openmdx.base.exception.ServiceExceptionjavax.resource.ResourceExceptionpublic org.openmdx.base.rest.cci.ObjectRecord retrieveObject(org.openmdx.base.naming.Path resourceIdentifier,
String fetchGroupName)
throws javax.resource.ResourceException
resourceIdentifier - fetchGroupName - javax.resource.ResourceExceptionprotected void checkPermission(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.naming.Path path)
throws javax.resource.ResourceException
header - request - org.openmdx.base.exception.ServiceExceptionjavax.resource.ResourceExceptionprotected 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.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 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 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.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.ResourceExceptionprotected 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.ResourceExceptionThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.