com.plumtree.portalpages.ext.providers.www.crawler
Class WWWCrawlerModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorModel
      extended by com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
          extended by com.plumtree.portalpages.admin.editors.crawler.CrawlerModel
              extended by com.plumtree.portalpages.ext.providers.www.crawler.WWWCrawlerModel
All Implemented Interfaces:
ICrawlerModelRO, IWWWCrawlerModelRO, IDescriptionModelRO, IMigrationModelRO, IObjEditorModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IEditorModelRO, IRepostModel

public class WWWCrawlerModel
extends CrawlerModel
implements IWWWCrawlerModelRO

Model class for the Web Crawler Editor.

Author:
Julie Fournier

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
static int TIMOUT_UNIT_MINUTES
          Timout unit: minutes
static int TIMOUT_UNIT_SECONDS
          Timout unit: seconds
 
Fields inherited from class com.plumtree.portalpages.admin.editors.crawler.CrawlerModel
crawlerRuntimeConfig, m_bDisplayMirroringAlert, m_bDSSupportMirroring, m_bImportOnlyNewLinks, m_bRefreshExistingCards, m_bSupportsACLImport, m_nDeletionCards, m_nRejectionCards, m_pbStartLocation, m_sDataSourceName, QS_CRAWLEREDITOR_DATASOURCE_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
WWWCrawlerModel()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 void DoTaskAfterStore()
          Code executed after the object is stored.
 void DoTaskBeforeStore()
          Code executed before the object is stored.
 void DoTaskOnStartEditor(XPHashtable _htFormData)
          Code executed when the Editor is starting.
protected  java.lang.String GetMainDPName()
          Returns the name of the MainDP display page.
 int GetMaxWebCrawlRadius()
          returns the max radius for web crawlers to crawl.
 java.lang.String GetName()
          Returns the Class name.
 IXPPropertyBag GetPropertyBag()
          Returns the Crawler Property bag.
 void InitMaxWebCrawlRadius()
          Helper methods to get the max web crawl radius from varpac.
protected  void InitProviderPropertyBag(IXPPropertyBag _pbStartLocation)
          Initializes the Crawler property bag.
 void SaveExclSettings(XPHashtable _htFormData)
          Helper methods to save the settings on ExcludedPageSettingsView.
 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 SaveSettings(XPHashtable _htFormData)
          Helper methods to save the settings on SettingsView.
 void SaveTargetSettingsDP(XPHashtable _htFormData)
          Helper methods to save the settings on TargetSettingsDP.
 void StartExclusionList()
          Helper method to start the Excluded Pages List.
 void StartInclusionList()
          Helper method to start the Included Pages List.
 
Methods inherited from class com.plumtree.portalpages.admin.editors.crawler.CrawlerModel
ChangeMirroringStatus, ClearDeletionHistory, ClearRejectionHistory, DoTaskOnComeBackFromSubEditor, GetApplyExisting, GetCrawlerSettings, GetCrawlerTag, GetDataSourceName, GetDocMapSectionCount, GetImportOnlyNewLinks, GetRuntimeConfiguration, GetSupportMirroring, GetSupportsACLImport, GetTaxSettings, GetUnmappedExternalDomains, InitPTObject, RaiseError, RaiseError, StartCardSecurity, StartContentLanguage, StartImportSettings, StartLinkSettings, StartSelectFolder, StoreAdvSettings, StoreContentLanguage, StoreDestFolders, StoreLinkSettings
 
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, DoTaskOnChangePage, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, 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.portalpages.admin.editors.crawler.ICrawlerModelRO
GetApplyExisting, GetCrawlerSettings, GetCrawlerTag, GetDocMapSectionCount, GetImportOnlyNewLinks, GetRuntimeConfiguration, GetSupportMirroring, GetSupportsACLImport, GetTaxSettings, GetUnmappedExternalDomains
 
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
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
Class name for the activity space

See Also:
Constant Field Values

TIMOUT_UNIT_SECONDS

public static final int TIMOUT_UNIT_SECONDS
Timout unit: seconds

See Also:
Constant Field Values

TIMOUT_UNIT_MINUTES

public static final int TIMOUT_UNIT_MINUTES
Timout unit: minutes

See Also:
Constant Field Values
Constructor Detail

WWWCrawlerModel

public WWWCrawlerModel()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorModel
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Specified by:
Create in class EditorModel
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

DoTaskAfterStore

public void DoTaskAfterStore()
Code executed after the object is stored.

Overrides:
DoTaskAfterStore in class CrawlerModel

DoTaskBeforeStore

public void DoTaskBeforeStore()
Code executed before the object is stored.

Overrides:
DoTaskBeforeStore in class CrawlerModel

DoTaskOnStartEditor

public void DoTaskOnStartEditor(XPHashtable _htFormData)
Code executed when the Editor is starting.

Overrides:
DoTaskOnStartEditor in class CrawlerModel
Parameters:
_htFormData -

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorModel
Returns:
String

GetPropertyBag

public IXPPropertyBag GetPropertyBag()
Returns the Crawler Property bag.

Specified by:
GetPropertyBag in interface IWWWCrawlerModelRO
Returns:
IXPPropertyBag
See Also:
GetPropertyBag()

InitMaxWebCrawlRadius

public void InitMaxWebCrawlRadius()
Helper methods to get the max web crawl radius from varpac.

Parameters:
_htFormData -

SaveExclSettings

public void SaveExclSettings(XPHashtable _htFormData)
Helper methods to save the settings on ExcludedPageSettingsView.

Parameters:
_htFormData -

SaveMainDP

public int SaveMainDP(XPHashtable _htFormData)
Helper methods to save the settings on MainDP.

Overrides:
SaveMainDP in class CrawlerModel
Parameters:
_htFormData -
Returns:
int Page status for server side validation

SavePage

public int SavePage(java.lang.String _sPageName,
                    XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument.

Specified by:
SavePage in interface IRepostModel
Overrides:
SavePage in class CrawlerModel
Parameters:
_sPageName -
_htFormData -
Returns:
int Page status for server side validation

SaveSettings

public void SaveSettings(XPHashtable _htFormData)
Helper methods to save the settings on SettingsView.

Parameters:
_htFormData -

SaveTargetSettingsDP

public void SaveTargetSettingsDP(XPHashtable _htFormData)
Helper methods to save the settings on TargetSettingsDP.

Parameters:
_htFormData -

StartExclusionList

public void StartExclusionList()
Helper method to start the Excluded Pages List.


StartInclusionList

public void StartInclusionList()
Helper method to start the Included Pages List.


GetMainDPName

protected java.lang.String GetMainDPName()
Returns the name of the MainDP display page.

Specified by:
GetMainDPName in class CrawlerModel
Returns:
String

InitProviderPropertyBag

protected void InitProviderPropertyBag(IXPPropertyBag _pbStartLocation)
Initializes the Crawler property bag.

Specified by:
InitProviderPropertyBag in class CrawlerModel
Parameters:
_pbStartLocation -

GetMaxWebCrawlRadius

public int GetMaxWebCrawlRadius()
Description copied from interface: IWWWCrawlerModelRO
returns the max radius for web crawlers to crawl.

Specified by:
GetMaxWebCrawlRadius in interface IWWWCrawlerModelRO
Returns:



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.