Interface TransportService


public interface TransportService
  • Field Details

  • Method Details

    • createTransport

      String createTransport(String description, TransportFolder parent)
    • setInitialProperties

      void setInitialProperties(Transport transport, Map<String,String> initialProperties, boolean setXml)
    • createInitialProperties

      Map<String,String> createInitialProperties()
    • addElement

      void addElement(Transport transport, AbstractNode<?> element, boolean includeVariants)
    • removeElements

      void removeElements(Transport transport, List<TransportElementDto> toRemove)
    • isTransportable

      boolean isTransportable(AbstractNode<?> node)
    • getMetadata

      Map<String,Object> getMetadata(Transport transport)
    • getElements

      Map<String,List<Map<String,String>>> getElements(Transport transport)
    • close

      void close(Transport transport)
    • addReferenceKeys

      String addReferenceKeys(String transportXml)
      This modifies an xml String so that whenever there is a an 'itemProperty' element that has an attribute 'referenceId' we look up the corresponding object and add the object's key in the new attribute 'referenceKey'. The new attribute is added to the 'itemproperty' element
      Parameters:
      transportXml - the xml to be modified
      Returns:
      transportXml with additional referenceKey attributes
    • rpull

      ImportResult rpull(RemoteRsRestServer remoteServer, String destinationPath)
    • rpull

      ImportResult rpull()
    • analyzeApplyPreconditions

      Map<String,PreconditionResult> analyzeApplyPreconditions(Transport transport)
    • isAppliable

      boolean isAppliable(Transport transport)
    • getRemoteReferenceKeys

      List<String> getRemoteReferenceKeys(String transportXml)
    • getReferencesClosure

      Closure getReferencesClosure()
    • getTransportableTreeManagers

      List<TreeDBManager> getTransportableTreeManagers()