wt.org
Class OrganizationServicesEvent

java.lang.Object
  extended bywt.events.KeyedEvent
      extended bywt.org.OrganizationServicesEvent
All Implemented Interfaces:
Serializable

public class OrganizationServicesEvent
extends KeyedEvent
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
static String ADD_MEMBER
          

Supported API: false
private static String CLASSNAME
           
private  WTPrincipalReference memberRef
           
static String POST_DISABLE
          

Supported API: false
static String POST_ENABLE
          

Supported API: false
static String PRE_DISABLE
          

Supported API: false
static String PRE_ENABLE
          

Supported API: false
static String REMOVE_MEMBER
          

Supported API: false
private static String RESOURCE
           
private  OrganizationServicesManager service
           
 
Fields inherited from class wt.events.KeyedEvent
 
Constructor Summary
OrganizationServicesEvent(OrganizationServicesManager service, String eventType, WTPrincipal eventTarget)
          

Supported API: false
OrganizationServicesEvent(String eventType, Object eventTarget)
          

Supported API: false
OrganizationServicesEvent(String eventType, WTCollection eventTarget)
          Constructor to create multi object OrganizationServicesEvent.
 
Method Summary
static String generateEventKey(String eventType)
          

Supported API: false
 WTPrincipalReference getMemberRef()
          Gets the value of the attribute: memberRef; For group membership change events, reference to principal added or removed from group.
 WTPrincipal getPrincipal()
          

Supported API: false
 WTCollection getPrincipals()
          Returns WTCollection of WTPrincipal objects.
 OrganizationServicesManager getService()
          Gets the object for the association that plays role: service.
private  void memberRefValidate(WTPrincipalReference a_MemberRef)
           
 void setMemberRef(WTPrincipalReference a_MemberRef)
          Sets the value of the attribute: memberRef; For group membership change events, reference to principal added or removed from group.
 
Methods inherited from class wt.events.KeyedEvent
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toMultiObjectEvent, toSingleObjectEvents, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

PRE_DISABLE

public static final String PRE_DISABLE


Supported API: false

See Also:
Constant Field Values

POST_DISABLE

public static final String POST_DISABLE


Supported API: false

See Also:
Constant Field Values

PRE_ENABLE

public static final String PRE_ENABLE


Supported API: false

See Also:
Constant Field Values

POST_ENABLE

public static final String POST_ENABLE


Supported API: false

See Also:
Constant Field Values

ADD_MEMBER

public static final String ADD_MEMBER


Supported API: false

See Also:
Constant Field Values

REMOVE_MEMBER

public static final String REMOVE_MEMBER


Supported API: false

See Also:
Constant Field Values

memberRef

private WTPrincipalReference memberRef

service

private OrganizationServicesManager service
Constructor Detail

OrganizationServicesEvent

public OrganizationServicesEvent(OrganizationServicesManager service,
                                 String eventType,
                                 WTPrincipal eventTarget)
                          throws WTException,
                                 WTPropertyVetoException


Supported API: false

Parameters:
service -
eventType -
eventTarget -
Throws:
WTException
WTPropertyVetoException

OrganizationServicesEvent

public OrganizationServicesEvent(String eventType,
                                 Object eventTarget)
                          throws WTException,
                                 WTPropertyVetoException


Supported API: false

Parameters:
eventType -
eventTarget -
Throws:
WTException
WTPropertyVetoException

OrganizationServicesEvent

public OrganizationServicesEvent(String eventType,
                                 WTCollection eventTarget)
                          throws WTException,
                                 WTPropertyVetoException
Constructor to create multi object OrganizationServicesEvent.

Supported API: false

Parameters:
eventType -
eventTarget -
Throws:
WTException
WTPropertyVetoException
Method Detail

getMemberRef

public WTPrincipalReference getMemberRef()
Gets the value of the attribute: memberRef; For group membership change events, reference to principal added or removed from group. For other events this is null.

Supported API: false

Returns:
WTPrincipalReference

setMemberRef

public void setMemberRef(WTPrincipalReference a_MemberRef)
                  throws WTPropertyVetoException
Sets the value of the attribute: memberRef; For group membership change events, reference to principal added or removed from group. For other events this is null.

Supported API: false

Parameters:
a_MemberRef -
Throws:
WTPropertyVetoException

memberRefValidate

private void memberRefValidate(WTPrincipalReference a_MemberRef)
                        throws WTPropertyVetoException
Parameters:
a_MemberRef -
Throws:
WTPropertyVetoException

getService

public OrganizationServicesManager getService()
Gets the object for the association that plays role: service.

Supported API: false

Returns:
OrganizationServicesManager

getPrincipal

public WTPrincipal getPrincipal()


Supported API: false

Returns:
WTPrincipal

getPrincipals

public WTCollection getPrincipals()
Returns WTCollection of WTPrincipal objects.

Supported API: false

Returns:
WTCollection

generateEventKey

public static String generateEventKey(String eventType)


Supported API: false

Parameters:
eventType -
Returns:
String