Atavism Version 2018.1AGIS API

atavism.server.engine
Class EnginePlugin.DeleteSubObjHook

java.lang.Object
  extended by atavism.server.engine.EnginePlugin.DeleteSubObjHook
All Implemented Interfaces:
Hook
Enclosing class:
EnginePlugin

public static class EnginePlugin.DeleteSubObjHook
extends java.lang.Object
implements Hook


Constructor Summary
EnginePlugin.DeleteSubObjHook(EnginePlugin plugin)
           
 
Method Summary
 boolean processMessage(Message m, int flags)
          Process the DeleteSubObjectMessage, containing the sub-object oid and namespace, remove the entity by namespace and call DeleteHook (if any).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnginePlugin.DeleteSubObjHook

public EnginePlugin.DeleteSubObjHook(EnginePlugin plugin)
Method Detail

processMessage

public boolean processMessage(Message m,
                              int flags)
Process the DeleteSubObjectMessage, containing the sub-object oid and namespace, remove the entity by namespace and call DeleteHook (if any). The default implementation does not delete from the database because the ObjectManager will delete all sub-object database rows.

Specified by:
processMessage in interface Hook
Parameters:
m - The DeleteSubObjectMessage message
flags - The message flags
Returns:
n/a


Copyright © 2018 Dragonsan Studios Sp. z o.o.