Class ADCSInstanceHelper

java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADCSInstanceHelper

public abstract class ADCSInstanceHelper extends Object
Represents a instance in the context of a change set log.
See Also:
  • Method Details

    • getChangeSetInstanceContentProtocol

      public static ARG_ChangeSetOperationValues getChangeSetInstanceContentProtocol(SrvContext srvCtx, List<? extends ELElement> seqElem, ARG_ChangeSetPeriod valPeriod) throws InoNetException, SrvErrorException
      Returns the protocol of model changes for contents of a set of elements. The changes may be restricted by a time period.
      Parameters:
      srvCtx - The context of the related innovator server.
      seqElem - list of selected elements
      valPeriod - restrict the list of change set operations by time
      Throws:
      InoNetException
      SrvErrorException
    • getChangeSetInstanceProtocol

      public static ARG_ChangeSetOperationValues getChangeSetInstanceProtocol(SrvContext srvCtx, List<? extends ELElement> seqElem, ARG_ChangeSetPeriod valPeriod) throws InoNetException, SrvErrorException
      Returns the protocol of model changes for a set of elements. The changes may be restricted by a time period.
      Parameters:
      srvCtx - The context of the related innovator server.
      seqElem - list of selected elements
      valPeriod - restrict the list of change set operations by time
      Throws:
      InoNetException
      SrvErrorException
    • getChangeSetInstanceTransitiveContentProtocol

      public static ARG_ChangeSetOperationValues getChangeSetInstanceTransitiveContentProtocol(SrvContext srvCtx, List<? extends ELElement> seqElem, ARG_ChangeSetPeriod valPeriod) throws InoNetException, SrvErrorException
      Returns the protocol of model changes for transitive contents of a set of elements. The changes may be restricted by a time period.
      Parameters:
      srvCtx - The context of the related innovator server.
      seqElem - list of selected elements
      valPeriod - restrict the list of change set operations by time
      Throws:
      InoNetException
      SrvErrorException
    • getFindDeletedElements

      public static ARG_FindDeletedElements getFindDeletedElements(SrvContext srvCtx, String name, boolean isSearchByPattern, Class<? extends ELObject> kVOcl, Date lStartTime, Date lEndTime) throws InoNetException, SrvErrorException
      Searches in change log for deleted elements.
      Parameters:
      srvCtx - The context of the related innovator server.
      name - name of the deleted element
      isSearchByPattern - Take name as base for an pattern based, case insensitive search
      kVOcl - meta class of the searched element
      lStartTime - find only elements deleted after this timestamp
      lEndTime - find only elements deleted before this timestamp
      Throws:
      InoNetException
      SrvErrorException
    • getInstancesProtocols

      public static ARG_ChangeSetOperationValues getInstancesProtocols(SrvContext srvCtx, List<? extends ELElement> seqElem, ARG_ChangeSetPeriod valPeriod, boolean showProtocol, boolean showProtocolTransitive, boolean showContent, boolean showContentTransitive) throws InoNetException, SrvErrorException
      Returns the protocol of model changes for a set of elements or contens of the elements. The protocol may be evaluated for transitive contents of the elements. The changes may be restricted by a time period.
      Parameters:
      srvCtx - The context of the related innovator server.
      seqElem - list of selected elements
      valPeriod - restrict the list of change set operations by time
      showProtocol - true if the instance protocol is required
      showProtocolTransitive - true if the instance protocol of all transitive contents is required
      showContent - true if the instances content history is required
      showContentTransitive - true if the instances content history of all transitive contents is required
      Throws:
      InoNetException
      SrvErrorException