| 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.domino.AbstractItem
This class represents a Domino item, which can either be a document or
 a folder. An item contains any number of properties that correspond to
 properties or the results of a method call on the message or folder in
 Domino. Accessor methods for the properties do not modify of retrieve
 from the server immediately. For changes to be committed the
 serverUpdate method must be called. Properties must be
 explicitly loaded into the item before they can be accessed. This is done
 by specifying the desired properties when the item is initially created.
| Field Summary | |
protected  PropertyValue[] | 
m_props
 | 
protected  Session | 
m_session
 | 
| Method Summary | |
 PropertyValue | 
get(PropertyKey key)
Gets the value of a property from the item.  | 
 boolean | 
getBoolean(PropertyKey key)
Gets a boolean property from the item.  | 
 java.util.Date | 
getDate(PropertyKey key)
Gets a date property from the item.  | 
 java.util.Date[] | 
getDateArray(PropertyKey key)
Gets a date array property from the item.  | 
 double | 
getDouble(PropertyKey key)
Gets a double property from the item.  | 
 int | 
getInt(PropertyKey key)
Gets an int property from the item.  | 
 PropertyKey[] | 
getPropertyKeys()
Gets the keys of all of the currently loaded properties.  | 
 java.lang.String | 
getString(PropertyKey key)
Gets a String property from the item.  | 
 java.lang.String[] | 
getStringArray(PropertyKey key)
Gets a String array property from the item.  | 
protected  PropertyValue[] | 
getUpdatedPropertyValues()
Gets the updated property values.  | 
abstract  void | 
serverUpdate()
Queries the server to update any changed properties.  | 
 void | 
set(PropertyValue value)
Sets the value of a property, or adds a new value if it is not already set.  | 
 void | 
setBoolean(PropertyKey key,
           boolean bValue)
Sets the boolean value of a property.  | 
 void | 
setDate(PropertyKey key,
        java.util.Date date)
Sets the date value of a property.  | 
 void | 
setDouble(PropertyKey key,
          double dValue)
Sets the double value of a property.  | 
 void | 
setInt(PropertyKey key,
       int iValue)
Sets the int value of a property.  | 
 void | 
setString(PropertyKey key,
          java.lang.String sValue)
Sets the string value of a property.  | 
 void | 
setStringArray(PropertyKey key,
               java.lang.String[] arrayValue)
Sets a String array property from the item.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected Session m_session
protected PropertyValue[] m_props
| Method Detail | 
public PropertyValue get(PropertyKey key)
key - the property keynull if the property is not	loadedpublic void set(PropertyValue value)
value - the property value
public void setString(PropertyKey key,
                      java.lang.String sValue)
               throws DominoException
key - the property keysValue - the string valueDominoException - if the property key's value type is not a string
public void setStringArray(PropertyKey key,
                           java.lang.String[] arrayValue)
                    throws DominoException
key - the property keyarrayValue - the string array valueDominoException - if the property key is not found
public void setInt(PropertyKey key,
                   int iValue)
            throws DominoException
key - the property keyiValue - the int valueDominoException - if the property key's value type is not an int
public void setDouble(PropertyKey key,
                      double dValue)
               throws DominoException
key - the property keydValue - the double valueDominoException - if the property key's value type is not an int
public java.lang.String getString(PropertyKey key)
                           throws DominoException
key - the property keyDominoException - if the property key is not found
public java.lang.String[] getStringArray(PropertyKey key)
                                  throws DominoException
key - the property keyDominoException - if the property key is not found
public int getInt(PropertyKey key)
           throws DominoException
key - the property keyDominoException - if the property key is not found
public double getDouble(PropertyKey key)
                 throws DominoException
key - the property keyDominoException - if the property key is not found
public boolean getBoolean(PropertyKey key)
                   throws DominoException
key - the property keyDominoException - if the property key is not found
public void setBoolean(PropertyKey key,
                       boolean bValue)
                throws DominoException
key - the property keybValue - the boolean valueDominoException - if the property key's value type is not an int
public void setDate(PropertyKey key,
                    java.util.Date date)
             throws DominoException
key - the property keydate - the dateDominoException - if the property key's value type is not an int
public java.util.Date getDate(PropertyKey key)
                       throws DominoException
key - the property keyDominoException - if the property key is not found
public java.util.Date[] getDateArray(PropertyKey key)
                              throws DominoException
key - the property keyDominoException - if the property key is not foundprotected PropertyValue[] getUpdatedPropertyValues()
null
		if no properties have been updatedpublic PropertyKey[] getPropertyKeys()
public abstract void serverUpdate()
                           throws DominoException
  | 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||