|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
com.jcorporate.expresso.core.controller.Controller
com.jcorporate.expresso.core.controller.DBController
com.sri.common.controller.AbstractDBController
com.sri.emo.controller.PartAction
public class PartAction
manipulate the parts of an entity--the metadata handler
| Fields inherited from class com.sri.common.controller.AbstractDBController |
|---|
COLUMN, COMMON_FOOTER_HANDLER, COMMON_HEADER_HANDLER, DELIMIT, EDIT_GROUP_DISPLAY, EMBEDDED_MODE, FOOTER, MAX_CHARS_OUTPUT, MAX_TEXTAREA_LENGTH, MULTIPLE_TEXTAREA_NUM_LINES, REQUEST_CONTAINER, ROW, ROW_BLOCK, SESSION_CONTAINER, SINGLE_TEXTAREA_NUM_LINES, TEXTAREA_NUM_COLS, WARNING_LIST |
| Fields inherited from class com.jcorporate.expresso.core.controller.DBController |
|---|
CACHE_NAME |
| Fields inherited from class com.jcorporate.expresso.core.controller.Controller |
|---|
CONTROLLER_PARAM_KEY, CTL_SUCC_CTL, CTL_SUCC_STATE, CTL_SUCC_TRAN, mLog, NEWSTATE_EXCEPTION_KEY, ORIGINAL_URL_KEY, REQUEST_KEY, RESPONSE_KEY, RETURN_TO_SENDER_TRAN, STATE_ERR_CTL, STATE_ERR_STATE, STATE_ERR_TRAN, STATE_PARAM_KEY, STATE_SUCC_CTL, STATE_SUCC_STATE, STATE_SUCC_TRAN |
| Fields inherited from class org.apache.struts.action.Action |
|---|
defaultLocale, servlet |
| Constructor Summary | |
|---|---|
PartAction()
|
|
| Method Summary | |
|---|---|
String |
getTitle()
Returns the title of this controller |
static org.dom4j.Element |
parseXML(Reader reader)
Parses the XML into Elements. |
protected void |
runConfirmDeleteEntityState(ExpressoRequest request,
ExpressoResponse response)
Prompt to confirm delete entity. |
protected void |
runConfirmDeletePartState(ExpressoRequest request,
ExpressoResponse response)
Prompt to confirm deletion an Part. |
protected void |
runConfirmDeleteRelationState(ExpressoRequest request,
ExpressoResponse response)
Confirm deletion of a relation. |
protected void |
runDoAddEntityState(ExpressoRequest request,
ExpressoResponse response)
Prompt to add an Entity. |
protected void |
runDoAddPartState(ExpressoRequest request,
ExpressoResponse response)
Do the addition for part. |
protected void |
runDoAddRelationState(ExpressoRequest request,
ExpressoResponse response)
Do the addition for part. |
protected void |
runDoDecPartNumState(ExpressoRequest request,
ExpressoResponse response)
Decrement Part number. |
protected void |
runDoDeleteEntityState(ExpressoRequest request,
ExpressoResponse response)
Prompt to confirm delete entity. |
protected void |
runDoDeletePartState(ExpressoRequest request,
ExpressoResponse response)
Do the deletion of part. |
protected void |
runDoDeleteRelationState(ExpressoRequest request,
ExpressoResponse response)
Do the addition for relation. |
protected void |
runDoEditEntityState(ExpressoRequest request,
ExpressoResponse response)
Do the edits. |
protected void |
runDoEditPartState(ExpressoRequest request,
ExpressoResponse response)
Do the edits for parts. |
protected void |
runDoEditRelationState(ExpressoRequest request,
ExpressoResponse response)
Do the addition for relation. |
protected void |
runDoImportEntityState(ExpressoRequest request,
ExpressoResponse response)
Import XML for a given object type; update existing if found. |
protected void |
runDoIncPartNumState(ExpressoRequest request,
ExpressoResponse response)
Increment Part number. |
protected void |
runGenerateAllEntityDocbookState(ExpressoRequest request,
ExpressoResponse response)
Generate XML format documentation for a given object. |
protected void |
runGenerateDocsState(ExpressoRequest request,
ExpressoResponse response)
Generate html doc for all entities, with their parts. |
protected void |
runGenerateEntityXMLDocsState(ExpressoRequest request,
ExpressoResponse response)
Generate XML format documentation for a given object. |
protected void |
runGenGuideDocsState(ExpressoRequest request,
ExpressoResponse response)
Generate html doc for all entities, with their parts. |
protected void |
runListEntitiesState(ExpressoRequest request,
ExpressoResponse response)
|
protected void |
runListRelationsState(ExpressoRequest request,
ExpressoResponse response)
Do the addition for part. |
protected void |
runPromptAddEntityState(ExpressoRequest request,
ExpressoResponse response)
Prompt to add an Entity. |
protected void |
runPromptAddPartState(ExpressoRequest request,
ExpressoResponse response)
Prompt to add an Part. |
protected void |
runPromptAddRelationState(ExpressoRequest request,
ExpressoResponse response)
Prompt to add an relation. |
protected void |
runPromptEditEntityState(ExpressoRequest request,
ExpressoResponse response)
Prompt for one entity. |
protected void |
runPromptEditPartState(ExpressoRequest request,
ExpressoResponse response)
Prompt for edits. |
protected void |
runPromptEditRelationState(ExpressoRequest request,
ExpressoResponse response)
Prompt to edit a relation. |
protected void |
runPromptImportEntityState(ExpressoRequest request,
ExpressoResponse response)
Import XML for a given object type; update existing if found. |
| Methods inherited from class com.sri.common.controller.AbstractDBController |
|---|
addEmbeddedParameter, addWarning, addWarningList, getActionForwarding, getCheckbox, getPermsTrans, getPrettyXML, getTextArea, getTextArea, getWarningList, isEmbeddedMode, isValidAndPopulated, outputXML, populateDBObject, postPerform, prePerform, stateAllowed, str, strTrunc, trimAllTextFields |
| Methods inherited from class com.jcorporate.expresso.core.controller.DBController |
|---|
getString, isAllowed |
| Methods inherited from class org.apache.struts.action.Action |
|---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String CONTROLLER_NAME
public static final String LIST_ENTITIES
public static final String PROMPT_ADD_PART
public static final String DO_ADD_PART
public static final String PROMPT_ADD_ENTITY
public static final String DO_ADD_ENTITY
public static final String PROMPT_EDIT_PART
public static final String DO_EDIT_PART
public static final String PROMPT_EDIT_RELATION
public static final String DO_EDIT_RELATION
public static final String PROMPT_ADD_RELATION
public static final String DO_ADD_RELATION
public static final String CONFIRM_DELETE_RELATION
public static final String DO_DELETE_RELATION
public static final String LIST_RELATIONS
public static final String PROMPT_EDIT_ENTITY
public static final String DO_EDIT_ENTITY
public static final String GENERATE_ENTITY_XML_DOCS
public static final String DO_IMPORT_ENTITY
public static final String PROMPT_IMPORT_ENTITY
public static final String PROMPT_DELETE_ENTITY
public static final String DO_DELETE_ENTITY
public static final String PROMPT_DELETE_PART
public static final String DO_DELETE_PART
public static final String DO_INC_PART_NUM
public static final String DO_DEC_PART_NUM
public static final String GENERATE_DOCS
public static final String GENERATE_GUIDE_DOCS
public static final String GENERATE_ALL_ENTITY_DOCBOOK
public static final String ATTRIB_SET_BLOCK
public static final String IS_OWNED
public static final String ATTRIB
public static final String RELATED_ENTITY_TYPE
public static final String PROMPT_ADD_PART_OWNED
public static final String PROMPT_ADD_PART_SHARED
public static final String ENTITY
public static final String PART
public static final String WRITE_GROUP
public static final String READ_GROUP
public static final String READ_GROUP_DEFAULT_SETUP_CODE
public static final String WRITE_GROUP_DEFAULT_SETUP_CODE
public static final String MODEL_EDIT_GROUP_DEFAULT_SETUP_CODE
| Constructor Detail |
|---|
public PartAction()
| Method Detail |
|---|
public String getTitle()
getTitle in class Controller
protected void runListEntitiesState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
ControllerException
protected void runPromptEditEntityState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException,
DBException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
DBException - upon database error.
protected void runDoEditEntityState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runPromptEditPartState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoEditPartState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runGenerateDocsState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runGenGuideDocsState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runGenerateEntityXMLDocsState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoImportEntityState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runPromptImportEntityState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runGenerateAllEntityDocbookState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runPromptAddEntityState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoAddEntityState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runPromptAddPartState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoAddPartState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoDeletePartState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runConfirmDeletePartState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoIncPartNumState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoDecPartNumState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runConfirmDeleteEntityState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoDeleteEntityState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runPromptAddRelationState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoAddRelationState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException,
NonHandleableException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
NonHandleableException - upon fatal error.
protected void runPromptEditRelationState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoEditRelationState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException,
NonHandleableException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
NonHandleableException - upon fatal error.
protected void runListRelationsState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException,
NonHandleableException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
NonHandleableException - upon fatal error.
protected void runConfirmDeleteRelationState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
protected void runDoDeleteRelationState(ExpressoRequest request,
ExpressoResponse response)
throws ControllerException,
NonHandleableException
request - The ExpressoRequest Object: our parameters.response - The ExpressoResponse object: what we populate.
ControllerException - upon error.
NonHandleableException - upon fatal error.
public static org.dom4j.Element parseXML(Reader reader)
throws Exception
reader - Reader the Xml Reader instance.
Exception - upon error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||