public class Media_1.LayerInteraction
extends org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1.LayerInteraction
Constructor and Description |
---|
LayerInteraction(javax.resource.cci.Connection connection)
Constructor.
|
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) |
protected boolean |
currentUserIsRoot(org.openmdx.application.dataprovider.cci.ServiceHeader header)
Return true if current user is ROOT_PRINCIPAL.
|
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) |
boolean |
get(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.spi.Query_2Facade input,
javax.resource.cci.IndexedRecord output) |
boolean |
put(org.openmdx.base.resource.spi.RestInteractionSpec ispec,
org.openmdx.base.rest.spi.Object_2Facade input,
javax.resource.cci.IndexedRecord output) |
protected void |
setContent(org.openmdx.base.rest.spi.Object_2Facade object)
Set content.
|
protected void |
storeContent(File contentFile,
org.w3c.cci2.BinaryLargeObject binaryContent)
Store content.
|
invoke, otherOperation
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
connection
- javax.resource.ResourceException
protected void storeContent(File contentFile, org.w3c.cci2.BinaryLargeObject binaryContent) throws org.openmdx.base.exception.ServiceException
contentFile
- binaryContent
- org.openmdx.base.exception.ServiceException
protected void setContent(org.openmdx.base.rest.spi.Object_2Facade object) throws org.openmdx.base.exception.ServiceException
object
- org.openmdx.base.exception.ServiceException
protected boolean currentUserIsRoot(org.openmdx.application.dataprovider.cci.ServiceHeader header)
header
- 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.persistence.jdbc.AbstractDatabase_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.persistence.jdbc.AbstractDatabase_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.persistence.jdbc.AbstractDatabase_1.LayerInteraction
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.persistence.jdbc.AbstractDatabase_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.persistence.jdbc.AbstractDatabase_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.