Interface TransportService
public interface TransportService
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(Transport transport, AbstractNode<?> element, boolean includeVariants) 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'.analyzeApplyPreconditions(Transport transport) voidcreateTransport(String description, TransportFolder parent) getElements(Transport transport) getMetadata(Transport transport) ClosuregetRemoteReferenceKeys(String transportXml) booleanisAppliable(Transport transport) booleanisTransportable(AbstractNode<?> node) voidremoveElements(Transport transport, List<TransportElementDto> toRemove) rpull()rpull(RemoteRsRestServer remoteServer, String destinationPath) voidsetInitialProperties(Transport transport, Map<String, String> initialProperties, boolean setXml)
-
Field Details
-
CONFIG_FILE
- See Also:
-
APPLY_CONFIG_USER
- See Also:
-
-
Method Details
-
createTransport
-
setInitialProperties
-
createInitialProperties
-
addElement
-
removeElements
-
isTransportable
-
getMetadata
-
getElements
-
close
-
addReferenceKeys
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
-
rpull
ImportResult rpull() -
analyzeApplyPreconditions
-
isAppliable
-
getRemoteReferenceKeys
-
getReferencesClosure
Closure getReferencesClosure() -
getTransportableTreeManagers
List<TreeDBManager> getTransportableTreeManagers()
-