|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.taskapi.portalui.TaskAPIUIDirectory
public class TaskAPIUIDirectory
Knowledge Directory related TaskAPI functions. Use TaskAPIDirectoryService.GetInstance() instead.
Constructor Summary | |
---|---|
TaskAPIUIDirectory()
|
Method Summary | |
---|---|
static IPTURL |
CreateCommonOpenerDirectoryFolderURL(AActivitySpace owner,
java.lang.String strTitle,
int nDirMode,
int nFolderID)
Gets an URL to open a specified Knowledge Directory folder in the selected mode. |
static IPTURL |
CreateCommonOpenerDirectoryFolderURL(AActivitySpace owner,
java.lang.String strTitle,
int nDirMode,
int nFolderID,
java.lang.String strFolderName)
Gets an URL to open a specified Knowledge Directory folder in the selected mode. |
static IPTURL |
CreateCommonOpenerDocumentURL(AActivitySpace owner,
java.lang.String strTitle,
int nDocumentID)
Gets an URL to open a specified Document in the Knowledge Directory. |
static IPTURL |
CreateCommonOpenerDocumentURL(AActivitySpace owner,
java.lang.String strTitle,
int nDocumentID,
java.lang.String strDocumentName)
Gets an URL to open a specified Document in the Knowledge Directory. |
static IPTURL |
GetURLForBrowseDirectory(AActivitySpace owner,
int nFolderID)
Gets the URL to the specified Knowledge Directory in Browse Mode. |
static IPTURL |
GetURLForEditDirectory(AActivitySpace owner,
int nFolderID)
Gets the URL to the specified Knowledge Directory in Edit Mode. |
static boolean |
IsCurrentPageDirectoryPage(AActivitySpace owner)
Checks if the current page is a Knowledge Directory page. |
static boolean |
IsDirectoryFeaturedEnabledInSubPortal(AActivitySpace owner)
Checks if the Knowledge Directory feature is enabled in the current Experience Definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskAPIUIDirectory()
Method Detail |
---|
public static boolean IsDirectoryFeaturedEnabledInSubPortal(AActivitySpace owner)
owner
- Current Activityspace.
true
Knowledge Directory feature is enabled, false
otherwise.public static IPTURL GetURLForBrowseDirectory(AActivitySpace owner, int nFolderID)
owner
- Current Activityspace.nFolderID
- Object ID of a Knowledge Directory folder to create an URL to.
IPTURL
with the URL to the specified folder in Knowledge Directory Browse Mode,
or null
if the URL is not valid in the current context.public static IPTURL GetURLForEditDirectory(AActivitySpace owner, int nFolderID)
owner
- Current Activityspace.nFolderID
- Object ID of a Knowledge Directory folder to create an URL to.
IPTURL
with the URL to the specified folder in Knowledge Directory Edit Mode,
or null
if the URL is not valid in the current context.public static IPTURL CreateCommonOpenerDirectoryFolderURL(AActivitySpace owner, java.lang.String strTitle, int nDirMode, int nFolderID)
owner
- Current Activityspace.strTitle
- Title of the URL, normally the name of the folder to open.nDirMode
- DirConstants.BROWSE_MODE or DirConstants.EDIT_MODEnFolderID
- Object ID of the Knowledge Directory Folder to get an URL to.
IPTURL
to a folder in the Knowledge Directory - no image is assigned to the URL.DirConstants
public static IPTURL CreateCommonOpenerDirectoryFolderURL(AActivitySpace owner, java.lang.String strTitle, int nDirMode, int nFolderID, java.lang.String strFolderName)
owner
- Current Activityspace.strTitle
- Title of the URL, normally the name of the folder to open.nDirMode
- DirConstants.BROWSE_MODE or DirConstants.EDIT_MODEnFolderID
- Object ID of the Knowledge Directory Folder to get an URL to.
IPTURL
to a folder in the Knowledge Directory - no image is assigned to the URL.DirConstants
public static IPTURL CreateCommonOpenerDocumentURL(AActivitySpace owner, java.lang.String strTitle, int nDocumentID)
owner
- Current Activityspace.strTitle
- Title of the URL, normally the name of the Document to open.nDocumentID
- Object ID of the Document to get an URL to.
public static IPTURL CreateCommonOpenerDocumentURL(AActivitySpace owner, java.lang.String strTitle, int nDocumentID, java.lang.String strDocumentName)
owner
- Current Activityspace.strTitle
- Title of the URL, normally the name of the Document to open.nDocumentID
- Object ID of the Document to get an URL to.strDocumentName
- Name of the document.
public static boolean IsCurrentPageDirectoryPage(AActivitySpace owner)
owner
- Current Activityspace.
true
if the current page us a Knowledge Directory page, false
otherwise.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |