Interface IBusinessCase

    • Method Detail

      • subCases

        ISubCases subCases()
        Gets the sub cases that belong to this business case.
        Returns:
        all (sub) cases of this business case
        Since:
        6.5
        API:
        This public API is available in IvyScript and Java. It has the visibility ADVANCED.
      • getWorkingTime

        Duration getWorkingTime()
        The working time of a business case is the sum of all working times of all tasks of all sub cases.
        Specified by:
        getWorkingTime in interface ICase
        Returns:
        Working time as Duration.
        Returns null for the following situations:
        • no task has been parked or completed
        • the case has been completed before the working time feature was introduced.
        See Also:
        ICase.getWorkingTime()
        API:
        This public API is available in IvyScript and Java. It has the visibility EXPERT.
      • destroy

        void destroy()
        Destroys this business case and all sub cases that belong to business case. Destroys also all tasks that belong to any of the sub cases of the business case.
        Specified by:
        destroy in interface ICase
        See Also:
        ICase.destroy()
        API:
        This public API is available in IvyScript and Java. It has the visibility EXPERT.
        Security:
        SESSION OWNS CaseDestroy PERMISSION OR OWNS CaseDestroy@SYSTEM PERMISSION
      • getStageId

        StageId getStageId()
        Returns the id of the current stage of this IBusinessCase. Never null.
        Returns:
        id of the current stage
        Since:
        6.6
        API:
        This public API is available in IvyScript and Java. It has the visibility ADVANCED.
      • setStageId

        void setStageId​(String stageId)
        Sets the current stage of this IBusinessCase to the given stage id.
        Parameters:
        stageId - id of the stage
        Since:
        6.6
        API:
        This public API is available in IvyScript and Java. It has the visibility ADVANCED.
      • setStageId

        void setStageId​(StageId stageId)
        Sets the current stage of this IBusinessCase to the given stage id.
        Parameters:
        stageId - id of the stage
        Since:
        6.7
        API:
        This public API is available in IvyScript and Java. It has the visibility ADVANCED.
      • getStartedFrom

        IWebStartable getStartedFrom()
        Gets the web startable that started the case. It can be a process start or a CaseMap start. It can return startables that are not startable anymore because a project is not released on the engine anymore.
        Returns:
        web startable the case was started with
        Since:
        9.3
        API:
        This public API is available in IvyScript and Java. It has the visibility ADVANCED.