Class PTCommonOpener

Object
   |
   +--PTCommonOpener

class 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 handleRenameResponse(resp)
           Method processed after the AJAX call to rename an object completes.
  public static function hideStatus()
           Method that hides the status bar
  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.
  public static function removeHTMLComments(html)
           The portal adds performance comments to AJAX calls.
  public static function renamePTObject(_nClassID, _nObjectID, _strOldName, _strNewName)
           Method to make an AJAX call that renames an object given a specific ClassID/ObjectID pair.
  public static function showDisplayField(classid, objectid)
           Method that hides the rename text field and shows the display field for a particular ClassID/ObjectID pair
  public static function showRenameField(classid, objectid)
           Method that hides the display field and shows a rename text field for a particular ClassID/ObjectID pair
  public static function showStatus(message, isError)
           Method that hides the rename text field and shows the display field for a particular ClassID/ObjectID pair

Constructor Detail

PTCommonOpener

function PTCommonOpener()

Method Detail

getFirstQSArg

  public static function getFirstQSArg(_strArgName, _strArgValue)

getOpenerURL

  public static function getOpenerURL(_strQSArgs, _nOpenerMode, _strApplicationBaseURL, _nUserID)

getOpenerURLCreate

  public static function getOpenerURLCreate(_nClassID, _nFolderID, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)

getOpenerURLCreateExt

  public static function getOpenerURLCreateExt(_nClassID, _nFolderID, _strProvEnglishName, _nDataSourceID, _nWebServiceID, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)

getOpenerURLOpenAS

  public static function getOpenerURLOpenAS(_strASName, _strOptQSArgs, _nOpenerMode, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)

getOpenerURLOpenObjID

  public static function getOpenerURLOpenObjID(_nClassID, _nObjectID, _strOptQSArgs, _nOpenerMode, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)

getOpenerURLOpenUUID

  public static function getOpenerURLOpenUUID(_strUUID, _strOptQSArgs, _strParentSpaceName, _strParentSpaceID, _strApplicationBaseURL, _nUserID)

getQSArg

  public static function getQSArg(_strArgName, _strArgValue)

handleRenameResponse

  public static function handleRenameResponse(resp)

hideStatus

  public static function hideStatus()

openInNewWindow

  public static function openInNewWindow(_strURL, _strWindowName, _strWidth, _strHeight, _bIsFancyWindow)

openInSameWindow

  public static function openInSameWindow(_strURL)

removeHTMLComments

  public static function removeHTMLComments(html)

renamePTObject

  public static function renamePTObject(_nClassID, _nObjectID, _strOldName, _strNewName)

showDisplayField

  public static function showDisplayField(classid, objectid)

showRenameField

  public static function showRenameField(classid, objectid)

showStatus

  public static function showStatus(message, isError)