RE: Filtering queries and relationships

From: Bruno René Santos (brunoren..olos.pt)
Date: Fri Nov 12 2010 - 10:09:36 UTC

  • Next message: Andrus Adamchik: "Re: Filtering queries and relationships"

    This is a start. Can a qualifier receive a parameter? Like a $accountIds. For
    each user of the web application the qualifier will be different.

    Regards
    Bruno

    -----Mensagem original-----
    De: Aristedes Maniatis [mailto:ar..aniatis.org]
    Enviada: sexta-feira, 12 de Novembro de 2010 08:47
    Para: use..ayenne.apache.org
    Assunto: Re: Filtering queries and relationships

    On 12/11/10 7:04 PM, Bruno Rene Fernandes Monteiro Duarte dos Santos wrote:
    > Hello all,
    >
    > Is there any way on Cayenne where i can insert a default where clause that
    > would limit all queries and relationships for a specific class? I need to
    > do this to filter resources on a web application.

    http://cayenne.apache.org/doc/modeling-objentities.html

    --> ObjEntity Qualifier

    -- 
    -------------------------->
    Aristedes Maniatis
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
    



    This archive was generated by hypermail 2.0.0 : Fri Nov 12 2010 - 10:10:11 UTC