public class PermissionCallback
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected static Logger |
log |
protected AOObject |
thisObj |
Constructor and Description |
---|
PermissionCallback() |
PermissionCallback(AOObject obj) |
Modifier and Type | Method and Description |
---|---|
boolean |
acquire(AOObject acquirer)
THIS is an object, someone is trying to acquire it.
|
boolean |
acquireFrom(AOObject acquirer,
AOObject obj)
THIS is a container containing an object.
|
boolean |
destroy(AOObject destroyer)
returns true if allowed to destory this object
|
boolean |
drop(AOObject dropInto)
returns true if allowed to drop this object
|
boolean |
use(OID activatorOid)
returns if the user is allowed to equip/use this object
|
public PermissionCallback()
public PermissionCallback(AOObject obj)
public boolean acquire(AOObject acquirer)
public boolean acquireFrom(AOObject acquirer, AOObject obj)
public boolean drop(AOObject dropInto)
public boolean use(OID activatorOid)
public boolean destroy(AOObject destroyer)