| | WebCenter Interaction API | |
| IPTSPortalCollection.portletTypes Method |
Special factory method to make a query that restricts to specific types of portlets, to support the old API's portlet search options. Used by the Add Portlets page.
IPTSQuery portletTypes(
int[]
portletTypes,
int[]
portletAlignments,
bool
nonCommunityFolderOnly,
bool
nonTemplatingPortletsOnly);
Parameters
-
portletTypes
- values from PT_GADGET_TYPES; null to not constrain by type
-
portletAlignments
- values from PT_GADGET_ALIGNMENTS; null to not constrain by alignment
-
nonCommunityFolderOnly
- if true, returned portlets may not be in community folders
-
nonTemplatingPortletsOnly
- if true, returned portlets may not be templating portlets
See Also
IPTSPortalCollection Interface | com.plumtree.server.search.ptapps Namespace