Exemplo n.º 1
0
def Alinea_getUserWithID(id):
    """ return the User w/ a given ID or None """
    return getObjectWithClassAndID(AlineaUser,id)
Exemplo n.º 2
0
def Alinea_getRoleWithID(roleID):
    return getObjectWithClassAndID(AlineaRole, roleID)
Exemplo n.º 3
0
def Alinea_getNodeWithID(id):
    obj = getObjectWithClassAndID(AlineaNode,id)
    return obj