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 typeModifier 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
objectsPortletType
List<String> getAllDescription()
description
elementsdescription
PortletType<T> removeAllDescription()
description
elementPortletType
PortletType<T> portletName(String portletName)
portlet-name
elementportletName
- the value for the element portlet-name
PortletType
String getPortletName()
portlet-name
elementportlet-name
PortletType<T> removePortletName()
portlet-name
elementPortletType
PortletType<T> displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsPortletType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
PortletType<T> removeAllDisplayName()
display-name
elementPortletType
PortletType<T> portletClass(String portletClass)
portlet-class
elementportletClass
- the value for the element portlet-class
PortletType
String getPortletClass()
portlet-class
elementportlet-class
PortletType<T> removePortletClass()
portlet-class
elementPortletType
InitParamType<PortletType<T>> getOrCreateInitParam()
init-param
element will be created and returned.
Otherwise, the first existing init-param
element will be returned.init-param
InitParamType<PortletType<T>> createInitParam()
init-param
elementInitParamType>
List<InitParamType<PortletType<T>>> getAllInitParam()
init-param
elementsinit-param
PortletType<T> removeAllInitParam()
init-param
elementsInitParamType>
PortletType<T> expirationCache(Integer expirationCache)
expiration-cache
elementexpirationCache
- the value for the element expiration-cache
PortletType
Integer getExpirationCache()
expiration-cache
elementexpiration-cache
PortletType<T> removeExpirationCache()
expiration-cache
elementPortletType
PortletType<T> cacheScope(String cacheScope)
cache-scope
elementcacheScope
- the value for the element cache-scope
PortletType
String getCacheScope()
cache-scope
elementcache-scope
PortletType<T> removeCacheScope()
cache-scope
elementPortletType
SupportsType<PortletType<T>> getOrCreateSupports()
supports
element will be created and returned.
Otherwise, the first existing supports
element will be returned.supports
SupportsType<PortletType<T>> createSupports()
supports
elementSupportsType>
List<SupportsType<PortletType<T>>> getAllSupports()
supports
elementssupports
PortletType<T> removeAllSupports()
supports
elementsSupportsType>
PortletType<T> supportedLocale(String... values)
supported-locale
elements,
a new supported-locale
elementvalues
- list of supported-locale
objectsPortletType
List<String> getAllSupportedLocale()
supported-locale
elementssupported-locale
PortletType<T> removeAllSupportedLocale()
supported-locale
elementPortletType
PortletType<T> resourceBundle(String resourceBundle)
resource-bundle
elementresourceBundle
- the value for the element resource-bundle
PortletType
String getResourceBundle()
resource-bundle
elementresource-bundle
PortletType<T> removeResourceBundle()
resource-bundle
elementPortletType
PortletInfoType<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
elementPortletType
PortletPreferencesType<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
elementPortletType
SecurityRoleRefType<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-ref
SecurityRoleRefType<PortletType<T>> createSecurityRoleRef()
security-role-ref
elementSecurityRoleRefType>
List<SecurityRoleRefType<PortletType<T>>> getAllSecurityRoleRef()
security-role-ref
elementssecurity-role-ref
PortletType<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-event
EventDefinitionReferenceType<PortletType<T>> createSupportedProcessingEvent()
supported-processing-event
elementEventDefinitionReferenceType>
List<EventDefinitionReferenceType<PortletType<T>>> getAllSupportedProcessingEvent()
supported-processing-event
elementssupported-processing-event
PortletType<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-event
EventDefinitionReferenceType<PortletType<T>> createSupportedPublishingEvent()
supported-publishing-event
elementEventDefinitionReferenceType>
List<EventDefinitionReferenceType<PortletType<T>>> getAllSupportedPublishingEvent()
supported-publishing-event
elementssupported-publishing-event
PortletType<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
objectsPortletType
List<String> getAllSupportedPublicRenderParameter()
supported-public-render-parameter
elementssupported-public-render-parameter
PortletType<T> removeAllSupportedPublicRenderParameter()
supported-public-render-parameter
elementPortletType
ContainerRuntimeOptionType<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-option
ContainerRuntimeOptionType<PortletType<T>> createContainerRuntimeOption()
container-runtime-option
elementContainerRuntimeOptionType>
List<ContainerRuntimeOptionType<PortletType<T>>> getAllContainerRuntimeOption()
container-runtime-option
elementscontainer-runtime-option
PortletType<T> removeAllContainerRuntimeOption()
container-runtime-option
elementsContainerRuntimeOptionType>
PortletType<T> id(String id)
id
attributeid
- the value for the attribute id
PortletType
String getId()
id
attributeid
PortletType<T> removeId()
id
attributePortletType
Copyright © 2016 JBoss by Red Hat. All rights reserved.