public interface PortletDefinition extends org.apache.pluto.container.om.portlet.PortletDefinition, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
CLONE_PARENT_INIT_PARAM |
addSupportedLocale, addSupportedPublicRenderParameter, getCacheScope, getExpirationCache, getPortletClass, getPortletName, getResourceBundle, getSupportedLocales, getSupportedPublicRenderParameters, setCacheScope, setExpirationCache, setPortletClass, setResourceBundlestatic final String CLONE_PARENT_INIT_PARAM
PortletApplication getApplication()
getApplication in interface org.apache.pluto.container.om.portlet.PortletDefinitionInitParam getInitParam(String paramName)
getInitParam in interface org.apache.pluto.container.om.portlet.PortletDefinitionList<InitParam> getInitParams()
getInitParams in interface org.apache.pluto.container.om.portlet.PortletDefinitionInitParam addInitParam(String paramName)
addInitParam in interface org.apache.pluto.container.om.portlet.PortletDefinitionPortletInfo getPortletInfo()
getPortletInfo in interface org.apache.pluto.container.om.portlet.PortletDefinitionPreferences getPortletPreferences()
getPortletPreferences in interface org.apache.pluto.container.om.portlet.PortletDefinitionPreferences getDescriptorPreferences()
Preference addDescriptorPreference(String name)
List<EventDefinitionReference> getSupportedProcessingEvents()
getSupportedProcessingEvents in interface org.apache.pluto.container.om.portlet.PortletDefinitionEventDefinitionReference addSupportedProcessingEvent(QName qname)
addSupportedProcessingEvent in interface org.apache.pluto.container.om.portlet.PortletDefinitionEventDefinitionReference addSupportedProcessingEvent(String name)
addSupportedProcessingEvent in interface org.apache.pluto.container.om.portlet.PortletDefinitionList<EventDefinitionReference> getSupportedPublishingEvents()
getSupportedPublishingEvents in interface org.apache.pluto.container.om.portlet.PortletDefinitionEventDefinitionReference addSupportedPublishingEvent(QName qname)
addSupportedPublishingEvent in interface org.apache.pluto.container.om.portlet.PortletDefinitionEventDefinitionReference addSupportedPublishingEvent(String name)
addSupportedPublishingEvent in interface org.apache.pluto.container.om.portlet.PortletDefinitionSecurityRoleRef getSecurityRoleRef(String roleName)
getSecurityRoleRef in interface org.apache.pluto.container.om.portlet.PortletDefinitionList<SecurityRoleRef> getSecurityRoleRefs()
getSecurityRoleRefs in interface org.apache.pluto.container.om.portlet.PortletDefinitionSecurityRoleRef addSecurityRoleRef(String roleName)
addSecurityRoleRef in interface org.apache.pluto.container.om.portlet.PortletDefinitionSupports getSupports(String mimeType)
getSupports in interface org.apache.pluto.container.om.portlet.PortletDefinitionList<Supports> getSupports()
getSupports in interface org.apache.pluto.container.om.portlet.PortletDefinitionSupports addSupports(String mimeType)
addSupports in interface org.apache.pluto.container.om.portlet.PortletDefinitionDescription getDescription(Locale locale)
getDescription in interface org.apache.pluto.container.om.portlet.PortletDefinitionList<Description> getDescriptions()
getDescriptions in interface org.apache.pluto.container.om.portlet.PortletDefinitionDescription addDescription(String lang)
addDescription in interface org.apache.pluto.container.om.portlet.PortletDefinitionDisplayName getDisplayName(Locale locale)
getDisplayName in interface org.apache.pluto.container.om.portlet.PortletDefinitionList<DisplayName> getDisplayNames()
getDisplayNames in interface org.apache.pluto.container.om.portlet.PortletDefinitionDisplayName addDisplayName(String lang)
addDisplayName in interface org.apache.pluto.container.om.portlet.PortletDefinitionGenericMetadata getMetadata()
ContainerRuntimeOption getContainerRuntimeOption(String name)
getContainerRuntimeOption in interface org.apache.pluto.container.om.portlet.PortletDefinitionList<ContainerRuntimeOption> getContainerRuntimeOptions()
getContainerRuntimeOptions in interface org.apache.pluto.container.om.portlet.PortletDefinitionContainerRuntimeOption addContainerRuntimeOption(String name)
addContainerRuntimeOption in interface org.apache.pluto.container.om.portlet.PortletDefinitionString getUniqueName()
null or this portlet has not
yet been assigned to an portlet application, null is returned.String getDisplayNameText(Locale locale)
locale - Locale to get the display name fornull
if no DisplayName exists for this localeString getDescriptionText(Locale locale)
locale - Locale to get the description fornull
if no Description exists for this localeString getPreferenceValidatorClassname()
void setPreferenceValidatorClassname(String classname)
String getJetspeedSecurityConstraint()
Get the Jetspeed Security Constraint reference for this portlet. This security constraint name references a Jetspeed-specific Security Constraint. Security Constraints are not Java Security Permissions, but a Jetspeed specific way of securing portlets, also known as PSML constraints. See the page.security file for examples of defining security constraint definitions. If a Jetspeed Security Constraint is not defined for a portlet, the constraint applied will then fallback to the constraint defined for the portlet application. If the portlet application does not define a constraint, then no security constraints will be applied to this portlet. Security constraints for a portlet are normally checking during the render process of a portlet.
void setJetspeedSecurityConstraint(String constraint)
Set the Jetspeed Security Constraint reference for this portlet. This security constraint name references a Jetspeed-specific Security Constraint. Security Constraints are not Java Security Permissions, but a Jetspeed specific way of securing portlets, also known as PSML constraints. See the page.security file for examples of defining security constraint definitions. If the portlet application does not define a constraint, then no security constraints will be applied to this portlet. Security constraints for a portlet are normally checking during the render process of a portlet.
constraint - The name of the Security Definition defined in
the Jetspeed Security Constraintsvoid storeChildren()
Persistence callback to allow a PortletDefinition instance to persist children objects (like portlet preferences) within the same transaction.
This method must be called always from the #store() method. Using a callback from the persistence manager might not be reliable when the PortletDefinition itself isn't changed but children might.
Notably condition when this might happen is the Pluto 1.0.1 preferences handling calling the portletDefinition store() method
boolean isSameIdentity(PortletDefinition other)
other - boolean isClone()
String getCloneParent()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.