WebCenter Interaction API  
 

IPTSPortalCollection Members

IPTSPortalCollection overview

Public Instance Methods

public methodAdminACL Returns the IPTSField for portal objects' admin ACL. Type String; retrievable but not searchable. Tokens in this String are whitespace-separated user IDs (prefixed with 'u') and group IDs (no prefix) of users or groups that can administer the item.
public methodAdminDirectoryOverloaded. Query that restricts to the portal's entire admin directory. Any object type in the admin directory may be returned. May be passed into IPTSQueryRequest.restrictTo, or used as a subquery of an IPTSBooleanQuery.
public methodAncestorFolderIDs Returns the IPTSField for portal objects' ancestor folder IDs (all ancestors, not just immediate parents). Type String; retrievable but not searchable (use one of the IPTSQuery objects defined in this interface instead). Format is 'ddX' (where XXX is the folder ID) for document directory items, and 'odX' for admin directory items. IDs are separated by whitespace.
public methodCategories Returns the IPTSField for the search-devised categories. Categories are created when search applies clustering to results
public methodClassID Returns the IPTSField for portal objects' class ID. Type String; searchable and retrievable.
public methodclassIdToObjectType Helper method to map a portal Class ID value to the String object type codes used here. Returns null if the class id is invalid or nonsearchable.
public methodCommunity Query that restricts to the set of things attached to a community. (can include items linked from the Community Knowledge Directory, and portlets used in the community). May be passed into IPTSQueryRequest.restrictTo, or used as a subquery of an IPTSBooleanQuery. To restrict to particular object types, AND this query with a query returned by AdminDirectory(folderID, includeSubfolders, objTypes) or DocDirectory(folderID, includeSubfolders, objTypes).
public methodCommunityLinks Returns a string IPTSField containing the IDs of communities this item is linked to. Defined only for documents and document folders (in the community knowledge directory), users (in the community knowledge directory, not all users that are members of the community), portlets (used on a community page), and communities (related via a subcommunity relationship). Retrieveable but not searchable.. use the query returned by Community instead.
public methodCrawlerTag Returns a string IPTSField containing the crawler tag, if defined, for documents. Equivalent to property 9.
public methodDocDirectoryOverloaded. Query that restricts to the portal's entire Knowledge Directory. May be passed into IPTSQueryRequest.restrictTo, or used as a subquery of an IPTSBooleanQuery.
public methodDocumentTypeID Returns an integer IPTSField containing the document type ID for knowledge directory documents.
public methodDocUploadID Returns a string IPTSField containing the "document upload ID" for certain knowledge directory documents. Equivalent to property 62.
public methodDocUploadServer Returns a string IPTSField containing the "document upload server" for certain knowledge directory documents. Equivalent to property 61.
public methodEditACL Returns the IPTSField for portal objects' edit ACL. Type String; retrievable but not searchable. Tokens in this String are whitespace-separated user IDs (prefixed with 'u') and group IDs (no prefix) of users or groups that can edit the item.
public methodEmailAddress Returns a string IPTSField containing the email address, if defined, for users. Equivalent to property 11.
public methodFolderACL Returns the IPTSField for the ACL on portal objects' parent folders. Type String; retrievable but not searchable. Tokens in this String are whitespace-separated user IDs (prefixed with 'u') and group IDs (no prefix) of users or groups that can see the item's folder.
public methodFolderDepth Returns an integer IPTSField corresponding to the depth of a folder in the knowledge directory hierarchy. Defined only for document folder results. Searchable and retrievable.
public methodFolderPath Returns the IPTSField for portal objects' folder path. This is the full-text version containing folder names, not IDs. Type String; searchable and retrievable, and may be used for group-by (this is the field used for "group by folder" in the portal UI).
public methodNameSortKey Returns a IPTSField for a floating-point value based on the first few characters of document names. Defined only for Knowledge Directory documents. Plumtree Search does not support ordering by a String field, so you cannot sort by Name, for example. Ordering by this field instead will sometimes provide a "good enough" replacement for sorting by name.
public methodObjectID Returns the IPTSField for portal objects' object ID. Type int; searchable and retrievable.
public methodParentFolderIDs Returns the IPTSField for portal objects' parent folder ID. Type String; retrievable but not searchable (use one of the IPTSQuery objects defined in this interface instead). Format is 'ddX' (where XXX is the folder ID) for document directory items, and 'odX' for admin directory items. Note that document directory items may have more than one immediate parent folder; in this case the IDs will be whitespace-separated.
public methodPortletAlignment Returns the IPTSField for portlet alignment. Defined only for Portlet results. Type String, searchable and retrievable, contains one of the values from PT_GADGET_ALIGNMENTS.
public methodPortletType Returns the IPTSField for portlet type. Defined only for Portlet results. Type String, searchable and retrievable, contains one of the values from PT_GADGET_TYPES.
public methodportletTypes 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.
public methodPortletUserInterfaces Returns the IPTSField for portlet user interfaces. Defined only for Portlet results. Type String, searchable and retrievable.
public methodPropertyOverloaded. Returns the IPTSFields corresponding to a portal property; looks up the property by name. The property may be one of the intrinsic properties that is present when the portal is installed, or may be one that was created (or migrated in) afterwards.
public methodProviderClassUUID Returns a string IPTSField containing the provider UUID for certain types of portal items.
public methodReadACL Returns the IPTSField for portal objects' ACL. Type String; retrievable but not searchable. Tokens in this String are whitespace-separated user IDs (prefixed with 'u') and group IDs (no prefix) of users or groups that can read the item.
public methodSelectACL Returns the IPTSField for portal objects' select ACL. Type String; retrievable but not searchable. Tokens in this String are whitespace-separated user IDs (prefixed with 'u') and group IDs (no prefix) of users or groups that can select the item.
public methodspecificPortalItem Special factory method to make a query that matches one and only one portal item, identified by class ID and object ID. Note that user security still applies, so either 0 or 1 items will match this query.
public methoduserTypes Special factory method to make a query that returns users of specific types. At least one of wantRegularUsers and wantGuestUsers must be true.

See Also

IPTSPortalCollection Interface | com.plumtree.server.search.ptapps Namespace