Compoze Software, Inc.

com.compoze.exchange.webdav
Class Importance


java.lang.Object

  |

  +--com.compoze.exchange.webdav.Importance

All Implemented Interfaces:
java.io.Serializable

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

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

This class inidicates the level of importance for a message. 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 Importance HIGH
          Deprecated. This value represents a 'high' importance.
static Importance LOW
          Deprecated. This value represents a 'low' importance.
static Importance NORMAL
          Deprecated. This value represents a 'normal' importance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Deprecated. Checks for equality.
static Importance get(int iStoreValue)
          Deprecated. Gets the importance by its store value.
static Importance getByHeaderValue(java.lang.String sHeaderValue)
          Deprecated. Gets the importance by its header value.
static Importance getByKey(java.lang.String sName)
          Deprecated. This method has been deprecated as of version 2.9 and will be removed in Harmony for Microsoft Exchange v3.0.
static Importance getByStoreValue(java.lang.String sStoreValue)
          Deprecated. This method has been deprecated as of version 2.9 and will be removed in Harmony for Microsoft Exchange v3.0. Replaced with get(int).
 java.lang.String getHeaderValue()
          Deprecated. Gets the Header field value that's used to store the importance in the storage system.
static java.util.List getList()
          Deprecated. Gets the list of importance levels.
 java.lang.String getName()
          Deprecated. Gets the name of the importance using the system default locale.
 java.lang.String getName(java.util.Locale locale)
          Deprecated. Gets the name of the importance level using the specified locale.
 int getStoreValue()
          Deprecated. Gets the value that's used to store the importance 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

LOW


public static final Importance LOW
Deprecated. 
This value represents a 'low' importance.

NORMAL


public static final Importance NORMAL
Deprecated. 
This value represents a 'normal' importance.

HIGH


public static final Importance HIGH
Deprecated. 
This value represents a 'high' importance.
Method Detail

getName


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

getName


public java.lang.String getName(java.util.Locale locale)
Deprecated. 
Gets the name of the importance level 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 importance in the storage system.
Returns:
the store value

getHeaderValue


public java.lang.String getHeaderValue()
Deprecated. 
Gets the Header field value that's used to store the importance in the storage system.
Returns:
the store value

get


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

getByStoreValue


public static Importance getByStoreValue(java.lang.String sStoreValue)
Deprecated. This method has been deprecated as of version 2.9 and will be removed in Harmony for Microsoft Exchange v3.0. Replaced with get(int).

Gets the importance by its store value.
Parameters:
iStoreValue - the store value to get by
Returns:
the matching importance or null if not found

getByHeaderValue


public static Importance getByHeaderValue(java.lang.String sHeaderValue)
Deprecated. 
Gets the importance by its header value.
Parameters:
sHeaderValue - the header value to get by
Returns:
the matching importance or null if not found

getByKey


public static Importance getByKey(java.lang.String sName)
Deprecated. This method has been deprecated as of version 2.9 and will be removed in Harmony for Microsoft Exchange v3.0.

Gets the importance by the name in the system default locale.
Parameters:
sName - the name in the system default locale
Returns:
the matching importance or null if not found

getList


public static java.util.List getList()
Deprecated. 
Gets the list of importance levels.
Returns:
the list of Importance levels (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 importance.
Overrides:
equals in class java.lang.Object
Parameters:
o - the object to check for equality
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.