|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.ac.ebi.intact.application.editor.struts.view.AbstractEditBean
Generic edit bean.
| Field Summary | |
static java.lang.String |
SAVE
The saving state. |
static java.lang.String |
VIEW
The editing state. |
| Constructor Summary | |
AbstractEditBean()
|
|
| Method Summary | |
protected boolean |
equals(java.lang.Object obj1,
java.lang.Object obj2)
True if both objects are null or object i is equal to object 2. |
java.lang.String |
getEditState()
Returns the status of the editing state. |
protected java.lang.String |
getLink(java.lang.String topic,
java.lang.String label)
Returns a link to display a read only window. |
void |
setEditState(java.lang.String state)
Sets this bean's edit state. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String VIEW
public static final java.lang.String SAVE
| Constructor Detail |
public AbstractEditBean()
| Method Detail |
public java.lang.String getEditState()
VIEW if this instance is currently in view mode;
for all other instances SAVE is returned.public void setEditState(java.lang.String state)
state - the bean's edit state.
post: getEditState() = state
protected java.lang.String getLink(java.lang.String topic,
java.lang.String label)
topic - the first parameter to the show command.label - the second parameter to the show command; this should
be the short label.
protected boolean equals(java.lang.Object obj1,
java.lang.Object obj2)
obj1 - the first object to compare.obj2 - the second object to compare.
obj1 equals
obj2. False is returned for all other instances.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||