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 348264 2005-11-22 22:06:45Z taylor $
- 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 |
Method Summary |
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,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite pd,
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 |
processSecurityRef(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite pdef,
String action)
|
private void |
processUserAttributeAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication mpa,
String action)
|
private void |
setupSecurityContraintContext(javax.portlet.RenderRequest request,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite pdef)
|
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
pageManager
private org.apache.jetspeed.page.PageManager pageManager
searchEngine
private org.apache.jetspeed.search.SearchEngine searchEngine
paTabMap
private LinkedHashMap paTabMap
pdTabMap
private LinkedHashMap pdTabMap
PortletApplicationDetail
public PortletApplicationDetail()
init
public void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
- Specified by:
init
in interface javax.portlet.Portlet
- Overrides:
init
in class org.apache.portals.bridges.common.GenericServletPortlet
- Throws:
javax.portlet.PortletException
doView
public void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
- Overrides:
doView
in class org.apache.portals.bridges.common.GenericServletPortlet
- Throws:
javax.portlet.PortletException
IOException
setupSecurityContraintContext
private void setupSecurityContraintContext(javax.portlet.RenderRequest request,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite pdef)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
processAction
public void processAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws javax.portlet.PortletException,
IOException
- Specified by:
processAction
in interface javax.portlet.Portlet
- Overrides:
processAction
in class org.apache.portals.bridges.common.GenericServletPortlet
- 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,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication mpa,
String action)
throws javax.portlet.PortletException,
IOException
- Parameters:
actionRequest
- actionResponse
- pa
- action
-
- Throws:
javax.portlet.PortletException
IOException
processMetadataAction
private void processMetadataAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite pd,
String action)
throws javax.portlet.PortletException,
IOException
- Parameters:
actionRequest
- actionResponse
- pa
- 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
- pdef
- 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
- pdef
- 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
- pdef
- 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
- pdef
- action
-
- Throws:
org.apache.jetspeed.components.portletregistry.FailedToStorePortletDefinitionException
processSecurityRef
private void processSecurityRef(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication pa,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite pdef,
String action)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
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
- pdef
- action
-
- Throws:
org.apache.jetspeed.components.portletregistry.FailedToStorePortletDefinitionException
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.