Class ADCSInstanceHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADCSInstanceHelper
Represents a instance in the context of a change set log.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ARG_ChangeSetOperationValuesgetChangeSetInstanceContentProtocol(SrvContext srvCtx, List<? extends ELElement> seqElem, ARG_ChangeSetPeriod valPeriod) Returns the protocol of model changes for contents of a set of elements.static ARG_ChangeSetOperationValuesgetChangeSetInstanceProtocol(SrvContext srvCtx, List<? extends ELElement> seqElem, ARG_ChangeSetPeriod valPeriod) Returns the protocol of model changes for a set of elements.static ARG_ChangeSetOperationValuesgetChangeSetInstanceTransitiveContentProtocol(SrvContext srvCtx, List<? extends ELElement> seqElem, ARG_ChangeSetPeriod valPeriod) Returns the protocol of model changes for transitive contents of a set of elements.static ARG_FindDeletedElementsgetFindDeletedElements(SrvContext srvCtx, String name, boolean isSearchByPattern, Class<? extends ELObject> kVOcl, Date lStartTime, Date lEndTime) Searches in change log for deleted elements.static ARG_ChangeSetOperationValuesgetInstancesProtocols(SrvContext srvCtx, List<? extends ELElement> seqElem, ARG_ChangeSetPeriod valPeriod, boolean showProtocol, boolean showProtocolTransitive, boolean showContent, boolean showContentTransitive) Returns the protocol of model changes for a set of elements or contens of the elements.
-
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 elementsvalPeriod- restrict the list of change set operations by time- Throws:
InoNetExceptionSrvErrorException
-
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 elementsvalPeriod- restrict the list of change set operations by time- Throws:
InoNetExceptionSrvErrorException
-
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 elementsvalPeriod- restrict the list of change set operations by time- Throws:
InoNetExceptionSrvErrorException
-
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 elementisSearchByPattern- Take name as base for an pattern based, case insensitive searchkVOcl- meta class of the searched elementlStartTime- find only elements deleted after this timestamplEndTime- find only elements deleted before this timestamp- Throws:
InoNetExceptionSrvErrorException
-
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 elementsvalPeriod- restrict the list of change set operations by timeshowProtocol- true if the instance protocol is requiredshowProtocolTransitive- true if the instance protocol of all transitive contents is requiredshowContent- true if the instances content history is requiredshowContentTransitive- true if the instances content history of all transitive contents is required- Throws:
InoNetExceptionSrvErrorException
-