public interface IPortletControllerInfo
Portlet controller descriptor.
The information is parsed from the portlet descriptor xml file.
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_NONE
Pre PCA portlet that have been converted to PCA automatically
at load time
|
static String |
TYPE_NONE_NAME |
static int |
TYPE_RESTFUL
RESTful PCA implementation
|
static String |
TYPE_RESTFUL_NAME |
static int |
TYPE_SESSION
Original type of PCA that stores state on the session
|
static String |
TYPE_SESSION_NAME |
Modifier and Type | Method and Description |
---|---|
String |
getBeanClassName()
Returns the portlet controller bean implementation class that must implement
IPortletControllerBean interface. |
int |
getBeanSelfDestructLimit()
Returns portlet controller bean self destruction limit
|
IPortletLayoutInfo |
getDefaultLayout()
Returns the default layout info
|
IPortletLayoutInfo |
getLayout(int index)
Returns
IPortletLayoutInfo for the layout with the given index |
IPortletLayoutInfo |
getLayout(String name)
Returns
IPortletLayoutInfo for the layout with the given name |
IPortletLayoutInfo[] |
getLayouts()
Returns array of all portlet layouts
|
IPortletMethodInfo |
getMethod(String name)
Returns
IPortletMethodInfo object for the method with the given name. |
IPortletMethodInfo |
getMethod(String name,
String group)
Deprecated.
|
IPortletMethodGroupInfo |
getMethodGroup(String group)
Deprecated.
|
IPortletMethodGroupInfo[] |
getMethodGroups()
Deprecated.
|
int |
getType()
Returns controller implementation type
|
boolean |
hasLayout(String name)
Checks whether the portlet controller has the given layout defined
|
void |
setBeanClassName(String beanClassName)
Sets class name for the portlet controller implementation class
|
void |
setBeanSelfDestructLimit(int beanSelfDestructLimit)
Sets a new bean self desctruction limit number.
|
static final int TYPE_NONE
static final String TYPE_NONE_NAME
static final int TYPE_SESSION
static final String TYPE_SESSION_NAME
static final int TYPE_RESTFUL
static final String TYPE_RESTFUL_NAME
String getBeanClassName()
IPortletControllerBean
interface.void setBeanClassName(String beanClassName)
beanClassName
- new bean class nameint getBeanSelfDestructLimit()
void setBeanSelfDestructLimit(int beanSelfDestructLimit)
beanSelfDestructLimit
- new valueint getType()
TYPE_NONE
,
TYPE_SESSION
,
TYPE_RESTFUL
IPortletLayoutInfo[] getLayouts()
IPortletLayoutInfo
@Deprecated IPortletMethodGroupInfo[] getMethodGroups()
boolean hasLayout(String name)
name
- the layout nameIPortletLayoutInfo getLayout(String name)
IPortletLayoutInfo
for the layout with the given namename
- the layout nameIPortletLayoutInfo getLayout(int index)
IPortletLayoutInfo
for the layout with the given indexindex
- the layout indexIPortletLayoutInfo getDefaultLayout()
@Deprecated IPortletMethodGroupInfo getMethodGroup(String group)
IPortletMethodInfo getMethod(String name)
IPortletMethodInfo
object for the method with the given name.name
- the name of the method@Deprecated IPortletMethodInfo getMethod(String name, String group)