com.ibm.commerce.contentmanagement.workspace

Class WorkspaceUtility

  • java.lang.Object
    • com.ibm.commerce.contentmanagement.workspace.WorkspaceUtility


  • public class WorkspaceUtility
    extends java.lang.Object
    Workspace Utility provides reusable functions for workspaces
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CLASSNAME
      Define the CLASSNAME.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getTaskGroupIdentifier(TaskContext taskContext)
      This method returns the task group identifier from a TaskContext object
      static java.lang.String getTaskGroupServiceIdentifier(java.lang.Long taskGroupId)
      Given a task group process flow ID, this method will return the task group identifier needed by the service API.
      static java.lang.String getTaskIdentifier(TaskContext taskContext)
      This method returns the task identifier from a TaskContext object
      static java.lang.String getTaskServiceIdentifier(java.lang.Long taskId)
      Given a task process flow ID, this method will return the task identifier needed by the service API.
      static java.lang.String getWorkspaceIdentifier(ContentContext context)
      This method returns the workspace identifier from a ContentContext object
      static java.lang.String getWorkspaceServiceIdentifier(java.lang.Long workspaceId)
      Given a workspace process flow ID, this method will return the workspace identifier needed by the service API.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CLASSNAME

        public static final java.lang.String CLASSNAME
        Define the CLASSNAME.
        See Also:
        Constant Field Values
    • Method Detail

      • getWorkspaceServiceIdentifier

        public static java.lang.String getWorkspaceServiceIdentifier(java.lang.Long workspaceId)
        Given a workspace process flow ID, this method will return the workspace identifier needed by the service API.
        Parameters:
        workspaceId - A workspace ID
        Returns:
        A workspace service identifier
      • getTaskGroupServiceIdentifier

        public static java.lang.String getTaskGroupServiceIdentifier(java.lang.Long taskGroupId)
        Given a task group process flow ID, this method will return the task group identifier needed by the service API.
        Parameters:
        taskGroupId - A task group id
        Returns:
        A task group service identifier
      • getTaskServiceIdentifier

        public static java.lang.String getTaskServiceIdentifier(java.lang.Long taskId)
        Given a task process flow ID, this method will return the task identifier needed by the service API.
        Parameters:
        taskId - A Task id
        Returns:
        A task service identifier
      • getTaskIdentifier

        public static java.lang.String getTaskIdentifier(TaskContext taskContext)
        This method returns the task identifier from a TaskContext object
        Parameters:
        taskContext -
        Returns:
        the task identifier without the T_ character
      • getTaskGroupIdentifier

        public static java.lang.String getTaskGroupIdentifier(TaskContext taskContext)
        This method returns the task group identifier from a TaskContext object
        Parameters:
        taskContext -
        Returns:
        the task group identifier without the G_ character
      • getWorkspaceIdentifier

        public static java.lang.String getWorkspaceIdentifier(ContentContext context)
        This method returns the workspace identifier from a ContentContext object
        Parameters:
        context -
        Returns:
        the workspace identifier without the W_ character