|
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 PortletAppType<T>
This interface defines the contract for the portlet-appType
xsd type
Method Summary | |
---|---|
ContainerRuntimeOptionType<PortletAppType<T>> |
createContainerRuntimeOption()
Creates a new container-runtime-option element |
CustomPortletModeType<PortletAppType<T>> |
createCustomPortletMode()
Creates a new custom-portlet-mode element |
CustomWindowStateType<PortletAppType<T>> |
createCustomWindowState()
Creates a new custom-window-state element |
EventDefinitionType<PortletAppType<T>> |
createEventDefinition()
Creates a new event-definition element |
FilterType<PortletAppType<T>> |
createFilter()
Creates a new filter element |
FilterMappingType<PortletAppType<T>> |
createFilterMapping()
Creates a new filter-mapping element |
ListenerType<PortletAppType<T>> |
createListener()
Creates a new listener element |
PortletType<PortletAppType<T>> |
createPortlet()
Creates a new portlet element |
PublicRenderParameterType<PortletAppType<T>> |
createPublicRenderParameter()
Creates a new public-render-parameter element |
SecurityConstraintType<PortletAppType<T>> |
createSecurityConstraint()
Creates a new security-constraint element |
UserAttributeType<PortletAppType<T>> |
createUserAttribute()
Creates a new user-attribute element |
PortletAppType<T> |
defaultNamespace(String defaultNamespace)
Sets the default-namespace element |
List<ContainerRuntimeOptionType<PortletAppType<T>>> |
getAllContainerRuntimeOption()
Returns all container-runtime-option elements |
List<CustomPortletModeType<PortletAppType<T>>> |
getAllCustomPortletMode()
Returns all custom-portlet-mode elements |
List<CustomWindowStateType<PortletAppType<T>>> |
getAllCustomWindowState()
Returns all custom-window-state elements |
List<EventDefinitionType<PortletAppType<T>>> |
getAllEventDefinition()
Returns all event-definition elements |
List<FilterType<PortletAppType<T>>> |
getAllFilter()
Returns all filter elements |
List<FilterMappingType<PortletAppType<T>>> |
getAllFilterMapping()
Returns all filter-mapping elements |
List<ListenerType<PortletAppType<T>>> |
getAllListener()
Returns all listener elements |
List<PortletType<PortletAppType<T>>> |
getAllPortlet()
Returns all portlet elements |
List<PublicRenderParameterType<PortletAppType<T>>> |
getAllPublicRenderParameter()
Returns all public-render-parameter elements |
List<SecurityConstraintType<PortletAppType<T>>> |
getAllSecurityConstraint()
Returns all security-constraint elements |
List<UserAttributeType<PortletAppType<T>>> |
getAllUserAttribute()
Returns all user-attribute elements |
String |
getDefaultNamespace()
Returns the default-namespace element |
String |
getId()
Returns the id attribute |
ContainerRuntimeOptionType<PortletAppType<T>> |
getOrCreateContainerRuntimeOption()
If not already created, a new container-runtime-option element will be created and returned. |
CustomPortletModeType<PortletAppType<T>> |
getOrCreateCustomPortletMode()
If not already created, a new custom-portlet-mode element will be created and returned. |
CustomWindowStateType<PortletAppType<T>> |
getOrCreateCustomWindowState()
If not already created, a new custom-window-state element will be created and returned. |
EventDefinitionType<PortletAppType<T>> |
getOrCreateEventDefinition()
If not already created, a new event-definition element will be created and returned. |
FilterType<PortletAppType<T>> |
getOrCreateFilter()
If not already created, a new filter element will be created and returned. |
FilterMappingType<PortletAppType<T>> |
getOrCreateFilterMapping()
If not already created, a new filter-mapping element will be created and returned. |
ListenerType<PortletAppType<T>> |
getOrCreateListener()
If not already created, a new listener element will be created and returned. |
PortletType<PortletAppType<T>> |
getOrCreatePortlet()
If not already created, a new portlet element will be created and returned. |
PublicRenderParameterType<PortletAppType<T>> |
getOrCreatePublicRenderParameter()
If not already created, a new public-render-parameter element will be created and returned. |
SecurityConstraintType<PortletAppType<T>> |
getOrCreateSecurityConstraint()
If not already created, a new security-constraint element will be created and returned. |
UserAttributeType<PortletAppType<T>> |
getOrCreateUserAttribute()
If not already created, a new user-attribute element will be created and returned. |
String |
getResourceBundle()
Returns the resource-bundle element |
String |
getVersion()
Returns the version attribute |
PortletAppType<T> |
id(String id)
Sets the id attribute |
PortletAppType<T> |
removeAllContainerRuntimeOption()
Removes all container-runtime-option elements |
PortletAppType<T> |
removeAllCustomPortletMode()
Removes all custom-portlet-mode elements |
PortletAppType<T> |
removeAllCustomWindowState()
Removes all custom-window-state elements |
PortletAppType<T> |
removeAllEventDefinition()
Removes all event-definition elements |
PortletAppType<T> |
removeAllFilter()
Removes all filter elements |
PortletAppType<T> |
removeAllFilterMapping()
Removes all filter-mapping elements |
PortletAppType<T> |
removeAllListener()
Removes all listener elements |
PortletAppType<T> |
removeAllPortlet()
Removes all portlet elements |
PortletAppType<T> |
removeAllPublicRenderParameter()
Removes all public-render-parameter elements |
PortletAppType<T> |
removeAllSecurityConstraint()
Removes all security-constraint elements |
PortletAppType<T> |
removeAllUserAttribute()
Removes all user-attribute elements |
PortletAppType<T> |
removeDefaultNamespace()
Removes the default-namespace element |
PortletAppType<T> |
removeId()
Removes the id attribute |
PortletAppType<T> |
removeResourceBundle()
Removes the resource-bundle element |
PortletAppType<T> |
removeVersion()
Removes the version attribute |
PortletAppType<T> |
resourceBundle(String resourceBundle)
Sets the resource-bundle element |
PortletAppType<T> |
version(String version)
Sets the version attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
PortletType<PortletAppType<T>> getOrCreatePortlet()
portlet
element will be created and returned.
Otherwise, the first existing portlet
element will be returned.
portlet
PortletType<PortletAppType<T>> createPortlet()
portlet
element
PortletType>
List<PortletType<PortletAppType<T>>> getAllPortlet()
portlet
elements
portlet
PortletAppType<T> removeAllPortlet()
portlet
elements
PortletType>
CustomPortletModeType<PortletAppType<T>> getOrCreateCustomPortletMode()
custom-portlet-mode
element will be created and returned.
Otherwise, the first existing custom-portlet-mode
element will be returned.
custom-portlet-mode
CustomPortletModeType<PortletAppType<T>> createCustomPortletMode()
custom-portlet-mode
element
CustomPortletModeType>
List<CustomPortletModeType<PortletAppType<T>>> getAllCustomPortletMode()
custom-portlet-mode
elements
custom-portlet-mode
PortletAppType<T> removeAllCustomPortletMode()
custom-portlet-mode
elements
CustomPortletModeType>
CustomWindowStateType<PortletAppType<T>> getOrCreateCustomWindowState()
custom-window-state
element will be created and returned.
Otherwise, the first existing custom-window-state
element will be returned.
custom-window-state
CustomWindowStateType<PortletAppType<T>> createCustomWindowState()
custom-window-state
element
CustomWindowStateType>
List<CustomWindowStateType<PortletAppType<T>>> getAllCustomWindowState()
custom-window-state
elements
custom-window-state
PortletAppType<T> removeAllCustomWindowState()
custom-window-state
elements
CustomWindowStateType>
UserAttributeType<PortletAppType<T>> getOrCreateUserAttribute()
user-attribute
element will be created and returned.
Otherwise, the first existing user-attribute
element will be returned.
user-attribute
UserAttributeType<PortletAppType<T>> createUserAttribute()
user-attribute
element
UserAttributeType>
List<UserAttributeType<PortletAppType<T>>> getAllUserAttribute()
user-attribute
elements
user-attribute
PortletAppType<T> removeAllUserAttribute()
user-attribute
elements
UserAttributeType>
SecurityConstraintType<PortletAppType<T>> getOrCreateSecurityConstraint()
security-constraint
element will be created and returned.
Otherwise, the first existing security-constraint
element will be returned.
security-constraint
SecurityConstraintType<PortletAppType<T>> createSecurityConstraint()
security-constraint
element
SecurityConstraintType>
List<SecurityConstraintType<PortletAppType<T>>> getAllSecurityConstraint()
security-constraint
elements
security-constraint
PortletAppType<T> removeAllSecurityConstraint()
security-constraint
elements
SecurityConstraintType>
PortletAppType<T> resourceBundle(String resourceBundle)
resource-bundle
element
resourceBundle
- the value for the element resource-bundle
PortletAppType
String getResourceBundle()
resource-bundle
element
resource-bundle
PortletAppType<T> removeResourceBundle()
resource-bundle
element
PortletAppType
FilterType<PortletAppType<T>> getOrCreateFilter()
filter
element will be created and returned.
Otherwise, the first existing filter
element will be returned.
filter
FilterType<PortletAppType<T>> createFilter()
filter
element
FilterType>
List<FilterType<PortletAppType<T>>> getAllFilter()
filter
elements
filter
PortletAppType<T> removeAllFilter()
filter
elements
FilterType>
FilterMappingType<PortletAppType<T>> getOrCreateFilterMapping()
filter-mapping
element will be created and returned.
Otherwise, the first existing filter-mapping
element will be returned.
filter-mapping
FilterMappingType<PortletAppType<T>> createFilterMapping()
filter-mapping
element
FilterMappingType>
List<FilterMappingType<PortletAppType<T>>> getAllFilterMapping()
filter-mapping
elements
filter-mapping
PortletAppType<T> removeAllFilterMapping()
filter-mapping
elements
FilterMappingType>
PortletAppType<T> defaultNamespace(String defaultNamespace)
default-namespace
element
defaultNamespace
- the value for the element default-namespace
PortletAppType
String getDefaultNamespace()
default-namespace
element
default-namespace
PortletAppType<T> removeDefaultNamespace()
default-namespace
element
PortletAppType
EventDefinitionType<PortletAppType<T>> getOrCreateEventDefinition()
event-definition
element will be created and returned.
Otherwise, the first existing event-definition
element will be returned.
event-definition
EventDefinitionType<PortletAppType<T>> createEventDefinition()
event-definition
element
EventDefinitionType>
List<EventDefinitionType<PortletAppType<T>>> getAllEventDefinition()
event-definition
elements
event-definition
PortletAppType<T> removeAllEventDefinition()
event-definition
elements
EventDefinitionType>
PublicRenderParameterType<PortletAppType<T>> getOrCreatePublicRenderParameter()
public-render-parameter
element will be created and returned.
Otherwise, the first existing public-render-parameter
element will be returned.
public-render-parameter
PublicRenderParameterType<PortletAppType<T>> createPublicRenderParameter()
public-render-parameter
element
PublicRenderParameterType>
List<PublicRenderParameterType<PortletAppType<T>>> getAllPublicRenderParameter()
public-render-parameter
elements
public-render-parameter
PortletAppType<T> removeAllPublicRenderParameter()
public-render-parameter
elements
PublicRenderParameterType>
ListenerType<PortletAppType<T>> getOrCreateListener()
listener
element will be created and returned.
Otherwise, the first existing listener
element will be returned.
listener
ListenerType<PortletAppType<T>> createListener()
listener
element
ListenerType>
List<ListenerType<PortletAppType<T>>> getAllListener()
listener
elements
listener
PortletAppType<T> removeAllListener()
listener
elements
ListenerType>
ContainerRuntimeOptionType<PortletAppType<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<PortletAppType<T>> createContainerRuntimeOption()
container-runtime-option
element
ContainerRuntimeOptionType>
List<ContainerRuntimeOptionType<PortletAppType<T>>> getAllContainerRuntimeOption()
container-runtime-option
elements
container-runtime-option
PortletAppType<T> removeAllContainerRuntimeOption()
container-runtime-option
elements
ContainerRuntimeOptionType>
PortletAppType<T> version(String version)
version
attribute
version
- the value for the attribute version
PortletAppType
String getVersion()
version
attribute
version
PortletAppType<T> removeVersion()
version
attribute
PortletAppType
PortletAppType<T> id(String id)
id
attribute
id
- the value for the attribute id
PortletAppType
String getId()
id
attribute
id
PortletAppType<T> removeId()
id
attribute
PortletAppType
|
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 |