org.apache.jetspeed.portlets.pam
Class PortletApplicationDetail
java.lang.Object
javax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.jetspeed.portlets.pam.PortletApplicationDetail
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig
- public class PortletApplicationDetail
- extends org.apache.portals.bridges.common.GenericServletPortlet
This portlet is a tabbed editor user interface for editing both portlet defintions
and portlet applications.
- Version:
- $Id: PortletApplicationDetail.java 188609 2005-05-24 20:03:21Z ate $
- Author:
- Jeremy Ford, David Sean Taylor
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE |
Fields inherited from class javax.portlet.GenericPortlet |
|
Method Summary |
private void |
addDescriptions(StringBuffer buffer,
org.apache.pluto.om.common.DescriptionSet descriptions)
|
private String |
createPortletDefinitionXml(org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite pDef)
|
private String |
createXml(org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa)
|
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
private String |
getAction(String prefix,
String action)
|
void |
init(javax.portlet.PortletConfig config)
|
private boolean |
isAppAction(String action)
|
private boolean |
isPortletAction(String action)
|
void |
processAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
|
private void |
processContentType(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
|
private void |
processLanguage(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
|
private void |
processMetadataAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
String paName,
String pdName,
String action)
|
private void |
processParameter(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
|
private void |
processPortletAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
|
private void |
processPreferenceAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
|
private void |
processSecurity(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
|
private void |
processUserAttributeAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
String paName,
String action)
|
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
doCustom, doEdit, doHelp, getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage |
Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PORTLET_ACTION
private static final String PORTLET_ACTION
- See Also:
- Constant Field Values
VIEW_PA
private final String VIEW_PA
- See Also:
- Constant Field Values
VIEW_PD
private final String VIEW_PD
- See Also:
- Constant Field Values
PORTLET_APP_ACTION_PREFIX
private static final String PORTLET_APP_ACTION_PREFIX
- See Also:
- Constant Field Values
PORTLET_ACTION_PREFIX
private static final String PORTLET_ACTION_PREFIX
- See Also:
- Constant Field Values
context
private javax.portlet.PortletContext context
registry
private org.apache.jetspeed.components.portletregistry.PortletRegistry registry
paTabMap
private LinkedHashMap paTabMap
pdTabMap
private LinkedHashMap pdTabMap
PortletApplicationDetail
public PortletApplicationDetail()
init
public void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
doView
public void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
- Throws:
javax.portlet.PortletException
IOException
processAction
public void processAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws javax.portlet.PortletException,
IOException
- Throws:
javax.portlet.PortletException
IOException
isAppAction
private boolean isAppAction(String action)
isPortletAction
private boolean isPortletAction(String action)
getAction
private String getAction(String prefix,
String action)
processUserAttributeAction
private void processUserAttributeAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
String paName,
String action)
throws javax.portlet.PortletException,
IOException
- Parameters:
actionRequest
- actionResponse
- action
-
- Throws:
javax.portlet.PortletException
IOException
processMetadataAction
private void processMetadataAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
String paName,
String pdName,
String action)
throws javax.portlet.PortletException,
IOException
- Parameters:
actionRequest
- actionResponse
- action
-
- Throws:
javax.portlet.PortletException
IOException
processPortletAction
private void processPortletAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
throws org.apache.jetspeed.components.portletregistry.RegistryException
- Throws:
org.apache.jetspeed.components.portletregistry.RegistryException
processPreferenceAction
private void processPreferenceAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
throws org.apache.jetspeed.components.portletregistry.RegistryException
- Parameters:
actionRequest
- actionResponse
- pa
- action
-
- Throws:
org.apache.jetspeed.components.portletregistry.RegistryException
processLanguage
private void processLanguage(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
throws org.apache.jetspeed.components.portletregistry.RegistryException
- Parameters:
actionRequest
- actionResponse
- pa
- action
-
- Throws:
org.apache.jetspeed.components.portletregistry.RegistryException
processParameter
private void processParameter(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
throws org.apache.jetspeed.components.portletregistry.FailedToStorePortletDefinitionException
- Parameters:
actionRequest
- actionResponse
- pa
- action
-
- Throws:
org.apache.jetspeed.components.portletregistry.FailedToStorePortletDefinitionException
processSecurity
private void processSecurity(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
throws org.apache.jetspeed.components.portletregistry.FailedToStorePortletDefinitionException
- Parameters:
actionRequest
- actionResponse
- pa
- action
-
- Throws:
org.apache.jetspeed.components.portletregistry.FailedToStorePortletDefinitionException
processContentType
private void processContentType(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
String action)
throws org.apache.jetspeed.components.portletregistry.FailedToStorePortletDefinitionException
- Parameters:
actionRequest
- actionResponse
- pa
- action
-
- Throws:
org.apache.jetspeed.components.portletregistry.FailedToStorePortletDefinitionException
createXml
private String createXml(org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa)
createPortletDefinitionXml
private String createPortletDefinitionXml(org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite pDef)
addDescriptions
private void addDescriptions(StringBuffer buffer,
org.apache.pluto.om.common.DescriptionSet descriptions)
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.