Uiinfrastructure API Docs  
 

AActivitySpace Members

AActivitySpace overview

Public Instance Methods

iconChangeSubSpaceKey Changes the key of a sub space.
iconCheckBasicAccess 
iconCleanupAllData This method is called when an ActivitySpace is removed from the cache. This method then calls IModel.CleanupAllData() on all IModels registered using RegisterModel(). This method is intended for releasing data stored in the server when the activity space is no longer needed, such as search objects that need to be maintained as long as the user is clicking through the search, but should be freed when the space can no longer be used. This can be used to prevent Java references to COM memory from hanging around in the long lived Java heap without cleaning up the underlying COM memory. The Java reference will still stay in the long lived heap until it gets garbage collected (which could be a while), but the COM memory should get released here. This method will not be called if an HTTPSession times out. CleanupTempData will be called before CleanupAllData.
iconCleanupTempData This method is called at the end of every HTTP request by the Interpreter. This method then calls IModel.CleanupTempData() on all IModels registered using RegisterModel(). This method is intended for cleaning up temporary data that is only used for the lifetime of a single request, like DB query results.
iconCreate This method is used by the ASManager to return new instances of managed objects.
iconDeleteSubSpace Delete the specified Sub-space and remove it from the Activity Space cache. This is permanent! The sub-space key is different from the space ID.
iconEquals (inherited from Object)Determines whether the specified Object is equal to the current Object.
iconGetAccessStyle This method returns the current access style (i.e. Section 508 compliance, low bandwidth, or standard).
iconGetApplication Return the Application.
iconGetControl Return the requested Control. This method should probably wrap control objects in aggregating control objects to do page specific tasks. In other words, the default package control should have no page specific knowledge.
iconGetControlExists This method checks whether or not a specific control exists in this AActivitySpace.
iconGetControlsEnumerator Return an Enumerator for the registered controls.
iconGetCurrentFormData JF- Returns the current name/value pairs from the Request. (This for PEI use only.)
iconGetCurrentHTTPRequest Return the HTTP Request for the current request.
iconGetCurrentHTTPResponse Return the HTTP Response for the current request.
iconGetCurrentNormalizedBaseURL Return the normalized base url of the current request. The normalized base url is essentially the request url up to and including the '?'.
iconGetCurrentPage Return the most recent DisplayPage.
iconGetCurrentRequestURL Return the full url of the current request.
iconGetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
iconGetHelpTopic 
iconGetIsAccessStyleNonStandard Return true if the current access style is not STANDARD (it is SECTION_508 or LOW_BANDWIDTH) otherwise return false.
iconGetIsAccessStyleStandard Return true if the current access style is STANDARD otherwise return false.
iconGetIsInPlaceRefreshDisplayOn This method is used to return whether Display Pages should currently be displaying in place content instead of their normal content.
iconGetIsInPlaceRefreshEnabled This method is used to return whether this Activity Space has in place refresh enabled. If it is enabled, then we can, for example, include the JavaScript for JSXML. This method should be used carefully in shared components because if shared components use this method, then any time you add any in-place to an AS, you will have to implement it for all the shared components. Shared components that require you to implement a partial content display method should use another way to determine if they should be enabled or not.
iconGetIsSecuredSpace This method is used to return whether or not this space is secured (SSL) or not (regular HTTP).
iconGetLanguage Gets the current language of the user. I.E. en, fr, jp
iconGetLocale Gets the current locale of the user. I.E. en-us, en-gb, fr-fr, jp-jp
iconGetModel Return the requested Model.
iconGetModelExists This method checks whether or not a specific model exists in this AActivitySpace.
iconGetModelsEnumerator Return an Enumerator for the registered models.
iconGetName This method is used to identify the type of this space.
iconGetPage Return the requested DisplayPage.
iconGetPageExists This method checks whether or not a specific page exists in this AActivitySpace.
iconGetPagesEnumerator Return an Enumerator for the registered pages.
iconGetParentSpace Return the parent AActivitySpace. If there is no parent space, this will return null.
iconGetParentSpaceID Return the space ID of the parent AActivitySpace. If there is no parent space, this will return null.
iconGetParentSpaceName Return the name of the parent AActivitySpace. If there is no parent space, this will return null.
iconGetPersistentSubSession Returns the persistent subsession that the AActivitySpace can use to store cross-space data for use across multiple login/logout cycles. This SubSession is not cleared of its data on logout, so be sure not to cache anything on this session that could be considered a security risk if it was leaked to another user. Most developers should use the normal subsession (GetSubSession()) for cross-space data storage. This is currently only used when editing the default profiles.
iconGetResourceManager Return the XPResourceManager AActivitySpace.GetString() and the static method XPResourceManager.FormatString() should be used instead.
iconGetSpaceID Return the unique space ID for this AActivitySpace.
iconGetString This method gets localized strings for an internationalized string file based on the user's locale. Available string files:
iconGetStyleSheetLinks Figure out the style sheet; this method can be overriden by classes that require a special style sheet.
iconGetSubSession Returns the subsession that the AActivitySpace can use to store cross-space data. This also provides access to the ASCache object (ASConstants.SANDBOXASCACHE). This SubSession is cleared of all data on logout.
iconGetSubSpace Return the requested Sub-space. The sub-space key is different from the space ID.
iconGetSubSpaceExists This method checks whether or not a specific sub-space exists in this AActivitySpace.
iconGetSubSpaceKey Returns the sub-space key. If this is null, this is not a sub-space. This key is used by the parent AActivitySpace to identify sub-spaces (in case there are multiple instances of the same type of sub-space). The sub-space key is different from the space ID.
iconGetSubSpacesEnumerator Return an Enumerator for the registered sub-spaces.
iconGetTimeZone Gets the time zone of the current user. I.E. TODO
iconGetType (inherited from Object)Gets the Type of the current instance.
iconGetUserSession Return the user's Session. This is a generic Object that can be used for different kinds of sessions. This will have to be cast to the correct type of session (IPTSession for the portal).
iconGetVarPack Helper method to access Variable Packages.
iconGetView Return the requested View.
iconGetViewExists This method checks whether or not a specific view exists in this AActivitySpace.
iconGetViewsEnumerator Return an Enumerator for the registered views.
iconInit Initialize the Activity Space. This method is called after common attributes like ID, parent, session, application, etc... are set. Get methods are not valid until this method is called. This method should be overridden and called as super.Init();
iconIsSubSpace Returns whether or not this space is a sub-space.
iconrefString This creates a reference to a long query string parameter. Currently only the tree knows how to unreference this for certain parameters.
iconRegisterControlOverloaded. This method registers the control so the AActivitySpace can manage it automatically. It also initializes it with the IModel argument. This operation will fail and return false if the control is null or if there is already a control with the same name registered with the AActivitySpace.
iconRegisterModelOverloaded. This method registers and initializes the model so the AActivitySpace can manage it automatically. This operation will fail and return false if the model is null or if there is already a model with the same name registered with the AActivitySpace.
iconRegisterPageOverloaded. This method registers the IDisplayPage so the AActivitySpace can manage it automatically. It also initializes it with the AActivitySpace argument. This operation will fail and return false if the IDisplayPage is null or if there is already a IDisplayPage with the same name registered with the AActivitySpace. The first DisplayPage will be set as the current IDisplayPage.
iconRegisterSubSpace Registers the Sub-space. The sub-space key is different from the space ID.
iconRegisterViewOverloaded. This method registers the view so the AActivitySpace can manage it automatically. It also initializes it with the IModel and AActivitySpace arguments. This operation will fail and return false if the view is null or if there is already a view with the same name registered with the AActivitySpace.
iconReInit Re-Initialize the Activity Space in case models are holding on to an old session.
iconSetApplication Sets the Application. This method must be called before Init();
iconSetCurrentFormData JF- Sets the hastable with the name/value pairs from XPRequest. (This for PEI use only.) This method must be called at the beginning of every request.
iconSetCurrentHTTPRequestResponseObjects Sets the HTTP Request and Response Objects for the current request. This method must be called at the beginning of every request.
iconSetCurrentPage Set the current page for this AActivitySpace. If this AActivitySpace only has one IDisplayPage, the current page will automatically be set to that IDisplayPage. If current page tracking is on (off by default), the Interpeter will set the current page to be the most recently accessed page.
iconSetCurrentRequestURL Sets the current Request URL and computes the normalized base url. This method must be called at the beginning of every request.
iconSetHelpTopic 
iconSetIsASSecured Should be set to the request secure flag (IsSecureConnection). This method must be called before Init();
iconSetIsInPlaceRefreshDisplayOn This method is used to determin whether Display Pages should currently be displaying in place content instead of their normal content.
iconSetIsInPlaceRefreshEnabled This method is used to determine whether this Activity Space has in place refresh enabled. If it is enabled, then we can, for example, include the JavaScript for JSXML. This method should be used carefully in shared components because if shared components use this method, then any time you add any in-place to an AS, you will have to implement it for all the shared components. Shared components that require you to implement a partial content display method should use another way to determine if they should be enabled or not.
iconSetOverWriteSubSpaces This method turns on and off overwriting of sub-spaces when they register with this AActivitySpace. If bOverWrite is false, the space will give an error and ignore requests to overwrite a sub-space. This is the default state.
iconSetParentSpace Set the name and ID of the parent AActivitySpace (i.e. the one that launched this space). If there is no parent space, then this method does not need to be called.
iconSetPersistentSubSession Sets the persistent subsession that the AActivitySpace can use to store cross-space data across multiple login/logout cycles. This SubSession will not be cleared on logout. This method must be called before Init();
iconSetSpaceID Sets the unique space ID for this AActivitySpace. This method must be called before Init();
iconSetSubSession Sets the subsession that the AActivitySpace can use to store cross-space data. This SubSession will be cleared on logout. This method must be called before Init();
iconSetSubSpaceKey Sets the sub-space key. If this is null, this is not a sub-space. By default, spaces are not sub-spaces. This key is used by the parent AActivitySpace to identify sub-spaces (in case there are multiple instances of the same type of sub-space). The sub-space key is different from the space ID.
iconSetTrackCurrentPage This method turns on and off automatic tracking of the current IDisplayPage. The Interpreter calls SetCurrentPage at the end of every request with the most recently viewed IDisplayPage. If bTrack is false, MainAS will ignore this information. This is the default state.
iconSetUserSession Set the user's Session. This is a generic object that can be used for different kinds of user sessions. For the portal it is an IPTSession. This will be called before Init() and CheckBasicAccess() are called.
iconToString (inherited from Object)Returns a String that represents the current Object.
iconunrefString This unreferences a key to a long query string parameter
iconUnRegisterControl Un-registers the requested control (removes it from AActivitySpace)
iconUnRegisterModel Un-registers the requested model (removes it from AActivitySpace)
iconUnRegisterPage Un-registers the requested view (removes it from AActivitySpace)
iconUnRegisterView Un-registers the requested view (removes it from AActivitySpace)

Protected Instance Constructors

icon AActivitySpace Constructor Initializes a new instance of the AActivitySpace class.

Protected Instance Fields

iconm_stringReferences This hashtable is used to store references to extremely long query string parameters. e.g. hide lists to tree control Only certain parts of the tree control know how to use this.

Protected Instance Methods

iconFinalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
iconMemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

AActivitySpace Class | com.plumtree.uiinfrastructure.activityspace Namespace