|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface INodeHandler
Special handling for nodes.
| Method Summary | |
|---|---|
Transition |
getListTransition(ControllerRequest request)
Supply list transition suitable for this type of object. |
void |
init(Node node)
Add special initialization for this type of object; called after a Node object of this type is added. |
void |
list(Node samplenode,
AbstractDBController action,
ControllerRequest request,
ControllerResponse response)
List all nodes of type indicated by samplenode. |
void |
view(Node node,
AbstractDBController defaultaction,
ControllerRequest request,
ControllerResponse response)
View the node. |
| Method Detail |
|---|
void init(Node node)
throws DBException
node - is a fully constructed node, with ID
DBException - upon database related error.
Transition getListTransition(ControllerRequest request)
throws DBException
request - supply current request
DBException - upon database related error.
void view(Node node,
AbstractDBController defaultaction,
ControllerRequest request,
ControllerResponse response)
throws DBException,
ControllerException
node - The Node we're viewing.defaultaction - The default action.request - The ControllerRequest object.response - The ControllerResponse object.
DBException - upon database related error.
ControllerException - upon controller related error.
void list(Node samplenode,
AbstractDBController action,
ControllerRequest request,
ControllerResponse response)
throws DBException,
ControllerException
samplenode - has given type, but may NOT have an ID--it is just a sampleaction - The action invoking this.request - The ControllerRequest object.response - The ControllerResponse object.
DBException - upon database related error.
ControllerException - upon controller related error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||