Class ResModelChangeOperationsWebService


  • public class ResModelChangeOperationsWebService
    extends AbstractSubResourceWebService<de.aristaflow.adept2.core.resmodelmanager.ResModelChangeOperations>
    See Also:
    ResModelChangeOperations
    • Field Detail

      • rmf

        protected final de.aristaflow.adept2.model.resourcemodel.builder.ResourceModelFactory rmf
    • Method Detail

      • startChangeTransaction

        @NotNull
        public @NotNull UUID startChangeTransaction​(@NotNull @Valid
                                                    @NotNull @Valid SessionToken session)
                                             throws ParameterException
        Throws:
        ParameterException
        See Also:
        ResModelChangeOperations.startChangeTransaction(de.aristaflow.adept2.base.sessionmanagement.SessionToken)
      • rollbackChangeTransaction

        public void rollbackChangeTransaction​(@NotNull @Valid
                                              @NotNull @Valid SessionToken session,
                                              @NotNull
                                              @NotNull UUID transaction)
                                       throws ParameterException
        Throws:
        ParameterException
        See Also:
        ResModelChangeOperations.rollbackChangeTransaction(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID)
      • addResourceTo

        @Valid
        public @Valid Resource addResourceTo​(@NotNull @Valid
                                             @NotNull @Valid SessionToken session,
                                             @NotNull
                                             @NotNull UUID transaction,
                                             @NotNull @Valid
                                             @NotNull @Valid Resource res,
                                             String parentId)
                                      throws ParameterException
        Throws:
        IllegalArgumentException - If the designated transaction or the designated parent ID does not exist (and is not null) or there are problems transforming the designated resource, an IllegalArgumentException will be thrown.
        ParameterException
        See Also:
        ResModelChangeOperations.addResourceTo(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID, de.aristaflow.adept2.model.resourcemodel.Resource, String)
      • updateResourceAttributes

        @Valid
        public @Valid Resource updateResourceAttributes​(@NotNull @Valid
                                                        @NotNull @Valid SessionToken session,
                                                        @NotNull
                                                        @NotNull UUID transaction,
                                                        @NotNull @Valid
                                                        @NotNull @Valid Resource res)
                                                 throws ParameterException
        Throws:
        IllegalArgumentException - If the designated transaction or the ID of the designated resource does not exist or there are problems transforming the designated resource, an IllegalArgumentException will be thrown.
        ParameterException
        See Also:
        ResModelChangeOperations.updateResourceAttributes(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID, de.aristaflow.adept2.model.resourcemodel.Resource)
      • moveResource

        @Valid
        public @Valid Resource moveResource​(@NotNull @Valid
                                            @NotNull @Valid SessionToken session,
                                            @NotNull
                                            @NotNull UUID transaction,
                                            @NotNull @Valid
                                            @NotNull @Valid String resId,
                                            String newParentId)
                                     throws ParameterException
        Throws:
        ParameterException
        See Also:
        ResModelChangeOperations.moveResource(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID, String, String)
      • removeResource

        @Valid
        public @Valid Resource removeResource​(@NotNull @Valid
                                              @NotNull @Valid SessionToken session,
                                              @NotNull
                                              @NotNull UUID transaction,
                                              @NotNull @Valid
                                              @NotNull @Valid String resId)
                                       throws ParameterException
        Throws:
        ParameterException
        See Also:
        ResModelChangeOperations.removeResource(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID, String)
      • addOrUpdateUdt

        @NotNull
        public @NotNull Boolean addOrUpdateUdt​(@NotNull @Valid
                                               @NotNull @Valid SessionToken session,
                                               @NotNull
                                               @NotNull UUID transaction,
                                               @NotNull @Valid
                                               @NotNull @Valid UdtValue value)
                                        throws ParameterException
        Throws:
        ParameterException
        See Also:
        ResModelChangeOperations.addOrUpdateUdt(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID, de.aristaflow.adept2.model.datamanagement.UDTValue)
      • removeUdt

        @NotNull
        public @NotNull Boolean removeUdt​(@NotNull @Valid
                                          @NotNull @Valid SessionToken session,
                                          @NotNull
                                          @NotNull UUID transaction,
                                          @NotNull @Valid
                                          @NotNull @Valid String udtId)
                                   throws ParameterException
        Throws:
        ParameterException
        See Also:
        ResModelChangeOperations.removeUdt(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID, String)