public class GraphHelpersMoxy extends Object
Modifier and Type | Field and Description |
---|---|
protected AAILogger |
aaiLogger |
protected String |
COMPONENT |
protected LogLine |
logline |
protected LogLine |
tlogline |
protected LogLine |
vlogline |
Constructor and Description |
---|
GraphHelpersMoxy() |
Modifier and Type | Method and Description |
---|---|
void |
deleteObject(com.thinkaurelius.titan.core.TitanTransaction g,
HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList,
HashMap<String,String> allKeys,
org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext,
String resourceVersion,
AAIResource aaiRes,
AAIResources aaiResources,
String topObjectSimpleResourceName,
AAIExtensionMap aaiExtMap)
Delete object.
|
void |
getAncestry(com.thinkaurelius.titan.core.TitanTransaction g,
HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList,
HashMap<String,String> allKeys,
AAIResource aaiRes,
AncestryItems ancestry,
boolean includeSelf,
String selfFullName,
org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext,
AAIExtensionMap aaiExtMap)
Gets the ancestry.
|
void |
getExampleWithChildren(AAIResource aaiRes,
org.eclipse.persistence.dynamic.DynamicEntity baseObject,
boolean singleton,
org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext,
AAIExtensionMap aaiExtMap)
Gets the example with children.
|
org.eclipse.persistence.dynamic.DynamicEntity |
getObject(com.thinkaurelius.titan.core.TitanTransaction g,
com.thinkaurelius.titan.core.TitanVertex meVertex,
com.thinkaurelius.titan.core.TitanVertex baseVertex,
AAIResource aaiRes,
String topologyUntilThisOne,
int depth,
AncestryItems ancestry,
org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext,
String apiVersion,
AAIExtensionMap aaiExtMap)
Gets the object.
|
void |
getObjects(com.thinkaurelius.titan.core.TitanTransaction g,
org.eclipse.persistence.dynamic.DynamicEntity outsideObject,
AAIResource aaiRes,
int depth,
AncestryItems ancestry,
org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext,
AAIExtensionMap aaiExtMap)
Gets the objects.
|
javax.ws.rs.core.Response |
handleDelete(HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList,
HashMap<String,String> allKeys,
String resourceVersion,
AAIExtensionMap aaiExtMap)
Handle delete.
|
javax.ws.rs.core.Response |
handleDeleteRel(String objectFromRequest,
HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList,
HashMap<String,String> allKeys,
AAIExtensionMap aaiExtMap)
Handle delete rel.
|
javax.ws.rs.core.Response |
handleExample(AAIResource aaiRes,
AAIExtensionMap aaiExtMap,
boolean singleton,
boolean getChildren)
Handle example.
|
javax.ws.rs.core.Response |
handleGetAll(LinkedHashMap<String,LinkedHashMap<String,Object>> lookupHashMapList,
HashMap<String,String> allKeys,
int depth,
AAIExtensionMap aaiExtMap)
Handle get all.
|
javax.ws.rs.core.Response |
handleGetByName(HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList,
HashMap<String,String> allKeys,
int depth,
AAIExtensionMap aaiExtMap)
Handle get by name.
|
javax.ws.rs.core.Response |
handleGetSingleByKey(HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList,
HashMap<String,String> allKeys,
int depth,
AAIExtensionMap aaiExtMap)
Handle get single by key.
|
javax.ws.rs.core.Response |
handlePut(String objectFromRequest,
HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList,
HashMap<String,String> allKeys,
AAIExtensionMap aaiExtMap)
Handle put.
|
javax.ws.rs.core.Response |
handleUpdateRel(String objectFromRequest,
HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList,
HashMap<String,String> allKeys,
AAIExtensionMap aaiExtMap)
Handle update rel.
|
boolean |
isEventEnabled(String action,
String namespace,
String simpleName)
Checks if is event enabled.
|
com.thinkaurelius.titan.core.TitanVertex |
putObject(com.thinkaurelius.titan.core.TitanTransaction g,
AAIResource aaiRes,
HashMap<String,String> allKeys,
HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList,
org.eclipse.persistence.dynamic.DynamicEntity meObject,
com.thinkaurelius.titan.core.TitanVertex parentVertex,
boolean[] objectExisted,
org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext,
AncestryItems ancestry,
AAIExtensionMap aaiExtMap)
Put object.
|
void |
storeNotificationEvent(com.thinkaurelius.titan.core.TitanTransaction g,
String eventAction,
com.thinkaurelius.titan.core.TitanVertex meVertex,
org.eclipse.persistence.dynamic.DynamicEntity meObject,
AAIResource aaiRes,
AncestryItems ancestry,
AAIResources aaiResources,
AAIExtensionMap aaiExtMap)
Store notification event.
|
void |
storeNotificationEvent(com.thinkaurelius.titan.core.TitanTransaction g,
String eventAction,
com.thinkaurelius.titan.core.TitanVertex meVertex,
org.eclipse.persistence.dynamic.DynamicEntity meObject,
AAIResource aaiRes,
AncestryItems ancestry,
AAIResources aaiResources,
AAIExtensionMap aaiExtMap,
String overrideUri)
Store notification event.
|
org.eclipse.persistence.dynamic.DynamicEntity |
unpackAncestry(com.thinkaurelius.titan.core.TitanTransaction g,
AncestryItems ancestry,
String topologyUntilThisOne,
org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext,
AAIExtensionMap aaiExtMap)
Unpack ancestry.
|
protected LogLine logline
protected LogLine vlogline
protected LogLine tlogline
protected final String COMPONENT
protected AAILogger aaiLogger
public javax.ws.rs.core.Response handlePut(String objectFromRequest, HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList, HashMap<String,String> allKeys, AAIExtensionMap aaiExtMap) throws AAIException
objectFromRequest
- the object from requestlookupHashMapList
- the lookup hash map listallKeys
- the all keysaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionpublic javax.ws.rs.core.Response handleDelete(HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList, HashMap<String,String> allKeys, String resourceVersion, AAIExtensionMap aaiExtMap) throws AAIException
lookupHashMapList
- the lookup hash map listallKeys
- the all keysresourceVersion
- the resource versionaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionpublic javax.ws.rs.core.Response handleGetByName(HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList, HashMap<String,String> allKeys, int depth, AAIExtensionMap aaiExtMap) throws AAIException
lookupHashMapList
- the lookup hash map listallKeys
- the all keysdepth
- the depthaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionpublic javax.ws.rs.core.Response handleGetSingleByKey(HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList, HashMap<String,String> allKeys, int depth, AAIExtensionMap aaiExtMap) throws AAIException
lookupHashMapList
- the lookup hash map listallKeys
- the all keysdepth
- the depthaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionpublic javax.ws.rs.core.Response handleGetAll(LinkedHashMap<String,LinkedHashMap<String,Object>> lookupHashMapList, HashMap<String,String> allKeys, int depth, AAIExtensionMap aaiExtMap) throws AAIException
lookupHashMapList
- the lookup hash map listallKeys
- the all keysdepth
- the depthaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionpublic javax.ws.rs.core.Response handleUpdateRel(String objectFromRequest, HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList, HashMap<String,String> allKeys, AAIExtensionMap aaiExtMap) throws AAIException
objectFromRequest
- the object from requestlookupHashMapList
- the lookup hash map listallKeys
- the all keysaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionpublic javax.ws.rs.core.Response handleDeleteRel(String objectFromRequest, HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList, HashMap<String,String> allKeys, AAIExtensionMap aaiExtMap) throws AAIException
objectFromRequest
- the object from requestlookupHashMapList
- the lookup hash map listallKeys
- the all keysaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionpublic javax.ws.rs.core.Response handleExample(AAIResource aaiRes, AAIExtensionMap aaiExtMap, boolean singleton, boolean getChildren) throws AAIException
aaiRes
- the aai resaaiExtMap
- the aai ext mapsingleton
- the singletongetChildren
- the get childrenAAIException
- the AAI exceptionpublic void getExampleWithChildren(AAIResource aaiRes, org.eclipse.persistence.dynamic.DynamicEntity baseObject, boolean singleton, org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext, AAIExtensionMap aaiExtMap) throws AAIException, ClassNotFoundException, InstantiationException, IllegalAccessException, NoSuchMethodException, SecurityException, IllegalArgumentException, InvocationTargetException
aaiRes
- the aai resbaseObject
- the base objectsingleton
- the singletonjaxbContext
- the jaxb contextaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionClassNotFoundException
- the class not found exceptionInstantiationException
- the instantiation exceptionIllegalAccessException
- the illegal access exceptionNoSuchMethodException
- the no such method exceptionSecurityException
- the security exceptionIllegalArgumentException
- the illegal argument exceptionInvocationTargetException
- the invocation target exceptionpublic com.thinkaurelius.titan.core.TitanVertex putObject(com.thinkaurelius.titan.core.TitanTransaction g, AAIResource aaiRes, HashMap<String,String> allKeys, HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList, org.eclipse.persistence.dynamic.DynamicEntity meObject, com.thinkaurelius.titan.core.TitanVertex parentVertex, boolean[] objectExisted, org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext, AncestryItems ancestry, AAIExtensionMap aaiExtMap) throws AAIException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, ClassNotFoundException, InstantiationException, NoSuchMethodException, SecurityException
g
- the gaaiRes
- the aai resallKeys
- the all keyslookupHashMapList
- the lookup hash map listmeObject
- the me objectparentVertex
- the parent vertexobjectExisted
- the object existedjaxbContext
- the jaxb contextancestry
- the ancestryaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionIllegalAccessException
- the illegal access exceptionIllegalArgumentException
- the illegal argument exceptionInvocationTargetException
- the invocation target exceptionClassNotFoundException
- the class not found exceptionInstantiationException
- the instantiation exceptionNoSuchMethodException
- the no such method exceptionSecurityException
- the security exceptionpublic void deleteObject(com.thinkaurelius.titan.core.TitanTransaction g, HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList, HashMap<String,String> allKeys, org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext, String resourceVersion, AAIResource aaiRes, AAIResources aaiResources, String topObjectSimpleResourceName, AAIExtensionMap aaiExtMap) throws AAIException, UnsupportedEncodingException
g
- the glookupHashMapList
- the lookup hash map listallKeys
- the all keysjaxbContext
- the jaxb contextresourceVersion
- the resource versionaaiRes
- the aai resaaiResources
- the aai resourcestopObjectSimpleResourceName
- the top object simple resource nameaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionUnsupportedEncodingException
- the unsupported encoding exceptionpublic void getObjects(com.thinkaurelius.titan.core.TitanTransaction g, org.eclipse.persistence.dynamic.DynamicEntity outsideObject, AAIResource aaiRes, int depth, AncestryItems ancestry, org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext, AAIExtensionMap aaiExtMap) throws ClassNotFoundException, InstantiationException, IllegalAccessException, AAIException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, UnsupportedEncodingException
g
- the goutsideObject
- the outside objectaaiRes
- the aai resdepth
- the depthancestry
- the ancestryjaxbContext
- the jaxb contextaaiExtMap
- the aai ext mapClassNotFoundException
- the class not found exceptionInstantiationException
- the instantiation exceptionIllegalAccessException
- the illegal access exceptionAAIException
- the AAI exceptionIllegalArgumentException
- the illegal argument exceptionInvocationTargetException
- the invocation target exceptionNoSuchMethodException
- the no such method exceptionSecurityException
- the security exceptionUnsupportedEncodingException
- the unsupported encoding exceptionpublic org.eclipse.persistence.dynamic.DynamicEntity getObject(com.thinkaurelius.titan.core.TitanTransaction g, com.thinkaurelius.titan.core.TitanVertex meVertex, com.thinkaurelius.titan.core.TitanVertex baseVertex, AAIResource aaiRes, String topologyUntilThisOne, int depth, AncestryItems ancestry, org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext, String apiVersion, AAIExtensionMap aaiExtMap) throws AAIException
g
- the gmeVertex
- the me vertexbaseVertex
- the base vertexaaiRes
- the aai restopologyUntilThisOne
- the topology until this onedepth
- the depthancestry
- the ancestryjaxbContext
- the jaxb contextapiVersion
- the api versionaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionpublic void getAncestry(com.thinkaurelius.titan.core.TitanTransaction g, HashMap<String,LinkedHashMap<String,Object>> lookupHashMapList, HashMap<String,String> allKeys, AAIResource aaiRes, AncestryItems ancestry, boolean includeSelf, String selfFullName, org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext, AAIExtensionMap aaiExtMap) throws AAIException
g
- the glookupHashMapList
- the lookup hash map listallKeys
- the all keysaaiRes
- the aai resancestry
- the ancestryincludeSelf
- the include selfselfFullName
- the self full namejaxbContext
- the jaxb contextaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionpublic org.eclipse.persistence.dynamic.DynamicEntity unpackAncestry(com.thinkaurelius.titan.core.TitanTransaction g, AncestryItems ancestry, String topologyUntilThisOne, org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext, AAIExtensionMap aaiExtMap) throws UnsupportedEncodingException, AAIException, ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
g
- the gancestry
- the ancestrytopologyUntilThisOne
- the topology until this onejaxbContext
- the jaxb contextaaiExtMap
- the aai ext mapUnsupportedEncodingException
- the unsupported encoding exceptionAAIException
- the AAI exceptionClassNotFoundException
- the class not found exceptionInstantiationException
- the instantiation exceptionIllegalAccessException
- the illegal access exceptionIllegalArgumentException
- the illegal argument exceptionInvocationTargetException
- the invocation target exceptionNoSuchMethodException
- the no such method exceptionSecurityException
- the security exceptionpublic boolean isEventEnabled(String action, String namespace, String simpleName) throws AAIException
action
- the actionnamespace
- the namespacesimpleName
- the simple nameAAIException
- the AAI exceptionpublic void storeNotificationEvent(com.thinkaurelius.titan.core.TitanTransaction g, String eventAction, com.thinkaurelius.titan.core.TitanVertex meVertex, org.eclipse.persistence.dynamic.DynamicEntity meObject, AAIResource aaiRes, AncestryItems ancestry, AAIResources aaiResources, AAIExtensionMap aaiExtMap) throws AAIException, UnsupportedEncodingException
g
- the geventAction
- the event actionmeVertex
- the me vertexmeObject
- the me objectaaiRes
- the aai resancestry
- the ancestryaaiResources
- the aai resourcesaaiExtMap
- the aai ext mapAAIException
- the AAI exceptionUnsupportedEncodingException
- the unsupported encoding exceptionpublic void storeNotificationEvent(com.thinkaurelius.titan.core.TitanTransaction g, String eventAction, com.thinkaurelius.titan.core.TitanVertex meVertex, org.eclipse.persistence.dynamic.DynamicEntity meObject, AAIResource aaiRes, AncestryItems ancestry, AAIResources aaiResources, AAIExtensionMap aaiExtMap, String overrideUri) throws AAIException, UnsupportedEncodingException
g
- the geventAction
- the event actionmeVertex
- the me vertexmeObject
- the me objectaaiRes
- the aai resancestry
- the ancestryaaiResources
- the aai resourcesaaiExtMap
- the aai ext mapoverrideUri
- the override uriAAIException
- the AAI exceptionUnsupportedEncodingException
- the unsupported encoding exceptionCopyright © 2017. All Rights Reserved.