|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.presentation.portlet.component.Component
org.jaffa.components.maint.MaintComponent
This is an abstract implementation of the IMaintComponent interface. All the Maintenance components should extend this component.
| Field Summary |
| Fields inherited from interface org.jaffa.components.maint.IMaintComponent |
MODE_CREATE, MODE_DELETE, MODE_UPDATE |
| Constructor Summary | |
MaintComponent()
Deprecated. |
|
| Method Summary | |
void |
addCreateListener(ICreateListener listener)
Deprecated. Adds a listener. |
void |
addDeleteListener(IDeleteListener listener)
Deprecated. Adds a listener. |
void |
addUpdateListener(IUpdateListener listener)
Deprecated. Adds a listener. |
protected Collection |
getCreateListeners()
Deprecated. Returns a Collection of ICreateListener objects. |
protected Collection |
getDeleteListeners()
Deprecated. Returns a Collection of IDeleteListener objects. |
int |
getMode()
Deprecated. Getter for property mode. |
protected Collection |
getUpdateListeners()
Deprecated. Returns a Collection of IUpdateListener objects. |
protected void |
invokeCreateListeners()
Deprecated. Invokes the createDone() method of the registered ICreateListener objects in the same thread. |
protected void |
invokeCreateListeners(EventObject eventObject)
Deprecated. Invokes the createDone() method of the registered ICreateListener objects in the same thread. |
protected void |
invokeDeleteListeners()
Deprecated. Invokes the deleteDone() method of the registered IDeleteListener objects in the same thread. |
protected void |
invokeDeleteListeners(EventObject eventObject)
Deprecated. Invokes the deleteDone() method of the registered IDeleteListener objects in the same thread. |
protected void |
invokeUpdateListeners()
Deprecated. Invokes the updateDone() method of the registered IUpdateListener objects in the same thread. |
protected void |
invokeUpdateListeners(EventObject eventObject)
Deprecated. Invokes the updateDone() method of the registered IUpdateListener objects in the same thread. |
boolean |
isCreateMode()
Deprecated. Returns true if this is create mode. |
boolean |
isDeleteMode()
Deprecated. Returns true if this is delete mode. |
boolean |
isUpdateMode()
Deprecated. Returns true if this is update mode. |
void |
quit()
Deprecated. This clears the internal collection of listeners. |
boolean |
removeCreateListener(ICreateListener listener)
Deprecated. Removes a listener. |
boolean |
removeDeleteListener(IDeleteListener listener)
Deprecated. Removes a listener. |
boolean |
removeUpdateListener(IUpdateListener listener)
Deprecated. Removes a listener. |
void |
setMode(int mode)
Deprecated. Setter for property mode. |
| Methods inherited from class org.jaffa.presentation.portlet.component.Component |
addChildComponent, addFormKeyChangeListener, display, getComponentDefinition, getComponentId, getContainerFormKey, getFormKeyChangeListeners, getReturnToFormKey, getToken, getUserSession, isActive, quitAndReturnToCallingScreen, reflectAndSetParms, removeFormKeyChangeListener, returnChildComponents, returnLastActivityDate, run, setContainerFormKey, setReturnToFormKey, setToken, updateLastActivityDate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jaffa.presentation.portlet.component.IComponent |
addFormKeyChangeListener, display, getComponentDefinition, getComponentId, getContainerFormKey, getFormKeyChangeListeners, getReturnToFormKey, getToken, getUserSession, isActive, quitAndReturnToCallingScreen, removeFormKeyChangeListener, setContainerFormKey, setReturnToFormKey, setToken |
| Constructor Detail |
public MaintComponent()
| Method Detail |
public int getMode()
getMode in interface IMaintComponentpublic void setMode(int mode)
setMode in interface IMaintComponentmode - New value of property mode.public boolean isCreateMode()
isCreateMode in interface IMaintComponentpublic boolean isUpdateMode()
isUpdateMode in interface IMaintComponentpublic boolean isDeleteMode()
isDeleteMode in interface IMaintComponentpublic void addCreateListener(ICreateListener listener)
addCreateListener in interface ICreateComponentlistener - the listener.public boolean removeCreateListener(ICreateListener listener)
removeCreateListener in interface ICreateComponentlistener - the listener.
public void addUpdateListener(IUpdateListener listener)
addUpdateListener in interface IUpdateComponentlistener - the listener.public boolean removeUpdateListener(IUpdateListener listener)
removeUpdateListener in interface IUpdateComponentlistener - the listener.
public void addDeleteListener(IDeleteListener listener)
addDeleteListener in interface IDeleteComponentlistener - the listener.public boolean removeDeleteListener(IDeleteListener listener)
removeDeleteListener in interface IDeleteComponentlistener - the listener.
public void quit()
quit in interface IComponentquit in class Componentprotected Collection getCreateListeners()
protected Collection getUpdateListeners()
protected Collection getDeleteListeners()
protected void invokeCreateListeners()
protected void invokeCreateListeners(EventObject eventObject)
eventObject - The EventObject which will probably contain the component itself.protected void invokeUpdateListeners()
protected void invokeUpdateListeners(EventObject eventObject)
eventObject - The EventObject which will probably contain the component itself.protected void invokeDeleteListeners()
protected void invokeDeleteListeners(EventObject eventObject)
eventObject - The EventObject which will probably contain the component itself.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||