org.geotools.filter.visitor
Interface ClientTransactionAccessor

All Known Implementing Classes:
WFSTransactionAccessor

public interface ClientTransactionAccessor

Provides access to certain transaction state for the PostPreProcessFilterSplittingVisitor and CapabilitiesFilterSplitter. This is only required if the transaction is kept on the client and the server is unaware of it. For example PostGIS would not need to create one.

Author:
Jesse

Method Summary
 Filter getDeleteFilter()
          Returns all the filters indicating deleted feature ANDed together.
 Filter getUpdateFilter(String attributePath)
          Returns all the filters of updates that affect the attribute in the expression ORed together.
 

Method Detail

getDeleteFilter

Filter getDeleteFilter()
Returns all the filters indicating deleted feature ANDed together. This is used to tell the server what features to NOT return.

Returns:
all the filters indicating deleted feature ANDed together.

getUpdateFilter

Filter getUpdateFilter(String attributePath)
Returns all the filters of updates that affect the attribute in the expression ORed together.

Parameters:
attributePath - the xpath identifier of the attribute.
Returns:
all the filters of updates that affect the attribute in the expression ORed together, Filter.EXCLUDE if the attribute path is not supported/encodable to the backend (and hence any filter including it shall only be evaluated at runtime), or null if no behavior change is to be applied.


Copyright © 1996-2014 Geotools. All Rights Reserved.