Example #1
0
def exportMapping(name):
    if name == "all":
        return getNodeXML(tree.getRoot("mappings"))
    else:
        return getNodeXML(getMapping(name))
Example #2
0
def exportMapping(name):
    if name == "all":
        return getNodeXML(q(Mappings).one())
    else:
        id = q(Node).filter_by(name=unicode(name)).one().id
        return getNodeXML(getMapping(id))
Example #3
0
def exportMapping(name):
    if name == "all":
        return getNodeXML(tree.getRoot("mappings"))
    else:
        return getNodeXML(getMapping(name))
Example #4
0
def exportMetaScheme(name):
    if name == "all":
        return getNodeXML(tree.getRoot("metadatatypes"))
    else:
        return getNodeXML(getMetaType(name))
Example #5
0
def exportWorkflow(name):
    if name == "all":
        return getNodeXML(q(Workflows).one())
    else:
        return getNodeXML(getWorkflow(name))
Example #6
0
def exportMapping(name):
    if name == "all":
        return getNodeXML(q(Mappings).one())
    else:
        id = q(Node).filter_by(name=unicode(name)).one().id
        return getNodeXML(getMapping(id))
Example #7
0
def exportWorkflow(name):
    if name == "all":
        return getNodeXML(q(Workflows).one())
    else:
        return getNodeXML(getWorkflow(name))
Example #8
0
def exportWorkflow(name):
    if name == "all":
        return getNodeXML(tree.getRoot("workflows"))
    else:
        return getNodeXML(getWorkflow(name))
Example #9
0
def exportWorkflow(name):
    if name == "all":
        return getNodeXML(tree.getRoot("workflows"))
    else:
        return getNodeXML(getWorkflow(name))