com.plumtree.uiinfrastructure.activityspace
Interface IView

All Superinterfaces:
IManagedObject, IMVCObject
All Known Subinterfaces:
IDevicesView
All Known Implementing Classes:
ABOCommPopupSelectView, ABOPopupResultsView, ABOPopupSelectView, ABOSubPopupResultsView, AccessibilityView, AccountLockingView, ActSecurityPluginView, AddSettingsPluginView, AddUserInfoPluginView, AdminFolderAdvView, AdminFolderDependenciesView, AdminFollowupSearchView, AdvSettingsPluginView, AFormHeaderView, AjaxView, ApprovalView, ArchivingAgentView, ASButtonView, ASFilterView, ASFoldersView, ASFooterView, AssociatedObjectsView, AssocObjectsPluginView, AssocWebServicesView, ASTypesView, AuditQueryResultView, AuthPartnerView, AuthSource2View, AuthSource3View, AuthSource4View, AuthSourceDependenciesView, AuthSourceMainView, AuthSourceReenableUsersConfirmPopupView, AuthSourceReenableUsersPopupView, AuthSourceSelectAuthPartnerView, AuthSourceSelectWebServiceView, AutomationServerListView, AutomationServerPopUpView, AWSSettingsPluginView, AYSBottomView, AYSMessageView, AYSTopView, BannerFieldAliasView, BasicAuthPluginView, BasicSearchButtonView, BasicSearchView, BestBetEditorView, BestBetsListView, BreadcrumbView, CardEditorDocInfoView, CardEditorMainView, CardLanguagePlugInView, ChoosePageDevicesView_HTML32, ChoosePageDevicesView_WML, ChooseWSTypePluginView, ClearHistoryView, CodePopUpView, CollabExpListView, CommentView, CommunitiesListView, CommunitiesPortletView, CommunityDependenciesView, CommunityInvitationJoinView, CommunityInvitationPopupView, CommunityInvitationView_D, CommunityTemplateDepView, CommunityUnsubscribeView, ContentCollabLinksView, CrawlerDependenciesView, CrawlerTagView, CrawlerThreadConfigView, CreateAccountView, CreateFolderView, CreateInvCodeView, CreatePortletActionBarView, CreatePortletActionBarView_D, CreateRuleView, CredentialVaultPluginView, CustomActivityListView, CWSSettingsPluginView, DataSourceDependenciesView, DataSourceSelectWebServiceView, DebugConfigPluginView, DebuggingModeView, DebugPortletPluginView, DebugUserPluginView, DefaultFooterView, DefaultHeaderView, DefaultLanguageSettingsView, DestFolderSettingsView, DevicesView, DirABOLinksView, DirBreadcrumbView, DirBrowseFooterView_D, DirBrowseHeaderView_D, DirCardPropertiesView, DirCardPropertiesView_D, DirCardSubmitDependenciesView, DirCardSubmitDoneView, DirCardSubmitSimpleView, DirCardSubmitUploadingView, DirCreateFolderView, DirDataSourceView_D, DirDeleteWarningsView, DirKeywordsView, DirPrefsView, DirRelatedResourcesMoreView_D, DirRelatedResourcesView_D, DirSubmitCardView_D, DirSubmitDoneView_D, DisableSiteMapView, DisplayInPortletView, DisplayOptView, DisplayPrefsView, DocTypeDependenciesView, DocTypePlugInView, DocumentApprovalView, DocumentBannerView, DrilldownView, DSURLTypeView, DynamicLoadsView, DynamicMembersPreviewView, DynamicRulesView, EditCardPropView, EditCommunityPageView, EditDefaultProfileTopView, EditMyPagePortletLayoutView_D, EditorHeaderView, EditorLeftNavView, EditorLikeView, EditorView, EditWebLinkView, EODPortletPrefsNewCtgView, EODPortletPrefsRenameCtgView, EODPortletView, ErrorDevicesView_HTML32, ErrorDevicesView_WML, ErrorView, ExcludedPageSettingsView, ExistingCardsView, ExpListPropBrowseView, ExpListPropEditView, ExpListView, ExportSettingsView, ExternalOperationDependenciesView, ExternalOperationEditorMainView, FeaturesView, FilterDependenciesView, FilterView, FolderBannerView, FolderEditorACLPropagateView, FolderEditorDataSourceView, FolderEditorFilterSettingsView, FolderEditorMainView, FolderEditorSortingView, FolderSelectorView, FoldersPortletView, FolderView, FollowupSearchView, FormFooterView, FormHeaderView, FormLoginFieldsPluginView, FormLoginPluginView, GatewayCachingPluginView, GatewayPrefixPluginView, GatewaySettingsPluginView, GbDocTypeExtListView, GbDocTypeExtView, GbDocTypeListView, GeneralInfoView, GeneralInfoView, GenInfoView, GenInfoView, GlobalACLSyncMapListView, GreetingView, GroupDependenciesView, GroupedResultsView, GroupListView, GrowableListView, GuestPasswordView, HeaderAndFooterSelectorView, HeadersView, HelpURLPluginView, HistoryView, HTTPMemoryDebugView, HTTPSettingsPluginView, ImportingDocsView, ImportSettingsView, IndexingStatusPopUpView, IndexingStatusView, InheritTemplateView, IntrinsicHelpSpacePluginView, IntrinsicPortletView, IntrinsicPortletWSSettingsPluginView, IntrinsicPrefsEditorForPageletParametersView, IntrinsicProfilePluginView, IntrinsicUserPrefsPluginView, InvCodesListView, InvitationDependenciesView, InvitePortletJSView, InvitePortletJSView_D, IPAddressListView, JobDependenciesView, JobFoldersListView, JobHistoryPortletView, JobLogDisplayView, KeywordsView, LayoutSelectionView, LayoutView, LinkSettingsPlugInView, LocaleSettingsView, LocalizedStringsView, LocationView, LockboxEditorPropertiesView, LockboxListView, LockboxView, LocNamesPopUpView, LocNamesPrimaryNameView, LocNamesView, LoggingView, LoginDevicesView_HTML32, LoginDevicesView_WML, LoginFormSettingsView, LoginPortletView, LoginSettingsView, LoginView, LoginView, LogoffDevicesView_HTML32, LogoffDevicesView_WML, MainActivityRightsListView, MainView, MediumFormHeaderView, MemberAndSubCommunitiesView, MembersView, MessageDeleteView, MessageTypesView, MigrationDependencyListView, MigrationGeneralInfoView, MigrationHistoryView, MigrationLoadPackageView, MigrationResultPopupView, MigrationSelectForExportView, MigrationSelectForImportView, MigrationStatusPopupView, MultiColumnListView, MultiObjectsSecurityView, MultiObjectsSubscribeView, MWSSettingsPluginView, MyCommunitiesListView, MyCustomPortletsView, MyPageDevicesView_HTML32, MyPageDevicesView_WML, MyPortalContentView, MyPortalFooterView, MyPortalHeaderView, NavigationAccessibleAboveBodyView, NavigationAccessibleBelowBodyView, NavigationAccessibleLeftVerticalView, NavigationAdminOnly, NavigationCommSectionComboBoxView, NavigationCommSectionDropDownView, NavigationHorizontalComboBoxView, NavigationJSPortalMenuDropDownView, NavigationMandatoryLinksOnly, NavigationSimpleLeftVerticalView, NavigationTabGroupsLeftVerticalView, NavigationTabGroupsTabsView, NavigationView, NetSearchDependenciesView, NetworkSearchLaunchView, NetworkSearchLaunchView_D, NetworkSearchResultsView, NetworkSearchResultsView_D, NewLinkPopUpView, NewUserCreationView, NoCommunityAccessView, NoItemsView, NoMyPageAccessView, NumericAuthenticationView, ObjDependenciesView, ObjectLockManagerView, ObjectOwnerView, ObjectSecurityView, ObjectSelectionView, ObjectView, ObjMgrABOLinksView, ObjMgrBreadCrumbView, ObjMgrCreateFolderView, ObjMgrDeleteWarningsView, ObjMgrHeaderView, ObjMgrSearchView, ObjPropBrowseView, ObjPropEditView, ObjPropMapPluginView, ObjSelBreadCrumbView, ObjSelSearch508BodyView, ObjSelSearchFormView, ObjSelSearchHeaderView, OrganizationView, OutgoingNSDependenciesView, OutgoingNSSelectWebServiceView, PageDependenciesView, PageLayoutAlternateView, PageLayoutHeaderView, PageLayoutView, PageletParamsMapPluginView, PageListView, PageNameView, PageTemplateDependenciesView, PaginationView, PasswordRulesView, PasswordView, PChooseSelectionView, PEIView, PickTableView, PlumtreeTopBarView, PortalSettingsView, PortalURLsView, PortletBundleDependenciesView, PortletDependenciesView, PortletDevicesView_HTML32, PortletDevicesView_WML, PortletEditorHeaderView, PortletInvitationJoinView, PortletInvitationPopupView, PortletPreferencesView, PortletSelectView, PortletSettingsView, PowerSearchView, PrefsListPluginView, PreviewCommPortletListView, PreviewCommunityDescPopupView, PreviewCommunityView, PreviewPortletDescPopupView, PreviewPortletView, PriorityDropDownView, ProfilePageListView_D, ProfileSourceDependenciesView, ProfileSourceSelectWebServiceView, PropChooserView, PropDependenciesView, PropertyMapEditorMainView, PropertyMapView, ProxyConfigView, PSelectTemplateView, PTMultiColumnListView, PWSSettingsPluginView, RefreshServerStatusListView, RejectedDocsView, RelatedResourcesMorePopupView, RelatedResourcesView, RemoteAuthSource3View, RemoteAuthSource4View, RemoteAuthSourceMainView, RemoteConfigPluginView, RemoteMigrationPluginView, RemotePageletPickerPluginView, RemoteServerDependenciesView, RemoteServerPluginView, RemoteServerPropsView, ResultFormatView, RulesDebugModeView, RulesListView, SavedSearchDependenciesView, SavedSearchPortletAdminPrefsView, SavedSearchPortletView, SaveObjectCantChangeFolderView, SaveObjectMenuView, SaveObjectNameDescView, SaveObjectRecentFoldersView, SaveSearch508View, SaveSearchView, SavSrchDisplayFieldsListView, SavSrchFilterView, SavSrchResultsView, ScheduleView, SearchBannerView, SearchBoxView, SearchCriteriaView, SearchFooterView, SearchPortletView, SearchResultsView, SearchResultView, SearchServerSettingsEditorView, SearchServerSettingsPopUpView, SearchServerStatusView, SearchSettingsView, SearchSummaryView, SelectActivityRightsView, SelectAdminFolderView, SelectDevicesPluginView, SelectedObjectsView, SelectPageTemplateView, SelectPTObjectView, SelectWebServiceView, SendDocPopUpView, SendInvitationView, ServerStatusListView, SettingsView, SettingsView, SettingsView, SettingsView, SettingsView, SettingsView, SimpleSelectorView, SinglePageErrorView, SiteMapBannerView, SiteMapBreadcrumbView, SiteMapCreateFolderView, SiteMapCreateWebLinkView, SiteMapFolderPlugInView, SiteMapPortletPrefsSortedLinksView, SiteMapPortletPrefsView, SiteMapPortletView, SmartSortEditorMainView, SnapshotADConstraintsView, SnapshotKDConstraintsView, SnapshotQueryRangeView, SOAPCardSubmitAdvancedNameView, SOAPCardSubmitAdvancedURLView, SOAPEncodingPluginView, StandardFooterView, StandardHeaderView, StatusView, StylesheetView, SubCommunitiesView, SubPortalDependenciesView, SummaryURLPluginView, SWSSettingsPluginView, TagLibListView, TargetSettingsView, TargetSiteView, TemplateListView, TestFilterView, ThesaurusSettingsView, TimeoutView, TimeoutView, TimesDatesView, TipsView, ToolbarView, TreeBarView, TreeSearchBoxView, TreeSearchView, TreeSelectView, TreeView, TreeWithSearchBarView, TypeSelectorView, UniqueKeyChooserView, UpdateLoginTokenKeyView, UserDependenciesView, UserInfoPluginView, UserLockListView, UserPrefsPluginView, UsrProfDisableSiteMapView, VarPackContentView, VarPackView, WelcomeView, WSDependenciesView, WWWCardSubmitAdvancedNameView, WWWCardSubmitAdvancedURLView, XUIURLPluginView, XUIView

