WebCenter Interaction API  
 

IPTSearchBestBetMaintenance Members

IPTSearchBestBetMaintenance overview

Public Instance Methods

public methodAddBestBet Add a new Best Bet to the add list. This call will throw an exception if called by anyone but the administrator.
public methodApplyChanges Saves all changes to the database and commits to the search server. This call will throw an exception if called by anyone but the administrator.
public methodCanAddBestBet Checks wether a particular Best Bet is addable or not. It may be addable if a Best Bet with the same newTrigger already exists. This call will throw an exception if called by anyone but the administrator.
public methodCancelChanges Undoes all changes made. This call will throw an exception if called by anyone but the administrator.
public methodDeleteAll Deletes all Best Bets. This call will throw an exception if called by anyone but the administrator.
public methodDeleteByTriggerString Takes a list of trigger string, and deletes those triggers. This call will throw an exception if called by anyone but the administrator.
public methodDeleteFromDisplayedList Takes a list of indices into the displayed list array, and marks the best bets for deletion. This call will throw an exception if called by anyone but the administrator.
public methodFindFirstTargetForTrigger Like the other Find calls, this method should not strictly be here. Given a Best Bet trigger string, this method returns the first best bet target. If the calling user does not have access to the first target document, or if the trigger does not exist, a null IPTSResult is returned. The IPTSResult returned will always have these fields: PortalCollection().Application(), PortalCollection().FolderACL(), PortalCollection().ReadACL(), ContentCollection().ACL(), and CollabCollection().ACL(), so those fields do not need to be retrieved.
public methodFindTriggersContainingTarget 
public methodFindTriggersWithFirstTarget 
public methodGetAddedCount Get a count of the # of items added since the last commit.
public methodGetDeletedCount Get a count of the # of items deleted since the last commit.
public methodGetDisplayedCount Get the # of displayed items.
public methodGetDisplayedItemSetupString Get the item setup string. (the search string used to find targets)
public methodGetDisplayedItemTargets Gets an IXPList of IPTBestBetTarget items.
public methodGetDisplayedItemTrigger Get the item's trigger string.
public methodGetShowingAll Determine of there is a query restriction or if all Best Bets are being displayed.
public methodGetTotalCount Get the total count of Best Bets.
public methodHasBestBetBeenDeleted Returns true if the Best Bet with the given trigger string has been deleted since the last "ApplyChanges()" call.
public methodHasDisplayedItemBeenDeleted Returns true if the display item at the given index has been deleted since the last "ApplyChanges()" call.
public methodHasDisplayedItemBeenNewlyAdded Returns true if the display item at the given index was newly added since the last "ApplyChanges()" call.
public methodRefreshDisplayList Call to refresh the display list. This call will throw an exception if called by anyone but the administrator.
public methodSetNumResultsAskedFor Set the number of items to get when fetching Best Bets (size of view window). This call has no effect until "RefreshDisplayList()" is called.
public methodSetSearchString Set the search string to use to limit the display list. The wildcard character "*" is allowed at the end of the string. If the "*" is not the last character, the search string will be truncated upto the "*". This call has no effect until "RefreshDisplayList()" is called.
public methodSetShowingAll When set to true, removes any search restriction that exists. This call has no effect until "RefreshDisplayList()" is called.
public methodSetStartCount Set the start count (starting at 1) to use when fetching Best Bets. This call has no effect until "RefreshDisplayList()" is called.
public methodUpdateBestBet Update an existing Best Bet. This call will throw an exception if called by anyone but the administrator.

See Also

IPTSearchBestBetMaintenance Interface | com.plumtree.server.search.admin Namespace