@Override
  public JAXBElement<ResultTypeTO> release(String id, StatusTaskParamTO statusTaskParamTO)
      throws AuthenticationException, AuthorizationException, ContentRelationNotFoundException,
          LockingException, InvalidStatusException, MissingMethodParameterException,
          SystemException, OptimisticLockingException, InvalidXmlException,
          InvalidContentException {

    return factoryProvider
        .getResultFactory()
        .createResult(
            serviceUtility.fromXML(
                ResultTypeTO.class,
                this.contentRelationHandler.release(id, serviceUtility.toXML(statusTaskParamTO))));
  }
  @Override
  public JAXBElement<ResultTypeTO> assignObjectPid(
      String id, AssignPidTaskParamTO assignPidTaskParamTO)
      throws AuthenticationException, AuthorizationException, ContentRelationNotFoundException,
          LockingException, MissingMethodParameterException, OptimisticLockingException,
          InvalidXmlException, SystemException, PidAlreadyAssignedException {

    return factoryProvider
        .getResultFactory()
        .createResult(
            serviceUtility.fromXML(
                ResultTypeTO.class,
                this.contentRelationHandler.assignObjectPid(
                    id, serviceUtility.toXML(assignPidTaskParamTO))));
  }