JHPcte
Class PcteEventDescription

java.lang.Object
  |
  +--JHPcte.PcteEventDescription

public class PcteEventDescription
extends java.lang.Object

Contains description of HPcte notification event.


Field Summary
protected  int access_event
           
protected  PcteAclEntry[] acl
           
protected  java.lang.String attribute_name
           
protected  PcteAttributeValue attribute_value
           
protected  int denied_access_event
           
protected  java.lang.String name
           
protected  java.lang.String notifier_key
           
protected  PcteObjectReference object_ref
           
protected  PcteAttributeValue old_attribute_value
           
protected  java.lang.String user_name
           
 
Constructor Summary
PcteEventDescription(int access_event, java.lang.String notifier_key, PcteObjectReference ref)
          for object_delete, object_move events
PcteEventDescription(int access_event, java.lang.String notifier_key, PcteObjectReference ref, int denied_access_event)
          for discretionary_access_is_not_granted
PcteEventDescription(int access_event, java.lang.String notifier_key, PcteObjectReference ref, PcteAclEntry[] acl)
          for obj_modify_acl
PcteEventDescription(int access_event, java.lang.String notifier_key, PcteObjectReference ref, java.lang.String name)
          for append_*_link, append_link_of_type, delete_*_link, delete_link_of_type, link_delete events, link_of_type_create -> getLinkName object_of_type_create -> getObjectTypeName [un]set_lock_on_object -> getUserName
PcteEventDescription(int access_event, java.lang.String notifier_key, PcteObjectReference ref, java.lang.String attribute, PcteAttributeValue new_value, PcteAttributeValue old_value)
          for object_modify
PcteEventDescription(int access_event, java.lang.String notifier_key, PcteObjectReference ref, java.lang.String name, java.lang.String user_name)
          for [un]set_lock_on_link
PcteEventDescription(int access_event, java.lang.String notifier_key, PcteObjectReference ref, java.lang.String name, java.lang.String attribute, PcteAttributeValue new_value, PcteAttributeValue old_value)
          for link_modify events
 
Method Summary
 int getAccessEvent()
          returns the access event type (e.g.
 PcteAclEntry[] getAcl()
           
 java.lang.String getAttributeName()
          returns the name of the modified attribute if the attribute name is part of the event description, null otherwise
 PcteAttributeValue getAttributeValue()
          returns the new value of the modified attribute if the attribute value is part of the event descruption, null otherwise
 java.lang.String getLinkName()
          returns the name of the concerned link, if the link name is part of the event description, null otherwise
 java.lang.String getNotifierKey()
          returns the notifier's key
 PcteObjectReference getObjectReference()
          returns a reference to the concerned object if the object reference is part of the event description, null otherwise
 java.lang.String getObjectTypeName()
          return the name of the object's type (HPCTE_OBJECT_OF_TYPE_CREATE_EVENT)
 PcteAttributeValue getOldAttributeValue()
          returns the old value of the modified attribute if the attribute value is part of the event descruption, null otherwise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

access_event

protected int access_event

notifier_key

protected java.lang.String notifier_key

object_ref

protected PcteObjectReference object_ref

attribute_name

protected java.lang.String attribute_name

attribute_value

protected PcteAttributeValue attribute_value

old_attribute_value

protected PcteAttributeValue old_attribute_value

name

protected java.lang.String name

acl

protected PcteAclEntry[] acl

denied_access_event

protected int denied_access_event

user_name

protected java.lang.String user_name
Constructor Detail

PcteEventDescription

public PcteEventDescription(int access_event,
                            java.lang.String notifier_key,
                            PcteObjectReference ref)
for object_delete, object_move events

PcteEventDescription

public PcteEventDescription(int access_event,
                            java.lang.String notifier_key,
                            PcteObjectReference ref,
                            java.lang.String attribute,
                            PcteAttributeValue new_value,
                            PcteAttributeValue old_value)
for object_modify

PcteEventDescription

public PcteEventDescription(int access_event,
                            java.lang.String notifier_key,
                            PcteObjectReference ref,
                            java.lang.String name,
                            java.lang.String attribute,
                            PcteAttributeValue new_value,
                            PcteAttributeValue old_value)
for link_modify events

PcteEventDescription

public PcteEventDescription(int access_event,
                            java.lang.String notifier_key,
                            PcteObjectReference ref,
                            java.lang.String name)
for append_*_link, append_link_of_type, delete_*_link, delete_link_of_type, link_delete events, link_of_type_create -> getLinkName object_of_type_create -> getObjectTypeName [un]set_lock_on_object -> getUserName

PcteEventDescription

public PcteEventDescription(int access_event,
                            java.lang.String notifier_key,
                            PcteObjectReference ref,
                            java.lang.String name,
                            java.lang.String user_name)
for [un]set_lock_on_link

PcteEventDescription

public PcteEventDescription(int access_event,
                            java.lang.String notifier_key,
                            PcteObjectReference ref,
                            PcteAclEntry[] acl)
for obj_modify_acl

PcteEventDescription

public PcteEventDescription(int access_event,
                            java.lang.String notifier_key,
                            PcteObjectReference ref,
                            int denied_access_event)
for discretionary_access_is_not_granted
Method Detail

getAccessEvent

public int getAccessEvent()
returns the access event type (e.g. HPcte.HPCTE_OBJECT_MODIFY_EVENT)

getNotifierKey

public java.lang.String getNotifierKey()
returns the notifier's key

getObjectReference

public PcteObjectReference getObjectReference()
returns a reference to the concerned object if the object reference is part of the event description, null otherwise

getAttributeName

public java.lang.String getAttributeName()
returns the name of the modified attribute if the attribute name is part of the event description, null otherwise

getAttributeValue

public PcteAttributeValue getAttributeValue()
returns the new value of the modified attribute if the attribute value is part of the event descruption, null otherwise

getOldAttributeValue

public PcteAttributeValue getOldAttributeValue()
returns the old value of the modified attribute if the attribute value is part of the event descruption, null otherwise

getLinkName

public java.lang.String getLinkName()
returns the name of the concerned link, if the link name is part of the event description, null otherwise

getAcl

public PcteAclEntry[] getAcl()

getObjectTypeName

public java.lang.String getObjectTypeName()
return the name of the object's type (HPCTE_OBJECT_OF_TYPE_CREATE_EVENT)