All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class icc.db.Action

java.lang.Object
   |
   +----icc.db.Action

public class Action
extends Object
implements Serializable
the Action class represents the information concerning a creation or editing action on a document, link or project. This information consists of the date (and time) and author.

See Also:
File, Link, Project

Constructor Index

 o Action(Integer, Date)
Allocates an Action object with the specified author and date.
 o Action(Integer, String)
Allocates an Action object with the specified author and date.

Method Index

 o author()
Returns the author identifier for this action.
 o date()
Returns the date for this action.
 o dateString()
Returns the date and time for this action as a string.
 o getAuthor()
Returns the author identifier for this action.
 o getTime()
Returns the date for this action.
 o setLocale(Locale)
Sets the locale used when parsing and formatting dates.

Constructors

 o Action
 public Action(Integer author,
               String date)
Allocates an Action object with the specified author and date.

Parameters:
author - a partner identifier
date - the date and time as a string
See Also:
setLocale
 o Action
 public Action(Integer author,
               Date date)
Allocates an Action object with the specified author and date.

Parameters:
author - a partner identifier
date - the date and time

Methods

 o author
 public Integer author()
Returns the author identifier for this action.

Returns:
the author identifier
 o date
 public Date date()
Returns the date for this action.

Returns:
the action date
 o getAuthor
 public Integer getAuthor()
Returns the author identifier for this action.

Returns:
the author identifier
 o getTime
 public long getTime()
Returns the date for this action.

Returns:
the action date
 o dateString
 public String dateString()
Returns the date and time for this action as a string.

Returns:
the action date string
See Also:
setLocale
 o setLocale
 public static void setLocale(Locale newle)
Sets the locale used when parsing and formatting dates. The default locale equals Locale.GERMANY.

Parameters:
newle - the new locale

All Packages  Class Hierarchy  This Package  Previous  Next  Index

This website has been archived and is no longer maintained.