Class AbstractDao

    • Constructor Detail

      • AbstractDao

        public AbstractDao()
    • Method Detail

      • isClientAccessAllowed

        protected final boolean isClientAccessAllowed​(Client client)
      • andFilterClientOnly

        protected void andFilterClientOnly​(org.apache.cayenne.query.SelectQuery query,
                                           String propertyPath,
                                           String clientId)
        Add a client organization filter which will exclude null values.
        Parameters:
        query - the select query
        propertyPath - the property path
        clientId - the client ID
        Since:
        5.1.0
      • andFilterClientExcludeNull

        protected void andFilterClientExcludeNull​(org.apache.cayenne.query.SelectQuery query,
                                                  String propertyPath,
                                                  String clientId)
        Add a client organization filter which will exclude null values.
        Parameters:
        query - the select query
        propertyPath - the property path
        clientId - the client ID
      • andFilterClientIncludeNull

        protected void andFilterClientIncludeNull​(org.apache.cayenne.query.SelectQuery query,
                                                  String propertyPath,
                                                  String clientId)
        Add a client organization filter which will include null values.
        Parameters:
        query - the select query
        propertyPath - the property path
        clientId - the client ID
      • performQueryConfigCached

        protected List performQueryConfigCached​(org.apache.cayenne.query.SelectQuery query)
        Perform the given select query and set the default fetch limit, if no fetch limit has been set.
        Since:
        5.1.0