addEntityAttribute

Adds the named attribute to the view definition.
This attribute is mapped to an attribute in the entity reference, i.e.,
the attribute must exist in the underlying entity definition.

If isPersistent is true, the view object is
to draw the data from its query statement. The underlying entity
attribute may or may not be persistent. In this case, the
attribute must have a valid database table column or expression
in the view object's query statement. If there is a mismatch
between the query statement and the VO attribute definition list,
you may see AttributeLoadException or
DataCreationException.

If the view attribute is marked not persistent and if the underlying
entity attribute is transient, the view attribute will be of the
ATTR_ENTITY_DERIVED kind.

getViewCriteria

Returns the default view criteria of the manager. If a view criteria has
the name as ViewCriteriaManager.DFLT_VIEW_CRITERIA_NAME then it is considered to
be the default. The default name is also assigned when a view criteria with
a null name is applied.

applyViewCriteria

Apply the view criteria passed as the argument. If the passed view criteria
is not managed by this object it will be added to managed list. The applied
criteria name list will first be cleared out and then the view criteria passed
as argument is applied. If null is passed as the argument there
will be no applied view criteria.

applyViewCriteria

Apply the view crtieria passed as the argument. If the passed view criteria
is not managed by this object it will be added to managed list. If
bAppend is true the passed view criteria will be applied in addition
to the existing ones. If bAppend is false this method is
identical to ViewCriteriaManager.applyViewCriteria(ViewCriteria)

setApplyViewCriteriaName

Apply the view criteria name passed as the argument. The applied
criteria name list will first be cleared out and then the view criteria passed
as argument is applied. If null is passed as the argument there
will be no applied view criteria.

getViewCriteriaClause

This method is used by the framework to generate a query clause for the
applied view criterias. If the argument is true the clause will
be generated for a database query, if false the clause will be
generated for in-memory filtering using an expression evaluator.

criteriaChanged

The criteria manager can track changes to applied view criteria. If the
structure of an applied view criteria changes or a view criteria item in
an applied view criteria has a new value then this method is invoked
by the framework so that the manager can initiate a fresh clause generation
when required.