|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPTSavedSearch
Method Summary | |
---|---|
IPTSearchResponse |
FollowupSearch(int _iUserID,
int _lPropertyID,
int _lSkipResults,
IPTFilter _spFollowupFilter)
creates a follow up query based on filter and 'Ands' follow up qry with original query in a follow up Search call. |
java.lang.Object[] |
GetReturnProps()
Returns the props that have been returned via the search. |
IPTSearchQuery |
GetSearchQuery()
Retrieves the Search Query. |
IPTSearchRequest |
GetSearchRequest()
Returns an interface to the Search Request. |
boolean |
GetSubscriptionEnabled()
Returns whether the storage and retrieval of Subscriber userIDs is supported on this SavedSearch object |
boolean |
IsSubscribed(int lUserID)
Checks whether a User is a subscriber to this SavedSearch |
IPTQueryResult |
QueryPortletList()
Returns the list of portlets that reference this query. |
int[] |
RetrieveSubscribedUsers()
Retrieves all Users subscribed to this SavedSearch |
IPTSearchResponse |
SearchAsUser(int lUserID)
Executes the search as a specified user. |
void |
SetReturnProps(int[] _aReturnProps)
Sets the props that will be used as PT_SEARCH_SETTING.PT_SEARCHSETTING_RET_PROPS in the search. |
void |
SetSearchQuery(IPTSearchQuery Value)
Sets the SearchQuery. |
void |
SetSearchRequest(IPTSearchRequest Value)
Set the member Search Request object and marks the object as dirty. |
void |
SetSubscriptionEnabled(boolean Value)
Sets whether the storage and retrieval of Subscriber userIDs is supported on this SavedSearch object |
int |
StoreResultPortlet(java.lang.String bstrTitle,
int Type,
boolean bSimple)
Creates a Portlet corresponding to this SavedSearch which can be used to view its results |
void |
SubscribeUser(int lUserID)
Adds a user id to the list of userIDs serialized with the SavedSearch object which can then be retrieved later. |
void |
UnSubscribeUser(int lUserID)
Removes a user id from the list of userIDs serialized with the SavedSearch object |
Methods inherited from interface com.plumtree.server.IPTObject |
---|
GetAdminFolderID, GetClassID, GetCreated, GetImageUUID, GetLastModified, GetObjectProperties, SetAdminFolderID, SetImageUUID, SetLastModified |
Methods inherited from interface com.plumtree.server.IPTLocalizable |
---|
GetDescription, GetIsLocalized, GetLocalizedDescription, GetLocalizedDescriptions, GetLocalizedName, GetLocalizedNames, GetName, GetPrimaryLang, GetSupportsLocalization, SetDescription, SetIsLocalized, SetLocalizedDescriptions, SetLocalizedNames, SetName, SetPrimaryLang |
Methods inherited from interface com.plumtree.server.IPTUnknown |
---|
GetInterfaces |
Methods inherited from interface com.plumtree.server.IPTServerContext |
---|
GetAccessLevel, GetACL, GetLastModifiedBy, GetLockState, GetObjectID, GetOwnerID, GetServerContextSettings, GetSession, GetSettings, LockObject, SetLastModifiedBy, SetObjectID, SetOwnerID, SetServerContextSettings, SetSettings, UnlockObject |
Methods inherited from interface com.plumtree.server.IPTStorable |
---|
Store |
Method Detail |
---|
IPTSearchRequest GetSearchRequest()
void SetSearchRequest(IPTSearchRequest Value)
Value
- new IPTSearchRequest to be setIPTSearchQuery GetSearchQuery()
void SetSearchQuery(IPTSearchQuery Value)
Value
- IPTSearchQuery to be setIPTSearchResponse SearchAsUser(int lUserID)
lUserID
- userID of the user to search by
int StoreResultPortlet(java.lang.String bstrTitle, int Type, boolean bSimple)
bstrTitle
- Portlet titleType
- Portlet type (personal or community)bSimple
- should results be name only?
void SubscribeUser(int lUserID)
lUserID
- userID of the subscribervoid UnSubscribeUser(int lUserID)
lUserID
- userID of the unsubscriberint[] RetrieveSubscribedUsers()
boolean IsSubscribed(int lUserID)
lUserID
- userID of the subscriber
boolean GetSubscriptionEnabled()
void SetSubscriptionEnabled(boolean Value)
Value
- whether or not subscription should be enabled for this objectjava.lang.Object[] GetReturnProps()
void SetReturnProps(int[] _aReturnProps)
int
- array of property idsIPTSearchResponse FollowupSearch(int _iUserID, int _lPropertyID, int _lSkipResults, IPTFilter _spFollowupFilter)
id
- of user doing follow up searchproperty
- id to sort by or 0 to not specifiynumber
- of results to skip @see PT_SEARCH_SETTING.PT_SEARCHSETTING_SKIPRESULTSfollow
- up query or null
IPTQueryResult QueryPortletList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |