Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.portletapp20 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
PortletType<T> |
PortletType.cacheScope(String cacheScope)
Sets the
cache-scope element |
PortletType<PortletDescriptor> |
PortletDescriptor.createPortlet()
Creates a new
portlet element |
PortletType<T> |
PortletType.description(String... values)
Creates for all String objects representing
description elements,
a new description element |
PortletType<T> |
PortletType.displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
PortletType<T> |
PortletType.expirationCache(Integer expirationCache)
Sets the
expiration-cache element |
PortletType<PortletDescriptor> |
PortletDescriptor.getOrCreatePortlet()
If not already created, a new
portlet element will be created and returned. |
PortletType<T> |
PortletType.id(String id)
Sets the
id attribute |
PortletType<T> |
PortletType.portletClass(String portletClass)
Sets the
portlet-class element |
PortletType<T> |
PortletType.portletName(String portletName)
Sets the
portlet-name element |
PortletType<T> |
PortletType.removeAllContainerRuntimeOption()
Removes all
container-runtime-option elements |
PortletType<T> |
PortletType.removeAllDescription()
Removes the
description element |
PortletType<T> |
PortletType.removeAllDisplayName()
Removes the
display-name element |
PortletType<T> |
PortletType.removeAllInitParam()
Removes all
init-param elements |
PortletType<T> |
PortletType.removeAllSecurityRoleRef()
Removes all
security-role-ref elements |
PortletType<T> |
PortletType.removeAllSupportedLocale()
Removes the
supported-locale element |
PortletType<T> |
PortletType.removeAllSupportedProcessingEvent()
Removes all
supported-processing-event elements |
PortletType<T> |
PortletType.removeAllSupportedPublicRenderParameter()
Removes the
supported-public-render-parameter element |
PortletType<T> |
PortletType.removeAllSupportedPublishingEvent()
Removes all
supported-publishing-event elements |
PortletType<T> |
PortletType.removeAllSupports()
Removes all
supports elements |
PortletType<T> |
PortletType.removeCacheScope()
Removes the
cache-scope element |
PortletType<T> |
PortletType.removeExpirationCache()
Removes the
expiration-cache element |
PortletType<T> |
PortletType.removeId()
Removes the
id attribute |
PortletType<T> |
PortletType.removePortletClass()
Removes the
portlet-class element |
PortletType<T> |
PortletType.removePortletInfo()
Removes the
portlet-info element |
PortletType<T> |
PortletType.removePortletName()
Removes the
portlet-name element |
PortletType<T> |
PortletType.removePortletPreferences()
Removes the
portlet-preferences element |
PortletType<T> |
PortletType.removeResourceBundle()
Removes the
resource-bundle element |
PortletType<T> |
PortletType.resourceBundle(String resourceBundle)
Sets the
resource-bundle element |
PortletType<T> |
PortletType.supportedLocale(String... values)
Creates for all String objects representing
supported-locale elements,
a new supported-locale element |
PortletType<T> |
PortletType.supportedPublicRenderParameter(String... values)
Creates for all String objects representing
supported-public-render-parameter elements,
a new supported-public-render-parameter element |
Modifier and Type | Method and Description |
---|---|
ContainerRuntimeOptionType<PortletType<T>> |
PortletType.createContainerRuntimeOption()
Creates a new
container-runtime-option element |
InitParamType<PortletType<T>> |
PortletType.createInitParam()
Creates a new
init-param element |
SecurityRoleRefType<PortletType<T>> |
PortletType.createSecurityRoleRef()
Creates a new
security-role-ref element |
EventDefinitionReferenceType<PortletType<T>> |
PortletType.createSupportedProcessingEvent()
Creates a new
supported-processing-event element |
EventDefinitionReferenceType<PortletType<T>> |
PortletType.createSupportedPublishingEvent()
Creates a new
supported-publishing-event element |
SupportsType<PortletType<T>> |
PortletType.createSupports()
Creates a new
supports element |
List<ContainerRuntimeOptionType<PortletType<T>>> |
PortletType.getAllContainerRuntimeOption()
Returns all
container-runtime-option elements |
List<InitParamType<PortletType<T>>> |
PortletType.getAllInitParam()
Returns all
init-param elements |
List<PortletType<PortletDescriptor>> |
PortletDescriptor.getAllPortlet()
Returns all
portlet elements |
List<SecurityRoleRefType<PortletType<T>>> |
PortletType.getAllSecurityRoleRef()
Returns all
security-role-ref elements |
List<EventDefinitionReferenceType<PortletType<T>>> |
PortletType.getAllSupportedProcessingEvent()
Returns all
supported-processing-event elements |
List<EventDefinitionReferenceType<PortletType<T>>> |
PortletType.getAllSupportedPublishingEvent()
Returns all
supported-publishing-event elements |
List<SupportsType<PortletType<T>>> |
PortletType.getAllSupports()
Returns all
supports elements |
ContainerRuntimeOptionType<PortletType<T>> |
PortletType.getOrCreateContainerRuntimeOption()
If not already created, a new
container-runtime-option element will be created and returned. |
InitParamType<PortletType<T>> |
PortletType.getOrCreateInitParam()
If not already created, a new
init-param element will be created and returned. |
PortletInfoType<PortletType<T>> |
PortletType.getOrCreatePortletInfo()
If not already created, a new
portlet-info element with the given value will be created. |
PortletPreferencesType<PortletType<T>> |
PortletType.getOrCreatePortletPreferences()
If not already created, a new
portlet-preferences element with the given value will be created. |
SecurityRoleRefType<PortletType<T>> |
PortletType.getOrCreateSecurityRoleRef()
If not already created, a new
security-role-ref element will be created and returned. |
EventDefinitionReferenceType<PortletType<T>> |
PortletType.getOrCreateSupportedProcessingEvent()
If not already created, a new
supported-processing-event element will be created and returned. |
EventDefinitionReferenceType<PortletType<T>> |
PortletType.getOrCreateSupportedPublishingEvent()
If not already created, a new
supported-publishing-event element will be created and returned. |
SupportsType<PortletType<T>> |
PortletType.getOrCreateSupports()
If not already created, a new
supports element will be created and returned. |
Copyright © 2022 JBoss by Red Hat. All rights reserved.