com.plumtree.server.search.ptapps
Interface IPTSContentCollection

All Superinterfaces:
IPTSPlumtreeCollection, IPTSSearchableCollection

public interface IPTSContentCollection
extends IPTSPlumtreeCollection

Factory methods for fields defined by Plumtree Content Server, and queries that restrict to areas within Content (i.e. portlets).


Method Summary
 IPTSField ACL()
          Field containing the ACL (access control list) for a Content item.
 IPTSQuery ContentInCommunity(int communityID)
          Query that restricts to all objects published by Content Server in portlets contained in the specified community.
 IPTSQuery ContentPortlet(int portletID)
          Query that restricts to all objects published by Content Server within the specified portlet.
 IPTSQuery ContentServer()
          Query that restricts to all objects published by Content Server.
 IPTSField LastPublishedUser()
          Field containing the name of the user who last published the Content item.
 IPTSField PortletIDs()
          Field containing the IDs of the portlets in which a Content item was published (separated by whitespace).
 IPTSField WebServiceID()
          Field containing the ID of a webservice that can gateway the Content item.
 
Methods inherited from interface com.plumtree.server.search.ptapps.IPTSPlumtreeCollection
Application, CategorizableObjectType, Created, Description, Excerpt, IconURL, IconUUID, Language, LastModified, Name, ObjectType, TextContent, URL
 
Methods inherited from interface com.plumtree.server.search.IPTSSearchableCollection
IsBestBet, Rank, TextQueryDefault
 

Method Detail

PortletIDs

IPTSField PortletIDs()
Field containing the IDs of the portlets in which a Content item was published (separated by whitespace). Type String, searchable and retrievable.


WebServiceID

IPTSField WebServiceID()
Field containing the ID of a webservice that can gateway the Content item. Type String, retrievable but not searchable.


LastPublishedUser

IPTSField LastPublishedUser()
Field containing the name of the user who last published the Content item. Type String, searchable and retrievable.


ACL

IPTSField ACL()
Field containing the ACL (access control list) for a Content item. Type string; same format as IPTSPortalCollection.ACL. Retrievable but not searchable (the current user's ACL is implicitly applied to every search query).


ContentServer

IPTSQuery ContentServer()
Query that restricts to all objects published by Content Server. May be passed into IPTSQueryRequest.restrictTo, or used as a subquery of an IPTSBooleanQuery.


ContentPortlet

IPTSQuery ContentPortlet(int portletID)
Query that restricts to all objects published by Content Server within the specified portlet. May be passed into IPTSQueryRequest.restrictTo, or used as a subquery of an IPTSBooleanQuery.


ContentInCommunity

IPTSQuery ContentInCommunity(int communityID)
Query that restricts to all objects published by Content Server in portlets contained in the specified community. May be passed into IPTSQueryRequest.restrictTo, or used as a subquery of an IPTSBooleanQuery.