Example #1
0
def delete_lancamento_cmd(lancamento_id):
    """
    Construct a command to delete a Lancamento
    :param lancamento_id: lancamento's id
    :return: Command
    """
    return DeleteNode(lancamento_id)
Example #2
0
def delete_locacao_cmd(locacao_id):
    """
    Construct a command to delete a Locacao
    :param locacao_id: locacao's id
    :return: Command
    """
    return DeleteNode(locacao_id)
Example #3
0
def delete_venda_cmd(venda_id):
    """
    Construct a command to delete a Venda
    :param venda_id: venda's id
    :return: Command
    """
    return DeleteNode(venda_id)
Example #4
0
def delete_comportamento_cmd(comportamento_id):
    """
    Construct a command to delete a Comportamento
    :param comportamento_id: comportamento's id
    :return: Command
    """
    return DeleteNode(comportamento_id)
Example #5
0
def delete_artigo_cmd(artigo_id):
    """
    Construct a command to delete a Artigo
    :param artigo_id: artigo's id
    :return: Command
    """
    return DeleteNode(artigo_id)
Example #6
0
def delete_course_cmd(course_id):
    """
    Construct a command to delete a Course
    :param course_id: course's id
    :return: Command
    """
    return DeleteNode(course_id)
Example #7
0
def delete_filme_cmd(filme_id):
    """
    Construct a command to delete a Filme
    :param filme_id: filme's id
    :return: Command
    """
    return DeleteNode(filme_id)
Example #8
0
def delete_cartaz_cmd(cartaz_id):
    """
    Construct a command to delete a Cartaz
    :param cartaz_id: cartaz's id
    :return: Command
    """
    return DeleteNode(cartaz_id)
Example #9
0
def delete_observacoe_cmd(observacoe_id):
    """
    Construct a command to delete a Observacoe
    :param observacoe_id: observacoe's id
    :return: Command
    """
    return DeleteNode(observacoe_id)
Example #10
0
def delete_cliente_cmd(cliente_id):
    """
    Construct a command to delete a Cliente
    :param cliente_id: cliente's id
    :return: Command
    """
    return DeleteNode(cliente_id)
Example #11
0
def apagar_livro_cmd(livro_id):
    apagar_cmd = DeleteNode(livro_id)
    apagar_arcos = ApagarAutorArcos(livro_id)
    return CommandParallel(apagar_cmd, apagar_arcos)