Compoze Software, Inc.

com.compoze.exchange.webdav
Class TaskStatus


java.lang.Object

  |

  +--com.compoze.exchange.webdav.TaskStatus

All Implemented Interfaces:
java.io.Serializable

Deprecated. This class has been deprecated and will be removed by version 3.1. Replaced with TaskStatus

public class TaskStatus
extends java.lang.Object
implements java.io.Serializable

This class stores the values for a CDO 'task status'. The internationalizable string values are stored in the exchange_resources.properties file (accessed through ExchangeProperties) and referenced by their key.

See Also:
Serialized Form

Field Summary
static TaskStatus COMPLETED
          Deprecated. This value represents the 'completed' task status.
static TaskStatus DEFERRED
          Deprecated. This value represents the 'deferred' task status.
static TaskStatus IN_PROGRESS
          Deprecated. This value represents the 'in progress' task status.
static TaskStatus OPEN
          Deprecated. This value represents the 'open' task status.
static TaskStatus WAITING
          Deprecated. This value represents the 'waiting' task status.
 
Method Summary
 boolean equals(java.lang.Object o)
          Deprecated. Checks for equality.
static TaskStatus get(int iStoreValue)
          Deprecated. Gets the task status by its store value.
static TaskStatus get(java.lang.String sName)
          Deprecated. Gets the task status by the name in the system default locale.
static java.util.List getList()
          Deprecated. Gets the list of task status levels.
 java.lang.String getName()
          Deprecated. Gets the name of the task status using the system default locale.
 java.lang.String getName(java.util.Locale locale)
          Deprecated. Gets the name of the task status using the specified locale.
 int getStoreValue()
          Deprecated. Gets the value that's used to store the task status in the storage system.
static void main(java.lang.String[] args)
          Deprecated.  
 java.lang.String toString()
          Deprecated. Returns a string representation of the object.
 java.lang.String toString(java.util.Locale locale)
          Deprecated. Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OPEN


public static final TaskStatus OPEN
Deprecated. 
This value represents the 'open' task status.

IN_PROGRESS


public static final TaskStatus IN_PROGRESS
Deprecated. 
This value represents the 'in progress' task status.

COMPLETED


public static final TaskStatus COMPLETED
Deprecated. 
This value represents the 'completed' task status.

WAITING


public static final TaskStatus WAITING
Deprecated. 
This value represents the 'waiting' task status.

DEFERRED


public static final TaskStatus DEFERRED
Deprecated. 
This value represents the 'deferred' task status.
Method Detail

getName


public java.lang.String getName()
Deprecated. 
Gets the name of the task status using the system default locale.
Returns:
the name

getName


public java.lang.String getName(java.util.Locale locale)
Deprecated. 
Gets the name of the task status using the specified locale.
Parameters:
locale - the locale
Returns:
the name

getStoreValue


public int getStoreValue()
Deprecated. 
Gets the value that's used to store the task status in the storage system.
Returns:
the store value

get


public static TaskStatus get(int iStoreValue)
Deprecated. 
Gets the task status by its store value.
Parameters:
iStoreValue - the store value to get by
Returns:
the matching task status or null if not found

get


public static TaskStatus get(java.lang.String sName)
Deprecated. 
Gets the task status by the name in the system default locale.
Parameters:
sName - the name in the system default locale
Returns:
the matching task status or null if not found

getList


public static java.util.List getList()
Deprecated. 
Gets the list of task status levels.
Returns:
the list of TaskStatuses (unmodifiable)

equals


public boolean equals(java.lang.Object o)
Deprecated. 
Checks for equality. The store value is used to determine equality, so that the language the name is represented in is not important.
Overrides:
equals in class java.lang.Object
Parameters:
o - the object to check (must be an TaskStatus or else a ClassCastException is thrown)
Returns:
true if this object has the same store value as the argument, false otherwise

toString


public java.lang.String toString()
Deprecated. 
Returns a string representation of the object.
Overrides:
toString in class java.lang.Object
Returns:
the string representation of the object

toString


public java.lang.String toString(java.util.Locale locale)
Deprecated. 
Returns a string representation of the object.
Parameters:
locale - the locale
Returns:
the string representation of the object

main


public static void main(java.lang.String[] args)
Deprecated. 

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.