|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.database.Row | +--planetj.dataengine.PropertyRow | +--planetj.dataengine.operation.Operation | +--planetj.dataengine.operation.HTMLOperation
HTMLOperations allow entry and viewing of straight HTML from WOW. Users can directly code in HTML in any form and the HTML is simply included in the HTML sent to browser.
Nested Class Summary |
Nested classes inherited from class planetj.database.Row |
Row.SpacingRow |
Field Summary |
Fields inherited from class planetj.dataengine.operation.Operation |
className |
Fields inherited from class planetj.database.Row |
COPY, DELETE, INSERT, MODE_COPY, MODE_DELETE, MODE_INSERT, MODE_READ, MODE_SEARCH, MODE_UNKNOWN, MODE_UPDATE, READ, UPDATE |
Fields inherited from interface planetj.dataengine.security.IGuarded |
TYPE_ID_UNKNOWN, TYPE_NAME_FIELD, TYPE_NAME_SQLOPERATION, TYPE_SECURED_BY_LEVEL, TYPE_SECURED_BY_OPERATION, TYPE_UNSECURED |
Constructor Summary | |
HTMLOperation()
|
Method Summary | |
Object |
execute(ExecutingContext ec,
Row row)
Executes this operation from the given executing context and Row and returns HTML code for this Operation. |
String |
getDefaultOperationCode()
Return a default string to use on the operation field. |
String |
getJspFile()
Gets this HTMLOperation's JSP file |
HTMLOperationContext |
getNewHTMLContext()
Create and return a new HTMLContext to which may be executed. |
URLOperationContext |
getNewURLContext()
Create and return a new HTMLContext to which may be executed. |
int |
insert(SQLContext context)
Inserts this Row into its table. |
boolean |
isFieldApplicable(Field fld,
ExecutingContext ec)
Tests if a field is applicable in the current scenario |
int |
update(Connection c,
ExecutingContext ec)
Updates this Row in the DB |
Methods inherited from class planetj.dataengine.PropertyRow |
getProperties, getRowPropertyGroup, getRowPropertyGroups, setProperties, transferDataTo |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HTMLOperation()
Method Detail |
public Object execute(ExecutingContext ec, Row row) throws CMException
execute
in class Operation
ec
- ExecutingContext in which to execute this Operationrow
- Row containing values that may be used in
execution of this Operation
CMException
public String getDefaultOperationCode()
getDefaultOperationCode
in class Operation
public String getJspFile()
getJspFile
in class Operation
public HTMLOperationContext getNewHTMLContext() throws CMException
CMException
public URLOperationContext getNewURLContext() throws CMException
CMException
public int insert(SQLContext context) throws CMException
insert
in class Operation
CMException
public boolean isFieldApplicable(Field fld, ExecutingContext ec) throws CMException
isFieldApplicable
in class Row
fld
- The field which may or may not be applicable
CMException
public int update(Connection c, ExecutingContext ec) throws CMException
update
in class Operation
c
- The connection to use for the update
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |