Interface CaseFileInstance

  • All Superinterfaces:
    org.kie.api.runtime.process.CaseData
    All Known Implementing Classes:
    CaseFileInstanceImpl

    public interface CaseFileInstance
    extends org.kie.api.runtime.process.CaseData
    Represent contextual data of a given Case
    • Method Detail

      • getCaseId

        String getCaseId()
        Returns case id this case file is associated with.
        Returns:
      • getCaseStartDate

        Date getCaseStartDate()
        Returns start date of the associated case
        Returns:
      • getCaseEndDate

        Date getCaseEndDate()
        Returns end date of the associated case
        Returns:
      • getCaseReopenDate

        Date getCaseReopenDate()
        Returns reopen date of the associated case
        Returns:
      • addAll

        void addAll​(Map<String,​Object> data)
        Adds all elements of data collection to existing case file (replacing already existing data that matches with input)
        Parameters:
        data -
      • remove

        void remove​(CaseFileDataFilter filter)
        Remove permanently all data from existing case file that matches given filter
        Parameters:
        filter -
      • removeAll

        void removeAll()
        Removes permanently all data, which is essentially a clear of the entire case file