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, setResourceBundle
static final String CLONE_PARENT_INIT_PARAM
PortletApplication getApplication()
getApplication
in interface org.apache.pluto.container.om.portlet.PortletDefinition
InitParam getInitParam(String paramName)
getInitParam
in interface org.apache.pluto.container.om.portlet.PortletDefinition
List<InitParam> getInitParams()
getInitParams
in interface org.apache.pluto.container.om.portlet.PortletDefinition
InitParam addInitParam(String paramName)
addInitParam
in interface org.apache.pluto.container.om.portlet.PortletDefinition
PortletInfo getPortletInfo()
getPortletInfo
in interface org.apache.pluto.container.om.portlet.PortletDefinition
Preferences getPortletPreferences()
getPortletPreferences
in interface org.apache.pluto.container.om.portlet.PortletDefinition
Preferences getDescriptorPreferences()
Preference addDescriptorPreference(String name)
List<EventDefinitionReference> getSupportedProcessingEvents()
getSupportedProcessingEvents
in interface org.apache.pluto.container.om.portlet.PortletDefinition
EventDefinitionReference addSupportedProcessingEvent(QName qname)
addSupportedProcessingEvent
in interface org.apache.pluto.container.om.portlet.PortletDefinition
EventDefinitionReference addSupportedProcessingEvent(String name)
addSupportedProcessingEvent
in interface org.apache.pluto.container.om.portlet.PortletDefinition
List<EventDefinitionReference> getSupportedPublishingEvents()
getSupportedPublishingEvents
in interface org.apache.pluto.container.om.portlet.PortletDefinition
EventDefinitionReference addSupportedPublishingEvent(QName qname)
addSupportedPublishingEvent
in interface org.apache.pluto.container.om.portlet.PortletDefinition
EventDefinitionReference addSupportedPublishingEvent(String name)
addSupportedPublishingEvent
in interface org.apache.pluto.container.om.portlet.PortletDefinition
SecurityRoleRef getSecurityRoleRef(String roleName)
getSecurityRoleRef
in interface org.apache.pluto.container.om.portlet.PortletDefinition
List<SecurityRoleRef> getSecurityRoleRefs()
getSecurityRoleRefs
in interface org.apache.pluto.container.om.portlet.PortletDefinition
SecurityRoleRef addSecurityRoleRef(String roleName)
addSecurityRoleRef
in interface org.apache.pluto.container.om.portlet.PortletDefinition
Supports getSupports(String mimeType)
getSupports
in interface org.apache.pluto.container.om.portlet.PortletDefinition
List<Supports> getSupports()
getSupports
in interface org.apache.pluto.container.om.portlet.PortletDefinition
Supports addSupports(String mimeType)
addSupports
in interface org.apache.pluto.container.om.portlet.PortletDefinition
Description getDescription(Locale locale)
getDescription
in interface org.apache.pluto.container.om.portlet.PortletDefinition
List<Description> getDescriptions()
getDescriptions
in interface org.apache.pluto.container.om.portlet.PortletDefinition
Description addDescription(String lang)
addDescription
in interface org.apache.pluto.container.om.portlet.PortletDefinition
DisplayName getDisplayName(Locale locale)
getDisplayName
in interface org.apache.pluto.container.om.portlet.PortletDefinition
List<DisplayName> getDisplayNames()
getDisplayNames
in interface org.apache.pluto.container.om.portlet.PortletDefinition
DisplayName addDisplayName(String lang)
addDisplayName
in interface org.apache.pluto.container.om.portlet.PortletDefinition
GenericMetadata getMetadata()
ContainerRuntimeOption getContainerRuntimeOption(String name)
getContainerRuntimeOption
in interface org.apache.pluto.container.om.portlet.PortletDefinition
List<ContainerRuntimeOption> getContainerRuntimeOptions()
getContainerRuntimeOptions
in interface org.apache.pluto.container.om.portlet.PortletDefinition
ContainerRuntimeOption addContainerRuntimeOption(String name)
addContainerRuntimeOption
in interface org.apache.pluto.container.om.portlet.PortletDefinition
String 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.