|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--PTCommonOpener
PTCommonOpener object constructor
Defined in ptcommonopener.js
Constructor Summary |
|
PTCommonOpener
()
|
|
Method Summary |
|
public
static
function
|
getFirstQSArg(_strArgName, _strArgValue)
Helper that constructs the first QS argument. |
public
static
function
|
getOpenerURL(_strQSArgs, _nOpenerMode, _strApplicationBaseURL, _nUserID)
Generic method to create an Opener URL. |
public
static
function
|
getOpenerURLCreate(_nClassID, _nFolderID, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)
Method to get an URL to create an object of the specified class using the Opener. |
public
static
function
|
getOpenerURLCreateExt(_nClassID, _nFolderID, _strProvEnglishName, _nDataSourceID, _nWebServiceID, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)
Method to get an URL to create an extensible object of the specified class using the Opener. |
public
static
function
|
getOpenerURLOpenAS(_strASName, _strOptQSArgs, _nOpenerMode, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)
Method to get an URL that opens the specified Activity Space using the Opener. |
public
static
function
|
getOpenerURLOpenObjID(_nClassID, _nObjectID, _strOptQSArgs, _nOpenerMode, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)
Method to get an URL that opens the specified object using the Opener using a ClassID/ObjectID pair. |
public
static
function
|
getOpenerURLOpenUUID(_strUUID, _strOptQSArgs, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)
Method to get an URL that opens the specified object using the Opener using a UUID. |
public
static
function
|
getQSArg(_strArgName, _strArgValue)
Helper that constructs a QS argument. |
public
static
function
|
openInNewWindow(_strURL, _strWindowName, _strWidth, _strHeight, _bIsFancyWindow)
Helper that opens the specified URL in a new window. |
public
static
function
|
openInSameWindow(_strURL)
Helper that opens the specified URL in the current window. |
Constructor Detail |
function PTCommonOpener()
Method Detail |
public
static
function
getFirstQSArg(_strArgName, _strArgValue)
_strArgName - Query string name
_strArgValue - Query string value
public
static
function
getOpenerURL(_strQSArgs, _nOpenerMode, _strApplicationBaseURL, _nUserID)
_strQSArgs - Initial query string arguments.
_nOpenerMode - Mode to open object in (see com.plumtree.uiifrastructure.opener.IOpenerConstants).
_strApplicationBaseURL - Application Base URL String
_nUserID - User ID to append to the URL.
public
static
function
getOpenerURLCreate(_nClassID, _nFolderID, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)
_nClassID - Classid for the object to open (See com.plumtree.server.PT_CLASSIDS & com.plumtree.portaluiinfrastructure.classtypedescriptors.classtypes.*). Argument must be a valid Class ID.
_nFolderID - Argument must be a valid Folder ID and the folder ID associated with the object.
_strParentSpaceName - Parent Activity Space Name (see com.plumtree.uiinfrastructure.activityspace)
_strParentSpaceID - Parent Space ID (see com.plumtree.uiinfrastructure.activityspace).
_strApplicationBaseURL - Application Base URL String.
_nUserID - User ID to append to the URL.
public
static
function
getOpenerURLCreateExt(_nClassID, _nFolderID, _strProvEnglishName, _nDataSourceID, _nWebServiceID, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)
_nClassID - Classid for the object to open (See com.plumtree.server.PT_CLASSIDS & com.plumtree.portaluiinfrastructure.classtypedescriptors.classtypes.*)
_nFolderID - Argument must be a valid Folder ID and the folder ID associated with the object.
_strProvEnglishName - English name of the Provider (see com.plumtree.portaluiinfrastructure.classtypedescriptors.providerframework)
_nDataSourceID - Datasource ID for this object.
_nWebServiceID - Webservice ID for this object.
_strParentSpaceName - Parent Activity Space Name (see com.plumtree.uiinfrastructure.activityspace)
_strParentSpaceID - Parent Space ID (see com.plumtree.uiinfrastructure.activityspace)
_strApplicationBaseURL - Application Base URL String
_nUserID - User ID to append to the URL.
public
static
function
getOpenerURLOpenAS(_strASName, _strOptQSArgs, _nOpenerMode, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)
_strASName - Name of the ActivitySpace to open.
_strOptQSArgs - Additional arbitrary Query String arguments.
_nOpenerMode - Mode to open object in (see com.plumtree.uiifrastructure.opener.IOpenerConstants).
_strParentSpaceName - Parent Activity Space Name (see com.plumtree.uiinfrastructure.activityspace)
_strParentSpaceID - Parent Space ID (see com.plumtree.uiinfrastructure.activityspace)
_strApplicationBaseURL - Application Base URL String
_nUserID - User ID to append to the URL.
public
static
function
getOpenerURLOpenObjID(_nClassID, _nObjectID, _strOptQSArgs, _nOpenerMode, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)
_nClassID - Classid for the object to open (See com.plumtree.server.PT_CLASSIDS & com.plumtree.portaluiinfrastructure.classtypedescriptors.classtypes.*)
_nObjectID - ID of the object to open.
_strOptQSArgs - Additional arbitrary Query String arguments.
_nOpenerMode - Mode to open object in (see com.plumtree.uiifrastructure.opener.IOpenerConstants).
_strParentSpaceName - Parent Activity Space Name (see com.plumtree.uiinfrastructure.activityspace)
_strParentSpaceID - Parent Space ID (see com.plumtree.uiinfrastructure.activityspace)
_strApplicationBaseURL - Application Base URL String
_nUserID - User ID to append to the URL.
public
static
function
getOpenerURLOpenUUID(_strUUID, _strOptQSArgs, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)
_strUUID - UUID of the object to open.
_strOptQSArgs - Additional arbitrary Query String arguments.
_strParentSpaceName - Parent Activity Space Name (see com.plumtree.uiinfrastructure.activityspace)
_strParentSpaceID - Parent Space ID (see com.plumtree.uiinfrastructure.activityspace)
_strApplicationBaseURL - Application Base URL String
_nUserID - User ID to append to the URL.
public
static
function
getQSArg(_strArgName, _strArgValue)
_strArgName - Query String argument name
_strArgValue - Query String argument value
public
static
function
openInNewWindow(_strURL, _strWindowName, _strWidth, _strHeight, _bIsFancyWindow)
_strURL - URL to open
_strWindowName - Name of the window to open
_strWidth - Width of window
_strHeight - height of window
_bIsFancyWindow - PTWindow Util fancy or not.
public
static
function
openInSameWindow(_strURL)
_strURL - URL (as a String) to open.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||