public interface IView
extends IMVCObject, IManagedObject

Views are responsible for generating HTML in the MVC framework. They query their model for data and build HTML from it. The links and forms in that HTML should be constructed so the Interpreter can use the controls to process events. Views should encapsulate the presentation of the AActivitySpace. As an MVC component, Views are subject to the strict separation between data, logic, and presentation. It is a requirement that Views not contain any server code other than constants (i.e. PT_PROPIDS.PT_PROPID_NAME). IPTQueryResults should not be used in Views, rather, Models should provide accesor methods for them. It is also a requirement that Views not depend on Models for HTML. Views can use helper classes (Strategies, delegation, etc...) to generate HTML, but Views should never expect a model to return an HTMLElement or HTMLConstruct to them. Models can return text Strings for display in HTMLElements. Obviously, there should be a good way to refer to views without having to manually type in a text string. There should be some sort of package identifier used to get these.

Author:
Don Hayler

Method Summary
 HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
 void Init(IModelRO model, AActivitySpace parent)
          This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject
GetName
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IManagedObject
Create
 

Method Detail

Display

HTMLElement Display()
This method returns the HTMLElement that encompasses the output of the View.


DisplayJavascript

HTMLScript DisplayJavascript()
This method returns the HTMLScript that encompasses the Javascript on the page. This method should be called by IDisplayPages and the resulting Javascript should be put in the HTMLHead element. This can return null.


Init

void Init(IModelRO model,
          AActivitySpace parent)
This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).




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