Modifier and Type | Method and Description |
---|---|
PortletDefinition |
RenderingJob.getPortletDefinition()
Returns the portlet definition associated with this portlet window and job
|
Modifier and Type | Method and Description |
---|---|
Collection<PortletEntity> |
PortletEntityAccessComponent.getPortletEntities(PortletDefinition portletDefinition)
getPortletEntities
|
PortletEntity |
PortletEntityAccessComponent.newPortletEntityInstance(PortletDefinition portletDefinition)
newPortletEntityInstance
|
PortletEntity |
PortletEntityAccessComponent.newPortletEntityInstance(PortletDefinition portletDefinition,
String id) |
void |
PortletEntityAccessComponent.removePortletEntities(PortletDefinition portletDefinition)
removePortletEntities
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
PortletPreferencesProvider.getPortletWindowIds(PortletDefinition portletdefinition)
Retrieve entity ids (window) given portlet definition
|
Set<String> |
PortletPreferencesProvider.getUserNames(PortletDefinition portletdefinition,
String windowId)
Retrieve user names for given entity(window) id and portlet definition
|
Map<String,org.apache.pluto.container.PortletPreference> |
PortletPreferencesProvider.getUserPreferences(PortletDefinition portletdefinition,
String windowId,
String userName)
Retrieve entity preference names for given entity(window) id ,portlet definition and user name
|
void |
PortletPreferencesProvider.removeDefaults(PortletDefinition pd)
Remove all default preferences for a given portlet definition
|
void |
PortletPreferencesProvider.removeDefaults(PortletDefinition pd,
String preferenceName)
Remove default preferences by preference name for a given portlet definition
|
Map<String,org.apache.pluto.container.PortletPreference> |
PortletPreferencesProvider.retrieveDefaultPreferences(PortletDefinition pd)
Retrieve the default preferences for a given portlet definition
|
void |
PortletPreferencesProvider.storeDefaults(PortletDefinition pd,
Preference preference)
Store the default preferences by input preference for a given portlet definition
|
void |
PortletPreferencesProvider.storeDefaults(PortletDefinition pd,
Preferences prefs)
Store the default preferences by descriptor preferences for a given portlet definition
|
void |
PortletPreferencesProvider.storePortletPreference(PortletDefinition portletdefinition,
String windowId,
String userName,
Map<String,org.apache.pluto.container.PortletPreference> map)
Store portlet definition entity preferences contained in the map parameter
for a given window and username
|
Modifier and Type | Method and Description |
---|---|
PortletDefinition |
PortletRegistry.clonePortletDefinition(PortletDefinition source,
String newPortletName)
Create a portlet instance
|
PortletDefinition |
PortletRegistry.getPortletDefinitionByUniqueName(String name)
unique name is a string formed by the combination of a portlet's
unique within it's parent application plus the parent application's
unique name within the portlet container using ":" as a delimiter.
|
PortletDefinition |
PortletRegistry.getPortletDefinitionByUniqueName(String name,
boolean fromCache)
unique name is a string formed by the combination of a portlet's
unique within it's parent application plus the parent application's
unique name within the portlet container using ":" as a delimiter.
|
Modifier and Type | Method and Description |
---|---|
Collection<PortletDefinition> |
PortletRegistry.getAllCloneDefinitions()
Retrieve all clone definitions system wide
|
Collection<PortletDefinition> |
PortletRegistry.getAllDefinitions()
Retrieves all portlet definitions for this deployment
including both clones and portlet definitions
|
Collection<PortletDefinition> |
PortletRegistry.getAllPortletDefinitions()
Retrieve all portlet definitions system wide
The collection does not include clones
|
Modifier and Type | Method and Description |
---|---|
PortletDefinition |
PortletRegistry.clonePortletDefinition(PortletDefinition source,
String newPortletName)
Create a portlet instance
|
void |
RegistryEventListener.portletRemoved(PortletDefinition def)
portletUpdated - invoked when the definition of a portlet definition is
removed by the registry
|
void |
RegistryEventListener.portletUpdated(PortletDefinition def)
portletUpdated - invoked when the definition of a portlet definition is
updated by the registry or when the
state modification is otherwise detected
|
void |
PortletRegistry.removeClone(PortletDefinition clone)
Remove a clone from a given portlet definition
|
void |
PortletRegistry.savePortletDefinition(PortletDefinition portlet)
savePortletDefinition
|
Constructor and Description |
---|
FailedToStorePortletDefinitionException(PortletDefinition portlet,
String reason) |
FailedToStorePortletDefinitionException(PortletDefinition portlet,
Throwable nested) |
Modifier and Type | Method and Description |
---|---|
PortletDefinition |
PortletWindow.getPortletDefinition() |
PortletDefinition |
PortletEntity.getPortletDefinition() |
PortletDefinition |
JetspeedPortletConfig.getPortletDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
PortletEntity.setPortletDefinition(PortletDefinition portletDefinition) |
void |
JetspeedPortletConfig.setPortletDefinition(PortletDefinition pd) |
Modifier and Type | Method and Description |
---|---|
PortletInstance |
PortletFactory.getPortletInstance(javax.servlet.ServletContext servletContext,
PortletDefinition pd) |
PortletInstance |
PortletFactory.getPortletInstance(javax.servlet.ServletContext servletContext,
PortletDefinition pd,
boolean noProxy) |
javax.portlet.PreferencesValidator |
PortletFactory.getPreferencesValidator(PortletDefinition pd) |
ResourceBundle |
PortletFactory.getResourceBundle(PortletDefinition pd,
Locale locale) |
boolean |
PortletFactory.hasRenderHelperMethod(PortletDefinition pd,
javax.portlet.PortletMode mode)
Returns true when the portlet class is type of javax.portlet.GenericPortlet
and it contains a helper method for the portlet mode with public access.
|
void |
PortletFactory.reloadResourceBundles(PortletDefinition pd)
Tries to reload resource bundles of portlet definition.
|
void |
PortletFactory.updatePortletConfig(PortletDefinition pd) |
Modifier and Type | Method and Description |
---|---|
Language |
MockRequestContext.getPreferedLanguage(PortletDefinition portlet)
getPreferedLanguage
|
Modifier and Type | Method and Description |
---|---|
PortletDefinition |
PortletApplication.addClone(String name) |
PortletDefinition |
PortletApplication.addPortlet(String name) |
PortletDefinition |
PortletApplication.getClone(String name) |
PortletDefinition |
PortletApplication.getPortlet(String name) |
Modifier and Type | Method and Description |
---|---|
List<PortletDefinition> |
PortletApplication.getClones() |
List<PortletDefinition> |
PortletApplication.getPortlets() |
Modifier and Type | Method and Description |
---|---|
boolean |
PortletDefinition.isSameIdentity(PortletDefinition other)
Check if this instance its persistent identity has changed
|
Modifier and Type | Method and Description |
---|---|
Language |
RequestContext.getPreferedLanguage(PortletDefinition portlet)
getPreferedLanguage
|
Modifier and Type | Method and Description |
---|---|
boolean |
SecurityAccessController.checkPortletAccess(PortletDefinition portlet,
int mask)
Checks access for the implicit active subject's access to the resource protected by the portlet permission
This is an abstraction introduced in 2.1 for Permission Manager implementations NOT
founded upon the a Java security policy.
|
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.