com.wewebu.ow.server.app
Class OwUserOperationEvent

java.lang.Object
  extended by com.wewebu.ow.server.app.OwUserOperationEvent

public class OwUserOperationEvent
extends Object

The user operation event class. At the moment only LOGIN and LOGOUT operations are defined.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.1.0.3

Nested Class Summary
static class OwUserOperationEvent.OwUserOperationType
          Operation Types
 
Field Summary
static String OWD_APPLICATION
          the Alfresco Workdesk application id
 
Constructor Summary
OwUserOperationEvent(OwBaseUserInfo userInfo_p, OwUserOperationEvent.OwUserOperationType type_p, String eventSource_p)
          Constructor
 
Method Summary
 Date getCreationTime()
          Getter for creation time.
 String getEventSource()
          Get the event source.
 OwUserOperationEvent.OwUserOperationType getType()
          Getter for event type.
 OwBaseUserInfo getUserInfo()
          Getter for OwBaseUserInfo object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OWD_APPLICATION

public static String OWD_APPLICATION
the Alfresco Workdesk application id

Constructor Detail

OwUserOperationEvent

public OwUserOperationEvent(OwBaseUserInfo userInfo_p,
                            OwUserOperationEvent.OwUserOperationType type_p,
                            String eventSource_p)
Constructor

Parameters:
userInfo_p - - user info
type_p - - operation type
eventSource_p - - the event source (OWD or other application) - can be null
Method Detail

getUserInfo

public OwBaseUserInfo getUserInfo()
Getter for OwBaseUserInfo object

Returns:
the OwBaseUserInfo object

getCreationTime

public Date getCreationTime()
Getter for creation time.

Returns:
the Date of event creation.

getType

public OwUserOperationEvent.OwUserOperationType getType()
Getter for event type.

Returns:
the event type.

getEventSource

public String getEventSource()
Get the event source.

Returns:
- the event application source (OWD or other) can be null


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.