|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.epub.servlet.PortletFormHandler atg.epub.servlet.PublishingPortletFormHandler atg.epub.servlet.ProjectFormHandler
public class ProjectFormHandler
Form Handler for adding or deleting an asset to/from a project.
Field Summary | |
---|---|
static int |
ADD_ASSET_ACTION
|
static java.lang.String |
CLASS_VERSION
Class version string |
static int |
DEL_ASSET_ACTION
|
static int |
DISCARD_ASSET_ACTION
|
static int |
MOVE_ASSET_ACTION
|
static int |
REVERT_ASSET_ACTION
|
Fields inherited from class atg.epub.servlet.PublishingPortletFormHandler |
---|
mProcess, mProject, sConfiguration, sProcessHome, sProcessTaskInfoHome, sProjectHome |
Fields inherited from class atg.epub.servlet.PortletFormHandler |
---|
mFormExceptions, PARAM_USE_FORWARDS, sTransactionManager |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
ProjectFormHandler()
|
Method Summary | |
---|---|
void |
clearAssetPlaceholder(java.lang.String[] assets)
Clears any placeholder values that were held by assets being discarded |
int |
getADD_ASSET_ACTION()
|
java.lang.String |
getAsset()
|
int |
getAssetAction()
Used by handlePerformAssetAction handler to decide which of handleAddAssets or handleDiscardAssets methods to invoke |
java.lang.String[] |
getAssets()
|
java.lang.String |
getConfirmationMessage()
|
int |
getDEL_ASSET_ACTION()
|
int |
getDISCARD_ASSET_ACTION()
|
int |
getMOVE_ASSET_ACTION()
|
java.lang.String |
getMoveAssetsProjectId()
|
java.lang.String |
getPipeDelimitedAssetURIList()
|
java.lang.String |
getPlaceholderName()
|
protected java.util.Set |
getReferenceWorkingVersions(RepositoryItem pItem,
Workspace pWorkspace)
Given a RepositoryItem, return a list of reference repository in the Workspace. |
int |
getREVERT_ASSET_ACTION()
|
java.lang.String |
getVersion()
|
void |
handleAddAssets(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Handle method to add an asset to a project. |
void |
handleAddAssets(javax.portlet.PortletRequest pRequest,
javax.portlet.PortletResponse pResponse)
Handle method to add an asset to a project. |
void |
handleDiscardAssets(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Handle method to add a note to a project. |
void |
handleDiscardAssets(javax.portlet.PortletRequest pRequest,
javax.portlet.PortletResponse pResponse)
Handle method to add a note to a project. |
void |
handleMoveAssets(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Handle method to move assets to another project |
void |
handleMoveAssets(javax.portlet.PortletRequest pRequest,
javax.portlet.PortletResponse pResponse)
Handle method to move assets to another project |
void |
handlePerformAssetAction(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Handle the type of action specified in actionType |
void |
handlePerformAssetAction(javax.portlet.PortletRequest pRequest,
javax.portlet.PortletResponse pResponse)
Handle the type of action specified in actionType |
void |
handleRevertAsset(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Handle method to revert an asset to a given version |
void |
handleRevertAsset(javax.portlet.PortletRequest pRequest,
javax.portlet.PortletResponse pResponse)
Handle method to revert an asset |
void |
postAddAssets(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
No-op method meant for subclassing to add user specific functionality after handleAddAssets is called. |
void |
postDiscardAssets(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
No-op method meant for subclassing to add user specific functionality after handleAddNote is called. |
void |
postMoveAssets(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
No-op method meant for subclassing to add user specific functionality after handleMoveAssets is called. |
void |
postRevertAsset(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
No-op method meant for subclassing to add user specific functionality after handleAddNote is called. |
void |
preAddAssets(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
No-op method meant for subclassing to add user specific functionality before handleAddAssets is called. |
void |
preDiscardAssets(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
No-op method meant for subclassing to add user specific functionality before handleDiscardAssets is called. |
void |
preMoveAssets(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
No-op method meant for subclassing to add user specific functionality before handleMoveAssets is called. |
void |
preRevertAsset(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
No-op method meant for subclassing to add user specific functionality before handleDiscardAssets is called. |
void |
setAsset(java.lang.String string)
|
void |
setAssetAction(int pAssetAction)
|
void |
setAssetPlaceholder(java.lang.String pPlaceholderName,
java.lang.String pAssetURI)
Set the placeholder value (workflow.contextItems or contextFiles entry) with a specific asset |
void |
setAssets(java.lang.String[] strings)
|
void |
setConfirmationMessage(java.lang.String pConfirmationMessage)
|
void |
setMoveAssetsProjectId(java.lang.String pMoveAssetsProjectId)
|
void |
setPipeDelimitedAssetURIList(java.lang.String pPipeDelimitedAssetURIList)
|
void |
setPlaceholderName(java.lang.String string)
|
void |
setVersion(java.lang.String string)
|
Methods inherited from class atg.epub.servlet.PublishingPortletFormHandler |
---|
getConfiguration, getCurrentDynamoRequest, getCurrentDynamoResponse, getProcess, getProcessHome, getProcessId, getProcessTaskInfoHome, getProject, getProjectHome, getProjectId, getResource, getResource, getWorkflowView, setProcessId, setProjectId, setWorkflowView |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final int ADD_ASSET_ACTION
public static final int DISCARD_ASSET_ACTION
public static final int DEL_ASSET_ACTION
public static final int REVERT_ASSET_ACTION
public static final int MOVE_ASSET_ACTION
Constructor Detail |
---|
public ProjectFormHandler()
Method Detail |
---|
public java.lang.String[] getAssets()
public void setAssets(java.lang.String[] strings)
public java.lang.String getAsset()
public void setAsset(java.lang.String string)
public int getAssetAction()
public void setAssetAction(int pAssetAction)
public java.lang.String getVersion()
public void setVersion(java.lang.String string)
public java.lang.String getPlaceholderName()
public void setPlaceholderName(java.lang.String string)
public java.lang.String getPipeDelimitedAssetURIList()
public void setPipeDelimitedAssetURIList(java.lang.String pPipeDelimitedAssetURIList)
public void setMoveAssetsProjectId(java.lang.String pMoveAssetsProjectId)
public java.lang.String getMoveAssetsProjectId()
public void setConfirmationMessage(java.lang.String pConfirmationMessage)
public java.lang.String getConfirmationMessage()
public int getADD_ASSET_ACTION()
public int getDISCARD_ASSET_ACTION()
public int getDEL_ASSET_ACTION()
public int getREVERT_ASSET_ACTION()
public int getMOVE_ASSET_ACTION()
public void preAddAssets(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
public void postAddAssets(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
public void handleAddAssets(javax.portlet.PortletRequest pRequest, javax.portlet.PortletResponse pResponse) throws javax.servlet.ServletException
javax.servlet.ServletException
public void handleAddAssets(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException
javax.servlet.ServletException
public void preDiscardAssets(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
public void postDiscardAssets(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
public void handleDiscardAssets(javax.portlet.PortletRequest pRequest, javax.portlet.PortletResponse pResponse) throws javax.servlet.ServletException
javax.servlet.ServletException
public void handleDiscardAssets(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException
javax.servlet.ServletException
public void preRevertAsset(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
public void postRevertAsset(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
public void handleRevertAsset(javax.portlet.PortletRequest pRequest, javax.portlet.PortletResponse pResponse) throws javax.servlet.ServletException
javax.servlet.ServletException
public void handleRevertAsset(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException
javax.servlet.ServletException
public void preMoveAssets(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
public void postMoveAssets(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
public void handleMoveAssets(javax.portlet.PortletRequest pRequest, javax.portlet.PortletResponse pResponse) throws javax.servlet.ServletException
javax.servlet.ServletException
public void handleMoveAssets(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException
javax.servlet.ServletException
public void handlePerformAssetAction(javax.portlet.PortletRequest pRequest, javax.portlet.PortletResponse pResponse) throws javax.servlet.ServletException
javax.servlet.ServletException
public void handlePerformAssetAction(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException
javax.servlet.ServletException
public void setAssetPlaceholder(java.lang.String pPlaceholderName, java.lang.String pAssetURI)
public void clearAssetPlaceholder(java.lang.String[] assets)
protected java.util.Set getReferenceWorkingVersions(RepositoryItem pItem, Workspace pWorkspace) throws RepositoryException, VersionException
pItem
- pWorkspace
-
RepositoryException
VersionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |