
public interface PortletType<T> extends Child<T>, PortletPortletCommonType<T,PortletType<T>,InitParamType<PortletType<T>>,SupportsType<PortletType<T>>,PortletInfoType<PortletType<T>>,PortletPreferencesType<PortletType<T>>,SecurityRoleRefType<PortletType<T>>,EventDefinitionReferenceType<PortletType<T>>,EventDefinitionReferenceType<PortletType<T>>,ContainerRuntimeOptionType<PortletType<T>>>
portletType xsd type| Modifier and Type | Method and Description |
|---|---|
PortletType<T> |
cacheScope(String cacheScope)
Sets the
cache-scope element |
ContainerRuntimeOptionType<PortletType<T>> |
createContainerRuntimeOption()
Creates a new
container-runtime-option element |
InitParamType<PortletType<T>> |
createInitParam()
Creates a new
init-param element |
SecurityRoleRefType<PortletType<T>> |
createSecurityRoleRef()
Creates a new
security-role-ref element |
EventDefinitionReferenceType<PortletType<T>> |
createSupportedProcessingEvent()
Creates a new
supported-processing-event element |
EventDefinitionReferenceType<PortletType<T>> |
createSupportedPublishingEvent()
Creates a new
supported-publishing-event element |
SupportsType<PortletType<T>> |
createSupports()
Creates a new
supports element |
PortletType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
PortletType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
PortletType<T> |
expirationCache(Integer expirationCache)
Sets the
expiration-cache element |
List<ContainerRuntimeOptionType<PortletType<T>>> |
getAllContainerRuntimeOption()
Returns all
container-runtime-option elements |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<InitParamType<PortletType<T>>> |
getAllInitParam()
Returns all
init-param elements |
List<SecurityRoleRefType<PortletType<T>>> |
getAllSecurityRoleRef()
Returns all
security-role-ref elements |
List<String> |
getAllSupportedLocale()
Returns all
supported-locale elements |
List<EventDefinitionReferenceType<PortletType<T>>> |
getAllSupportedProcessingEvent()
Returns all
supported-processing-event elements |
List<String> |
getAllSupportedPublicRenderParameter()
Returns all
supported-public-render-parameter elements |
List<EventDefinitionReferenceType<PortletType<T>>> |
getAllSupportedPublishingEvent()
Returns all
supported-publishing-event elements |
List<SupportsType<PortletType<T>>> |
getAllSupports()
Returns all
supports elements |
String |
getCacheScope()
Returns the
cache-scope element |
Integer |
getExpirationCache()
Returns the
expiration-cache element |
String |
getId()
Returns the
id attribute |
ContainerRuntimeOptionType<PortletType<T>> |
getOrCreateContainerRuntimeOption()
If not already created, a new
container-runtime-option element will be created and returned. |
InitParamType<PortletType<T>> |
getOrCreateInitParam()
If not already created, a new
init-param element will be created and returned. |
PortletInfoType<PortletType<T>> |
getOrCreatePortletInfo()
If not already created, a new
portlet-info element with the given value will be created. |
PortletPreferencesType<PortletType<T>> |
getOrCreatePortletPreferences()
If not already created, a new
portlet-preferences element with the given value will be created. |
SecurityRoleRefType<PortletType<T>> |
getOrCreateSecurityRoleRef()
If not already created, a new
security-role-ref element will be created and returned. |
EventDefinitionReferenceType<PortletType<T>> |
getOrCreateSupportedProcessingEvent()
If not already created, a new
supported-processing-event element will be created and returned. |
EventDefinitionReferenceType<PortletType<T>> |
getOrCreateSupportedPublishingEvent()
If not already created, a new
supported-publishing-event element will be created and returned. |
SupportsType<PortletType<T>> |
getOrCreateSupports()
If not already created, a new
supports element will be created and returned. |
String |
getPortletClass()
Returns the
portlet-class element |
String |
getPortletName()
Returns the
portlet-name element |
String |
getResourceBundle()
Returns the
resource-bundle element |
PortletType<T> |
id(String id)
Sets the
id attribute |
PortletType<T> |
portletClass(String portletClass)
Sets the
portlet-class element |
PortletType<T> |
portletName(String portletName)
Sets the
portlet-name element |
PortletType<T> |
removeAllContainerRuntimeOption()
Removes all
container-runtime-option elements |
PortletType<T> |
removeAllDescription()
Removes the
description element |
PortletType<T> |
removeAllDisplayName()
Removes the
display-name element |
PortletType<T> |
removeAllInitParam()
Removes all
init-param elements |
PortletType<T> |
removeAllSecurityRoleRef()
Removes all
security-role-ref elements |
PortletType<T> |
removeAllSupportedLocale()
Removes the
supported-locale element |
PortletType<T> |
removeAllSupportedProcessingEvent()
Removes all
supported-processing-event elements |
PortletType<T> |
removeAllSupportedPublicRenderParameter()
Removes the
supported-public-render-parameter element |
PortletType<T> |
removeAllSupportedPublishingEvent()
Removes all
supported-publishing-event elements |
PortletType<T> |
removeAllSupports()
Removes all
supports elements |
PortletType<T> |
removeCacheScope()
Removes the
cache-scope element |
PortletType<T> |
removeExpirationCache()
Removes the
expiration-cache element |
PortletType<T> |
removeId()
Removes the
id attribute |
PortletType<T> |
removePortletClass()
Removes the
portlet-class element |
PortletType<T> |
removePortletInfo()
Removes the
portlet-info element |
PortletType<T> |
removePortletName()
Removes the
portlet-name element |
PortletType<T> |
removePortletPreferences()
Removes the
portlet-preferences element |
PortletType<T> |
removeResourceBundle()
Removes the
resource-bundle element |
PortletType<T> |
resourceBundle(String resourceBundle)
Sets the
resource-bundle element |
PortletType<T> |
supportedLocale(String... values)
Creates for all String objects representing
supported-locale elements,
a new supported-locale element |
PortletType<T> |
supportedPublicRenderParameter(String... values)
Creates for all String objects representing
supported-public-render-parameter elements,
a new supported-public-render-parameter element |
PortletType<T> description(String... values)
description elements,
a new description elementvalues - list of description objectsPortletTypeList<String> getAllDescription()
description elementsdescriptionPortletType<T> removeAllDescription()
description elementPortletTypePortletType<T> portletName(String portletName)
portlet-name elementportletName - the value for the element portlet-namePortletTypeString getPortletName()
portlet-name elementportlet-namePortletType<T> removePortletName()
portlet-name elementPortletTypePortletType<T> displayName(String... values)
display-name elements,
a new display-name elementvalues - list of display-name objectsPortletTypeList<String> getAllDisplayName()
display-name elementsdisplay-namePortletType<T> removeAllDisplayName()
display-name elementPortletTypePortletType<T> portletClass(String portletClass)
portlet-class elementportletClass - the value for the element portlet-classPortletTypeString getPortletClass()
portlet-class elementportlet-classPortletType<T> removePortletClass()
portlet-class elementPortletTypeInitParamType<PortletType<T>> getOrCreateInitParam()
init-param element will be created and returned.
Otherwise, the first existing init-param element will be returned.init-paramInitParamType<PortletType<T>> createInitParam()
init-param elementInitParamType> List<InitParamType<PortletType<T>>> getAllInitParam()
init-param elementsinit-paramPortletType<T> removeAllInitParam()
init-param elementsInitParamType> PortletType<T> expirationCache(Integer expirationCache)
expiration-cache elementexpirationCache - the value for the element expiration-cachePortletTypeInteger getExpirationCache()
expiration-cache elementexpiration-cachePortletType<T> removeExpirationCache()
expiration-cache elementPortletTypePortletType<T> cacheScope(String cacheScope)
cache-scope elementcacheScope - the value for the element cache-scopePortletTypeString getCacheScope()
cache-scope elementcache-scopePortletType<T> removeCacheScope()
cache-scope elementPortletTypeSupportsType<PortletType<T>> getOrCreateSupports()
supports element will be created and returned.
Otherwise, the first existing supports element will be returned.supportsSupportsType<PortletType<T>> createSupports()
supports elementSupportsType> List<SupportsType<PortletType<T>>> getAllSupports()
supports elementssupportsPortletType<T> removeAllSupports()
supports elementsSupportsType> PortletType<T> supportedLocale(String... values)
supported-locale elements,
a new supported-locale elementvalues - list of supported-locale objectsPortletTypeList<String> getAllSupportedLocale()
supported-locale elementssupported-localePortletType<T> removeAllSupportedLocale()
supported-locale elementPortletTypePortletType<T> resourceBundle(String resourceBundle)
resource-bundle elementresourceBundle - the value for the element resource-bundlePortletTypeString getResourceBundle()
resource-bundle elementresource-bundlePortletType<T> removeResourceBundle()
resource-bundle elementPortletTypePortletInfoType<PortletType<T>> getOrCreatePortletInfo()
portlet-info element with the given value will be created.
Otherwise, the existing portlet-info element will be returned.PortletInfoType> PortletType<T> removePortletInfo()
portlet-info elementPortletTypePortletPreferencesType<PortletType<T>> getOrCreatePortletPreferences()
portlet-preferences element with the given value will be created.
Otherwise, the existing portlet-preferences element will be returned.PortletPreferencesType> PortletType<T> removePortletPreferences()
portlet-preferences elementPortletTypeSecurityRoleRefType<PortletType<T>> getOrCreateSecurityRoleRef()
security-role-ref element will be created and returned.
Otherwise, the first existing security-role-ref element will be returned.security-role-refSecurityRoleRefType<PortletType<T>> createSecurityRoleRef()
security-role-ref elementSecurityRoleRefType> List<SecurityRoleRefType<PortletType<T>>> getAllSecurityRoleRef()
security-role-ref elementssecurity-role-refPortletType<T> removeAllSecurityRoleRef()
security-role-ref elementsSecurityRoleRefType> EventDefinitionReferenceType<PortletType<T>> getOrCreateSupportedProcessingEvent()
supported-processing-event element will be created and returned.
Otherwise, the first existing supported-processing-event element will be returned.supported-processing-eventEventDefinitionReferenceType<PortletType<T>> createSupportedProcessingEvent()
supported-processing-event elementEventDefinitionReferenceType> List<EventDefinitionReferenceType<PortletType<T>>> getAllSupportedProcessingEvent()
supported-processing-event elementssupported-processing-eventPortletType<T> removeAllSupportedProcessingEvent()
supported-processing-event elementsEventDefinitionReferenceType> EventDefinitionReferenceType<PortletType<T>> getOrCreateSupportedPublishingEvent()
supported-publishing-event element will be created and returned.
Otherwise, the first existing supported-publishing-event element will be returned.supported-publishing-eventEventDefinitionReferenceType<PortletType<T>> createSupportedPublishingEvent()
supported-publishing-event elementEventDefinitionReferenceType> List<EventDefinitionReferenceType<PortletType<T>>> getAllSupportedPublishingEvent()
supported-publishing-event elementssupported-publishing-eventPortletType<T> removeAllSupportedPublishingEvent()
supported-publishing-event elementsEventDefinitionReferenceType> PortletType<T> supportedPublicRenderParameter(String... values)
supported-public-render-parameter elements,
a new supported-public-render-parameter elementvalues - list of supported-public-render-parameter objectsPortletTypeList<String> getAllSupportedPublicRenderParameter()
supported-public-render-parameter elementssupported-public-render-parameterPortletType<T> removeAllSupportedPublicRenderParameter()
supported-public-render-parameter elementPortletTypeContainerRuntimeOptionType<PortletType<T>> getOrCreateContainerRuntimeOption()
container-runtime-option element will be created and returned.
Otherwise, the first existing container-runtime-option element will be returned.container-runtime-optionContainerRuntimeOptionType<PortletType<T>> createContainerRuntimeOption()
container-runtime-option elementContainerRuntimeOptionType> List<ContainerRuntimeOptionType<PortletType<T>>> getAllContainerRuntimeOption()
container-runtime-option elementscontainer-runtime-optionPortletType<T> removeAllContainerRuntimeOption()
container-runtime-option elementsContainerRuntimeOptionType> PortletType<T> id(String id)
id attributeid - the value for the attribute idPortletTypeString getId()
id attributeidPortletType<T> removeId()
id attributePortletTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.