public class OpenCrxSecurity_2.RestInteraction
extends org.openmdx.base.rest.spi.AbstractRestInteraction
Constructor and Description |
---|
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 boolean |
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 obj) |
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 java.lang.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(java.lang.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,
java.lang.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, consume, 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
connection
- javax.resource.ResourceException
protected java.lang.String getPrincipalName(org.openmdx.base.resource.spi.RestInteractionSpec ispec) throws javax.resource.ResourceException
header
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
protected org.openmdx.base.rest.cci.ResultRecord newResult() throws javax.resource.ResourceException
javax.resource.ResourceException
protected javax.resource.cci.MappedRecord newOperationResult(java.lang.String recordType) throws javax.resource.ResourceException
recordType
- javax.resource.ResourceException
protected 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.ServiceException
javax.resource.ResourceException
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) throws javax.resource.ResourceException
header
- passwordCredential
- changePasswordParams
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
public org.openmdx.base.rest.cci.ObjectRecord retrieveObject(org.openmdx.base.naming.Path resourceIdentifier, java.lang.String fetchGroupName) throws javax.resource.ResourceException
resourceIdentifier
- fetchGroupName
- javax.resource.ResourceException
protected boolean checkPermission(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.naming.Path path) throws javax.resource.ResourceException
header
- request
- org.openmdx.base.exception.ServiceException
javax.resource.ResourceException
protected boolean delete(org.openmdx.base.resource.spi.RestInteractionSpec ispec, org.openmdx.base.rest.cci.ObjectRecord obj) throws javax.resource.ResourceException
delete
in class org.openmdx.base.rest.spi.AbstractRestInteraction
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 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 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
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
protected 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
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.