de.bea.domingo.proxy
Class BaseItemProxy

java.lang.Object
  extended by de.bea.domingo.monitor.AbstractMonitorEnabled
      extended by de.bea.domingo.proxy.BaseProxy
          extended by de.bea.domingo.proxy.BaseItemProxy
All Implemented Interfaces:
DBase, DBaseItem, MonitorEnabled, java.io.Serializable
Direct Known Subclasses:
ItemProxy, RichTextItemProxy

public abstract class BaseItemProxy
extends BaseProxy
implements DBaseItem

This class represents the Domino-Class Item.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class de.bea.domingo.proxy.BaseProxy
BaseProxy.DocumentCollectionIterator
 
Field Summary
 
Fields inherited from class de.bea.domingo.proxy.BaseProxy
DATETIME_STRING_LENGTH, EMPTY_STRING, MAX_DATETIME_LENGTH, NUM_DATETIME_VALUES, RESOURCES
 
Constructor Summary
protected BaseItemProxy(NotesProxyFactory theFactory, DBase parent, lotus.domino.Item item, DNotesMonitor monitor)
          Constructor for DItemImpl.
 
Method Summary
(package private) static BaseItemProxy getInstance(NotesProxyFactory theFactory, DBase parent, lotus.domino.Item item, DNotesMonitor monitor)
          Creates or returns a cached implementation of the requested item interface.
protected  lotus.domino.Item getItem()
          Returns the associated notes item object.
 java.lang.String getName()
          Returns the name of an item.
 void remove()
          Permanently deletes an item from a document.
 java.lang.String toString()
          Returns a short description of an instance.
 
Methods inherited from class de.bea.domingo.proxy.BaseProxy
checkSession, clearNotesObject, convertCalendarsToNotesDateTime, convertListToVector, convertNotesDateTimesToCalendar, convertVectorToList, createCalendar, createDateRange, createDateTime, decrementDateTimeCounter, finalize, getCountDateTime, getDSession, getFactory, getNotesObject, getParent, incrementDateTimeCounter, newException, newException, newException, newRuntimeException, newRuntimeException, newRuntimeException, recycleDateTimeList, refereceHashCode, toStringGeneric, toStringIntern
 
Methods inherited from class de.bea.domingo.monitor.AbstractMonitorEnabled
getMonitor, setMonitor
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.bea.domingo.DBase
equals, hashCode
 

Constructor Detail

BaseItemProxy

protected BaseItemProxy(NotesProxyFactory theFactory,
                        DBase parent,
                        lotus.domino.Item item,
                        DNotesMonitor monitor)
Constructor for DItemImpl.

Parameters:
theFactory - the controlling factory
parent - the parent object
item - the Notes item object
monitor - the monitor
Method Detail

getInstance

static BaseItemProxy getInstance(NotesProxyFactory theFactory,
                                 DBase parent,
                                 lotus.domino.Item item,
                                 DNotesMonitor monitor)
Creates or returns a cached implementation of the requested item interface.

Parameters:
theFactory - the controlling factory
parent - the parent object
item - the associated Notes Item
monitor - the monitor
Returns:
implementation of interface DBaseItem or null

getItem

protected final lotus.domino.Item getItem()
Returns the associated notes item object.

Returns:
notes item object

getName

public final java.lang.String getName()
Returns the name of an item.

Specified by:
getName in interface DBaseItem
Returns:
String
See Also:
DBaseItem.getName()

remove

public final void remove()
Permanently deletes an item from a document. After calling remove, you must call save in Document to save the change. You can achieve the same result with removeItem in Document.

Specified by:
remove in interface DBaseItem
See Also:
DBaseItem.remove()

toString

public final java.lang.String toString()
Description copied from interface: DBase
Returns a short description of an instance.

Specified by:
toString in interface DBase
Overrides:
toString in class java.lang.Object
Returns:
the name of the item
See Also:
Object.toString()


Domingo Java-API