org.makumba.forms.responder
Class ResponderOperation
java.lang.Object
org.makumba.forms.responder.ResponderOperation
- All Implemented Interfaces:
- Serializable
public abstract class ResponderOperation
- extends Object
- implements Serializable
this class helps to differentiate between the different types of forms
- Author:
- Cristian Bogdan, Manuel Gay
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newOp
public static final ResponderOperation newOp
editOp
public static final ResponderOperation editOp
addToNewOp
public static final ResponderOperation addToNewOp
addOp
public static final ResponderOperation addOp
simepleOp
public static final ResponderOperation simepleOp
deleteLinkOp
public static final ResponderOperation deleteLinkOp
deleteFormOp
public static final ResponderOperation deleteFormOp
ResponderOperation
public ResponderOperation()
getOperationType
public abstract FormOperationType getOperationType()
respondTo
public abstract Object respondTo(HttpServletRequest req,
Responder resp,
String suffix,
String parentSuffix)
throws LogicException
- respond to the given request, with the data from the given responder, read using the given multiple form suffix
- Throws:
LogicException
verify
public abstract String verify(Responder resp)
- check the validity of the given responder data, return not-null if there is a problem
getConnectionProvider
public DbConnectionProvider getConnectionProvider(HttpServletRequest req,
Object controller)
- gets the transaction provider