com.plumtree.server
Interface IPTTaxonomist

All Superinterfaces:
IPTLocalizable, IPTObject, IPTUnknown

public interface IPTTaxonomist
extends IPTObject

This class defines an object that performs taxonomization. Taxonomization is the process of classifying Documents into a set of Folders by using Filters, which define folder membership.


Method Summary
 void AddDestinationFolder(int lFolderID)
          Adds a particular Folder to the list of Target Folders
 void AddSourceFolder(int lFolderID)
          Adds a particular Folder to the list of Source Folders
 void AddToBulkProfile(IPTCard pCard, java.lang.String bstrProvCLSID)
          Adds a Card to the Profiling Engine for taxonomization
 java.lang.Object[][] CommitBulkProfile(int pm)
          Commits the profiled Cards to the index
 java.lang.Object[] GetDestinationFolders()
          Returns the target Folders for this Taxonomist.
 java.lang.String GetFallBackLocale()
          Retrieves the language of the Taxonomist
 int GetFilterCount()
          Returns the number of Filters assigned to the Profiling Engine
 int GetSettings()
          Retrieves the settings stored on this Taxonomist in the form of a bitmap.
 java.lang.Object[] GetSourceFolders()
          Retrieves the Source Folders of this Taxonomist.
 int GetUnclassifiedSubFolderID()
          Returns the Unclassified Subfolder that is associated with this Taxonomist.
 void Initialize(IPTSession pSession)
          Initializes the Taxonomist by associated it with an IPTSession.
 void RemoveDestinationFolder(int lFolderID)
          Removes a particular Folder from the list of Target Folders
 void RemoveSourceFolder(int lFolderID)
          Removes a particular Folder from the list of Source Folders
 void SetDestinationFolders(java.lang.Object[] Value)
          Sets the target Folders for this Taxonomist.
 void SetFallBackLocale(java.lang.String Value)
          Sets the language of the Taxonomist
 void SetSettings(int Value)
          Sets the settings associated with this Taxonomist.
 void SetSourceFolders(java.lang.Object[] Value)
          Sets the Source Folders of this Taxonomist.
 int[] TaxonomizeCard(IPTCard pCard)
          Taxonomizes a Card into the Target Folders.
 
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
 

Method Detail

GetDestinationFolders

public java.lang.Object[] GetDestinationFolders()
Returns the target Folders for this Taxonomist.
Returns:
Integer array of the target Folder IDs

SetDestinationFolders

public void SetDestinationFolders(java.lang.Object[] Value)
Sets the target Folders for this Taxonomist.
Parameters:
Value - Integer array of the target Folder IDs

AddDestinationFolder

public void AddDestinationFolder(int lFolderID)
Adds a particular Folder to the list of Target Folders
Parameters:
lFolderID - ID of the Target Folder being added

RemoveDestinationFolder

public void RemoveDestinationFolder(int lFolderID)
Removes a particular Folder from the list of Target Folders
Parameters:
ID - of the Target Folder being removed

GetSettings

public int GetSettings()
Retrieves the settings stored on this Taxonomist in the form of a bitmap.
Returns:
Settings in the form of a bitmap
See Also:
PT_TAXONOMIST_SETTINGS

SetSettings

public void SetSettings(int Value)
Sets the settings associated with this Taxonomist. Note that this call overwrites the current settings.
Parameters:
Settings - in the form of a bitmap
See Also:
PT_TAXONOMIST_SETTINGS

GetSourceFolders

public java.lang.Object[] GetSourceFolders()
Retrieves the Source Folders of this Taxonomist.
Returns:
Integer array of the source Folder IDs

SetSourceFolders

public void SetSourceFolders(java.lang.Object[] Value)
Sets the Source Folders of this Taxonomist.
Parameters:
Value - Integer array of the source Folder IDs

AddSourceFolder

public void AddSourceFolder(int lFolderID)
Adds a particular Folder to the list of Source Folders
Parameters:
lFolderID - ID of the Source Folder being added

RemoveSourceFolder

public void RemoveSourceFolder(int lFolderID)
Removes a particular Folder from the list of Source Folders
Parameters:
ID - of the Source Folder being removed

Initialize

public void Initialize(IPTSession pSession)
Initializes the Taxonomist by associated it with an IPTSession.
Parameters:
pSession - Session to be associated with the Taxonomist

TaxonomizeCard

public int[] TaxonomizeCard(IPTCard pCard)
Taxonomizes a Card into the Target Folders.
Parameters:
pCard - Card to be Taxonomized
Returns:
array of folderIDs that the Card was taxonomized into.

AddToBulkProfile

public void AddToBulkProfile(IPTCard pCard,
                             java.lang.String bstrProvCLSID)
Adds a Card to the Profiling Engine for taxonomization
Parameters:
pCard - Card to be Taxonomized by the Profiler
bstrProvCLSID - Provider identifier

CommitBulkProfile

public java.lang.Object[][] CommitBulkProfile(int pm)
Commits the profiled Cards to the index
Parameters:
pm - Profiler mode
Returns:
status flags
See Also:
PT_PROFILER_MODE

GetUnclassifiedSubFolderID

public int GetUnclassifiedSubFolderID()
Returns the Unclassified Subfolder that is associated with this Taxonomist. If such a Folder does not yet exist, one is created.
Returns:
folderID of the Unclassified Subfolder.

GetFilterCount

public int GetFilterCount()
Returns the number of Filters assigned to the Profiling Engine
Returns:
number of Filters assigned to the Profiling Engine

GetFallBackLocale

public java.lang.String GetFallBackLocale()
Retrieves the language of the Taxonomist
Returns:
Language string

SetFallBackLocale

public void SetFallBackLocale(java.lang.String Value)
Sets the language of the Taxonomist
Parameters:
Value - Language string


Copyright © 2003 Plumtree Software Inc. All Rights Reserved.