|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.editor.EditorModel
com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
com.plumtree.portalpages.admin.editors.crawler.CrawlerModel
public abstract class CrawlerModel
This is the main Editor Model for the Crawler Editor.
| Field Summary | |
|---|---|
protected IXPPropertyBag |
crawlerRuntimeConfig
Crawler Runtime Configuration Property Bag Put infomation about the number of threads, etc. |
boolean |
m_bDisplayMirroringAlert
When the mirroring check box is checked, the destination folders selection becomes single select. |
protected boolean |
m_bDSSupportMirroring
Flag to know whether the Crawler's DS supports mirroring. |
protected boolean |
m_bImportOnlyNewLinks
Flag to know whether this Crawler is configured to import only new links. |
boolean |
m_bRefreshExistingCards
Determines whether refresh settings should be applied to previously imported cards |
protected boolean |
m_bSupportsACLImport
Flag to know whether this Crawler supports ACL import or no. |
int |
m_nDeletionCards
Number of deleted cards in the deletion history. |
int |
m_nRejectionCards
Number of deleted cards in the rejection history. |
protected IXPPropertyBag |
m_pbStartLocation
Crawler Start Location Property Bag |
java.lang.String |
m_sDataSourceName
Name of the Data Source |
static java.lang.String |
QS_CRAWLEREDITOR_DATASOURCE_ID
Query String param: data source ID |
| Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
|---|
EDITOR_CLASSID_UNKNOWN, EDITOR_FOLDERID_UNKNOWN, EDITOR_OBJECTID_UNKNOWN, EDITOR_QS_BOL_QS_FORCESAVEINFOLDER, EDITOR_QS_INT_CLASS_ID, EDITOR_QS_INT_QS_FOLDER_ID, EDITOR_QS_INT_QS_OBJECT_ID, m_bDisableDescription, m_bDisableSecurity, m_bForceSavedInSuppliedFolder, m_bIsSysAdmin, m_nClassID, m_nFolderID, m_nFolderType, m_nObjectID, m_ptObject, m_Session, m_sFolderName, OBJECT_NAME_TRUNCATE |
| Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
|---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
| Constructor Summary | |
|---|---|
CrawlerModel()
|
|
| Method Summary | |
|---|---|
void |
ChangeMirroringStatus()
Performs the change mirroring action |
void |
ClearDeletionHistory()
Clears the crawler's deletion history. |
void |
ClearRejectionHistory()
Clears the crawler's rejection history. |
void |
DoTaskAfterStore()
Code executed after the object is stored. |
void |
DoTaskBeforeStore()
Code executed before the object is stored. |
void |
DoTaskOnComeBackFromSubEditor()
This method will be called when you come back to the main Editor from a sub Editor. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
Code executed when the Editor is starting. |
boolean |
GetApplyExisting()
Tells whether previously imported cards should be updated for new refresh settings. |
int |
GetCrawlerSettings()
Returns crawler settings |
java.lang.String |
GetCrawlerTag()
|
java.lang.String |
GetDataSourceName()
Returns the Data Source name. |
int |
GetDocMapSectionCount()
Returns the number of Sections to display on the Document Type Map page. |
boolean |
GetImportOnlyNewLinks()
Returns the flag m_bImportOnlyNewLinks. |
protected abstract java.lang.String |
GetMainDPName()
Returns the name of the MainDP display page. |
IXPPropertyBag |
GetRuntimeConfiguration()
Get the runtime configuration property bag |
boolean |
GetSupportMirroring()
Tells whether the Crawler's DS supports mirroring or no. |
boolean |
GetSupportsACLImport()
Tells whether the Crawler supports ACL import. |
int |
GetTaxSettings()
Returns taxonomist settings |
IPTQueryResult |
GetUnmappedExternalDomains()
Returns the Query Result of the Unmapped External Domains filtered by the Data Source of this Crawler. |
protected abstract void |
InitProviderPropertyBag(IXPPropertyBag _pbStartLocation)
Initializes the Crawler property bag. |
protected void |
InitPTObject(XPHashtable _htFormData)
Retrieves the DS ID and initializes the Crawler. |
void |
RaiseError(java.lang.String strError)
Helper method to raise an error |
void |
RaiseError(java.lang.String strError,
java.lang.String strExtended)
Helper method to raise an error |
int |
SaveMainDP(XPHashtable _htFormData)
Helper methods to save the settings on MainDP. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
StartCardSecurity()
Helper method to start the security page. |
void |
StartContentLanguage()
Helper method to init the Content language common section. |
void |
StartImportSettings()
Helper method to init the Importing Docs view |
void |
StartLinkSettings()
Helper method to init the Link Settings page. |
void |
StartSelectFolder()
Helper method to start the Select Folder List. |
protected void |
StoreAdvSettings()
Helper method to store the advanced settings. |
void |
StoreContentLanguage()
Helper method to get back the data from the content language page and set them on the crawler. |
protected void |
StoreDestFolders()
Helper method to store the destination folders. |
void |
StoreLinkSettings()
Helper method to get back the data from the link settings page and set them on the crawler. |
| Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
|---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, Finish, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMemberVariablesFromQS, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject |
| Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
|---|
Cancel, CleanupAllData, CleanupTempData, Create, DoTaskOnChangePage, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetName, GetRedirectAfterFinish, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, SetEnableApplyButton, SetHideLeftNav, SetPageStatus, SetUserHasAccessToEditor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.plumtree.portaluiinfrastructure.editor.IObjEditorModelRO |
|---|
GetClassID, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession |
| Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
|---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
| Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject |
|---|
GetName |
| Field Detail |
|---|
public static final java.lang.String QS_CRAWLEREDITOR_DATASOURCE_ID
public boolean m_bDisplayMirroringAlert
public boolean m_bRefreshExistingCards
public int m_nDeletionCards
public int m_nRejectionCards
public java.lang.String m_sDataSourceName
protected IXPPropertyBag m_pbStartLocation
protected IXPPropertyBag crawlerRuntimeConfig
protected boolean m_bDSSupportMirroring
protected boolean m_bSupportsACLImport
protected boolean m_bImportOnlyNewLinks
| Constructor Detail |
|---|
public CrawlerModel()
| Method Detail |
|---|
public void ClearDeletionHistory()
public java.lang.String GetDataSourceName()
public void ClearRejectionHistory()
public void ChangeMirroringStatus()
public void DoTaskAfterStore()
DoTaskAfterStore in class EditorModelpublic void DoTaskBeforeStore()
DoTaskBeforeStore in class EditorModelpublic void DoTaskOnComeBackFromSubEditor()
DoTaskOnComeBackFromSubEditor in class ObjEditorModelpublic void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor in class EditorModel_htFormData - public int GetCrawlerSettings()
GetCrawlerSettings in interface ICrawlerModelROGetCrawlerSettings()public int GetDocMapSectionCount()
GetDocMapSectionCount in interface ICrawlerModelROGetDocMapSectionCount()public boolean GetImportOnlyNewLinks()
GetImportOnlyNewLinks in interface ICrawlerModelROGetImportOnlyNewLinks()public boolean GetSupportMirroring()
GetSupportMirroring in interface ICrawlerModelROGetSupportMirroring()public boolean GetSupportsACLImport()
GetSupportsACLImport in interface ICrawlerModelROGetSupportsACLImport()public int GetTaxSettings()
GetTaxSettings in interface ICrawlerModelROGetTaxSettings()public int SaveMainDP(XPHashtable _htFormData)
_htFormData -
public int SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
SavePage in interface IRepostModelSavePage in class ObjEditorModel_sPageName - _htFormData -
public void StartCardSecurity()
public void StartContentLanguage()
public void StartImportSettings()
public void StartLinkSettings()
public void StartSelectFolder()
public void StoreContentLanguage()
public void StoreLinkSettings()
protected abstract java.lang.String GetMainDPName()
protected void InitPTObject(XPHashtable _htFormData)
InitPTObject in class ObjEditorModel_htFormData - protected abstract void InitProviderPropertyBag(IXPPropertyBag _pbStartLocation)
_pbStartLocation - protected void StoreAdvSettings()
protected void StoreDestFolders()
public IPTQueryResult GetUnmappedExternalDomains()
GetUnmappedExternalDomains in interface ICrawlerModelROGetUnmappedExternalDomains()public java.lang.String GetCrawlerTag()
GetCrawlerTag in interface ICrawlerModelROGetCrawlerTag()public boolean GetApplyExisting()
GetApplyExisting in interface ICrawlerModelROGetApplyExisting()public IXPPropertyBag GetRuntimeConfiguration()
GetRuntimeConfiguration in interface ICrawlerModelROICrawlerModelRO.GetRuntimeConfiguration()
public void RaiseError(java.lang.String strError,
java.lang.String strExtended)
strError - - Error messagestrError - - Extended error messagepublic void RaiseError(java.lang.String strError)
strError - - Error message
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||