public String updateSpecification(Vector<Object> oldSpecificationParams, Vector<Object> newSpecificationParams)
    {
        try
        {
            Specification oldSpecification = XmlRpcDataMarshaller.toSpecification( oldSpecificationParams );
            Specification newSpecification = XmlRpcDataMarshaller.toSpecification( newSpecificationParams );

            service.updateSpecification(oldSpecification,  newSpecification);

            log.debug( "Updated Specification: " + oldSpecification.getName() );
            return SUCCESS;
        }
        catch (Exception e)
        {
            return errorAsString( e, SPECIFICATION_UPDATE_FAILED );
        }
    }
public String updateSpecification ( Vector < Object > oldSpecificationParams , Vector < Object > newSpecificationParams ) { try { Specification oldSpecification = XmlRpcDataMarshaller . toSpecification ( oldSpecificationParams ) ; Specification newSpecification = XmlRpcDataMarshaller . toSpecification ( newSpecificationParams ) ; service . updateSpecification ( oldSpecification , newSpecification ) ; log . debug ( "Updated Specification: " + oldSpecification . getName ( ) ) ; return SUCCESS ; } catch ( Exception e ) { return errorAsString ( e , SPECIFICATION_UPDATE_FAILED ) ; } }
{@inheritDoc}