|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.evdb.javaapi.operations.BaseOperations
public abstract class BaseOperations
The base operations class, contains methods common to all objects
| Field Summary | |
|---|---|
protected ServerCommunication |
serverCommunication
The main server communication object |
| Constructor Summary | |
|---|---|
BaseOperations()
|
|
| Method Summary | |
|---|---|
protected void |
addComment(java.lang.String method,
java.lang.String id,
Comment comment)
Add a comment to an object |
protected void |
addImage(java.lang.String method,
java.lang.String id,
Image image)
Add am image |
protected void |
addLink(java.lang.String method,
java.lang.String id,
Link link)
Add a link |
protected int |
addProperty(java.lang.String method,
java.lang.String id,
Property property)
Add a property |
protected void |
deleteComment(java.lang.String method,
Comment comment)
Delete a comment |
protected void |
deleteImage(java.lang.String method,
java.lang.String id,
Image image)
Delete an image |
protected void |
deleteLink(java.lang.String method,
Link link)
Remove a link |
protected void |
deleteProperty(java.lang.String method,
java.lang.String id,
Property property)
Remove a property |
protected javax.xml.bind.Unmarshaller |
getUnmarshaller(java.lang.Class clazz)
Return an unmarshaller |
protected java.lang.Object |
listProperties(java.lang.Class clazz,
java.lang.String method,
java.lang.String id)
List properties |
protected java.lang.Object |
listTags(java.lang.Class clazz,
java.lang.String method,
java.lang.String id)
List the tags for an object |
protected void |
modifyComment(java.lang.String method,
Comment comment)
Modify a comment |
protected void |
modifyTags(java.lang.String method,
java.lang.String id,
java.util.List<Tag> tagList)
Add or remove tags from an object |
protected java.lang.Object |
unmarshallRequest(java.lang.Class clazz,
java.io.InputStream is)
Unmarshall server response data |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ServerCommunication serverCommunication
| Constructor Detail |
|---|
public BaseOperations()
| Method Detail |
|---|
protected javax.xml.bind.Unmarshaller getUnmarshaller(java.lang.Class clazz)
throws javax.xml.bind.JAXBException
clazz -
javax.xml.bind.JAXBException
protected java.lang.Object listTags(java.lang.Class clazz,
java.lang.String method,
java.lang.String id)
throws EVDBRuntimeException,
EVDBAPIException
clazz - method - id -
EVDBAPIException
EVDBRuntimeException
protected java.lang.Object listProperties(java.lang.Class clazz,
java.lang.String method,
java.lang.String id)
throws EVDBRuntimeException,
EVDBAPIException
clazz - method - id -
EVDBRuntimeException
EVDBAPIException
protected void modifyTags(java.lang.String method,
java.lang.String id,
java.util.List<Tag> tagList)
throws EVDBRuntimeException,
EVDBAPIException
method - id - tagList -
EVDBRuntimeException
EVDBAPIException
protected int addProperty(java.lang.String method,
java.lang.String id,
Property property)
throws EVDBRuntimeException,
EVDBAPIException
method - id - property -
EVDBRuntimeException
EVDBAPIException
protected void deleteProperty(java.lang.String method,
java.lang.String id,
Property property)
throws EVDBRuntimeException,
EVDBAPIException
method - id - property -
EVDBRuntimeException
EVDBAPIException
protected void addComment(java.lang.String method,
java.lang.String id,
Comment comment)
throws EVDBRuntimeException,
EVDBAPIException
method - id - comment -
EVDBRuntimeException
EVDBAPIException
protected void modifyComment(java.lang.String method,
Comment comment)
throws EVDBRuntimeException,
EVDBAPIException
method - comment -
EVDBRuntimeException
EVDBAPIException
protected void deleteComment(java.lang.String method,
Comment comment)
throws EVDBRuntimeException,
EVDBAPIException
method - comment -
EVDBRuntimeException
EVDBAPIException
protected void deleteImage(java.lang.String method,
java.lang.String id,
Image image)
throws EVDBRuntimeException,
EVDBAPIException
method - id - image -
EVDBRuntimeException
EVDBAPIException
protected void addImage(java.lang.String method,
java.lang.String id,
Image image)
throws EVDBRuntimeException,
EVDBAPIException
method - id - image -
EVDBRuntimeException
EVDBAPIException
protected void addLink(java.lang.String method,
java.lang.String id,
Link link)
throws EVDBRuntimeException,
EVDBAPIException
method - id - link -
EVDBRuntimeException
EVDBAPIException
protected void deleteLink(java.lang.String method,
Link link)
throws EVDBRuntimeException,
EVDBAPIException
method - link -
EVDBRuntimeException
EVDBAPIException
protected java.lang.Object unmarshallRequest(java.lang.Class clazz,
java.io.InputStream is)
throws EVDBAPIException
clazz - Class to unmarshall tois - Input stream
javax.xml.bind.JAXBException
EVDBRuntimeException
EVDBAPIException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||