wt.access
Class AccessControlEvent

java.lang.Object
  extended bywt.events.KeyedEvent
      extended bywt.access.AccessControlEvent
All Implemented Interfaces:
Serializable

public class AccessControlEvent
extends KeyedEvent
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
static String AD_HOC_CHANGE
           
private static String CLASSNAME
           
private  String message
           
static String NOT_AUTHORIZED
          

Supported API: false
private  AccessPermission permission
           
private static String RESOURCE
           
private  WTPrincipal user
           
 
Fields inherited from class wt.events.KeyedEvent
 
Constructor Summary
AccessControlEvent(String event_type, Object target)
          

Supported API: false
 
Method Summary
private static void checkEventType(String event_type)
           
static String generateEventKey(String event_type)
          

Supported API: false
 String getMessage()
          Gets the value of the attribute: message.
 AccessPermission getPermission()
          Gets the value of the attribute: permission.
 WTPrincipal getUser()
          Gets the value of the attribute: user.
 void setMessage(String a_Message)
          Sets the value of the attribute: message.
 void setPermission(AccessPermission a_Permission)
          Sets the value of the attribute: permission.
 void setUser(WTPrincipal a_User)
          Sets the value of the attribute: user.
 KeyedEvent toMultiObjectEvent()
          

Supported API: false
 KeyedEvent[] toSingleObjectEvents()
          

Supported API: false
 
Methods inherited from class wt.events.KeyedEvent
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, 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

NOT_AUTHORIZED

public static final String NOT_AUTHORIZED


Supported API: false

See Also:
Constant Field Values

user

private WTPrincipal user

permission

private AccessPermission permission

message

private String message

AD_HOC_CHANGE

public static final String AD_HOC_CHANGE
See Also:
Constant Field Values
Constructor Detail

AccessControlEvent

public AccessControlEvent(String event_type,
                          Object target)


Supported API: false

Parameters:
event_type -
target -
Method Detail

getUser

public WTPrincipal getUser()
Gets the value of the attribute: user.

Supported API: false

Returns:
WTPrincipal

setUser

public void setUser(WTPrincipal a_User)
Sets the value of the attribute: user.

Supported API: false

Parameters:
a_User -

getPermission

public AccessPermission getPermission()
Gets the value of the attribute: permission.

Supported API: false

Returns:
AccessPermission

setPermission

public void setPermission(AccessPermission a_Permission)
Sets the value of the attribute: permission.

Supported API: false

Parameters:
a_Permission -

getMessage

public String getMessage()
Gets the value of the attribute: message.

Supported API: false

Returns:
String

setMessage

public void setMessage(String a_Message)
Sets the value of the attribute: message.

Supported API: false

Parameters:
a_Message -

generateEventKey

public static String generateEventKey(String event_type)


Supported API: false

Parameters:
event_type -
Returns:
String

toSingleObjectEvents

public KeyedEvent[] toSingleObjectEvents()
                                  throws WTException


Supported API: false

Overrides:
toSingleObjectEvents in class KeyedEvent
Returns:
KeyedEvent[]
Throws:
WTException

toMultiObjectEvent

public KeyedEvent toMultiObjectEvent()


Supported API: false

Overrides:
toMultiObjectEvent in class KeyedEvent
Returns:
KeyedEvent

checkEventType

private static void checkEventType(String event_type)