|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletType<T>
This interface defines the contract for the portletType
xsd type
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
PortletType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
PortletType
List<String> getAllDescription()
description
elements
description
PortletType<T> removeAllDescription()
description
element
PortletType
PortletType<T> portletName(String portletName)
portlet-name
element
portletName
- the value for the element portlet-name
PortletType
String getPortletName()
portlet-name
element
portlet-name
PortletType<T> removePortletName()
portlet-name
element
PortletType
PortletType<T> displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
PortletType
List<String> getAllDisplayName()
display-name
elements
display-name
PortletType<T> removeAllDisplayName()
display-name
element
PortletType
PortletType<T> portletClass(String portletClass)
portlet-class
element
portletClass
- the value for the element portlet-class
PortletType
String getPortletClass()
portlet-class
element
portlet-class
PortletType<T> removePortletClass()
portlet-class
element
PortletType
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
element
InitParamType>
List<InitParamType<PortletType<T>>> getAllInitParam()
init-param
elements
init-param
PortletType<T> removeAllInitParam()
init-param
elements
InitParamType>
PortletType<T> expirationCache(Integer expirationCache)
expiration-cache
element
expirationCache
- the value for the element expiration-cache
PortletType
Integer getExpirationCache()
expiration-cache
element
expiration-cache
PortletType<T> removeExpirationCache()
expiration-cache
element
PortletType
PortletType<T> cacheScope(String cacheScope)
cache-scope
element
cacheScope
- the value for the element cache-scope
PortletType
String getCacheScope()
cache-scope
element
cache-scope
PortletType<T> removeCacheScope()
cache-scope
element
PortletType
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
element
SupportsType>
List<SupportsType<PortletType<T>>> getAllSupports()
supports
elements
supports
PortletType<T> removeAllSupports()
supports
elements
SupportsType>
PortletType<T> supportedLocale(String... values)
supported-locale
elements,
a new supported-locale
element
values
- list of supported-locale
objects
PortletType
List<String> getAllSupportedLocale()
supported-locale
elements
supported-locale
PortletType<T> removeAllSupportedLocale()
supported-locale
element
PortletType
PortletType<T> resourceBundle(String resourceBundle)
resource-bundle
element
resourceBundle
- the value for the element resource-bundle
PortletType
String getResourceBundle()
resource-bundle
element
resource-bundle
PortletType<T> removeResourceBundle()
resource-bundle
element
PortletType
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
element
PortletType
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
element
PortletType
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
element
SecurityRoleRefType>
List<SecurityRoleRefType<PortletType<T>>> getAllSecurityRoleRef()
security-role-ref
elements
security-role-ref
PortletType<T> removeAllSecurityRoleRef()
security-role-ref
elements
SecurityRoleRefType>
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
element
EventDefinitionReferenceType>
List<EventDefinitionReferenceType<PortletType<T>>> getAllSupportedProcessingEvent()
supported-processing-event
elements
supported-processing-event
PortletType<T> removeAllSupportedProcessingEvent()
supported-processing-event
elements
EventDefinitionReferenceType>
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
element
EventDefinitionReferenceType>
List<EventDefinitionReferenceType<PortletType<T>>> getAllSupportedPublishingEvent()
supported-publishing-event
elements
supported-publishing-event
PortletType<T> removeAllSupportedPublishingEvent()
supported-publishing-event
elements
EventDefinitionReferenceType>
PortletType<T> supportedPublicRenderParameter(String... values)
supported-public-render-parameter
elements,
a new supported-public-render-parameter
element
values
- list of supported-public-render-parameter
objects
PortletType
List<String> getAllSupportedPublicRenderParameter()
supported-public-render-parameter
elements
supported-public-render-parameter
PortletType<T> removeAllSupportedPublicRenderParameter()
supported-public-render-parameter
element
PortletType
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
element
ContainerRuntimeOptionType>
List<ContainerRuntimeOptionType<PortletType<T>>> getAllContainerRuntimeOption()
container-runtime-option
elements
container-runtime-option
PortletType<T> removeAllContainerRuntimeOption()
container-runtime-option
elements
ContainerRuntimeOptionType>
PortletType<T> id(String id)
id
attribute
id
- the value for the attribute id
PortletType
String getId()
id
attribute
id
PortletType<T> removeId()
id
attribute
PortletType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |