com.googlecode.fascinator.portal
Class UserAction

java.lang.Object
  extended by com.googlecode.fascinator.portal.UserAction

public class UserAction
extends Object

A simple class for describing actions that require attention from the user interface.

Author:
Greg Pendlebury

Field Summary
 boolean block
          Flag to set this action as 'blocking'.
 Date date
          Message Timestamp
 int id
          Action ID from database
 String message
          Message to display
 
Constructor Summary
UserAction()
           
 
Method Summary
 boolean getBlock()
          Get the message block property
 String getDate()
          Get the formatted timestamp of message
 int getId()
          Get the message ID
 String getMessage()
          Get the message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public int id
Action ID from database


block

public boolean block
Flag to set this action as 'blocking'. Used to ensure actions like system restarts halt user activity


message

public String message
Message to display


date

public Date date
Message Timestamp

Constructor Detail

UserAction

public UserAction()
Method Detail

getId

public int getId()
Get the message ID


getBlock

public boolean getBlock()
Get the message block property


getMessage

public String getMessage()
Get the message


getDate

public String getDate()
Get the formatted timestamp of message



Copyright © 2009-2012. All Rights Reserved.