|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletDefinitionLocator<T extends PortletDefinition>
A locator the can be provided by PortletDefinitionList
implementations. The locator is optionally implemented by a portlet
definition list.
Code example:
final PortletDefinitionList list = ...; final Locator loc = list.getLocator(); if (loc instanceof PortletDefinitionLocator) { final PortletDefinitionLocator locator = (PortletDefinitionLocator) loc; final ListModel portletDefinitions = locator.getAllForPortlet(aPortlet); }
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.portal.content.LocalizedLocator |
---|
LocalizedLocator.SearchPattern |
Method Summary | |
---|---|
ListModel<PortletDefinition> |
findAllProvided()
Returns all portlet definitions that are provided as a web service (WSRP) |
ListModel<PortletDefinition> |
findAllRemote()
Returns all portlet definitions that are consumed as remote portlet definitions (e. |
java.util.Map<PortletDefinition,java.lang.Iterable<java.util.Locale>> |
findByKeyword(LocalizedLocator.SearchPattern pattern,
java.lang.String term,
java.lang.Iterable<java.util.Locale> locales)
Performs a search for all portlet definitions whose keywords match the given term and pattern in any of the given locales |
ListModel<? extends T> |
getAllForPortlet(Portlet aPortlet)
Returns all portlet definitions that are associated with the given portlet |
Methods inherited from interface com.ibm.portal.content.LocalizedLocator |
---|
findByDescription, findByTitle |
Methods inherited from interface com.ibm.portal.UniqueNameLocator |
---|
findByUniqueNamePattern |
Methods inherited from interface com.ibm.portal.TimeStampedResourceLocator |
---|
findAllCreatedAfter, findAllCreatedBefore, findAllModifiedAfter, findAllModifiedBefore |
Methods inherited from interface com.ibm.portal.Locator |
---|
findByID, findByUniqueName |
Method Detail |
---|
ListModel<? extends T> getAllForPortlet(Portlet aPortlet) throws ModelException, DataException
null
.
DataException
- if a database error occurs while accessing the data backend
ModelException
- if an error occured while accessing model informationListModel<PortletDefinition> findAllProvided() throws ModelException, DataException
null
.
DataException
- if a database error occurs while accessing the data backend
ModelException
- if an error occured while accessing model informationListModel<PortletDefinition> findAllRemote() throws ModelException, DataException
null
.
DataException
- if a database error occurs while accessing the data backend
ModelException
- if an error occured while accessing model informationjava.util.Map<PortletDefinition,java.lang.Iterable<java.util.Locale>> findByKeyword(LocalizedLocator.SearchPattern pattern, java.lang.String term, java.lang.Iterable<java.util.Locale> locales) throws ModelException
pattern
- The pattern, must not be null
term
- The term to search, must not be null
locales
- The locales, must not be null
and must not be
empty.
ModelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |