org.alfresco.repo.attributes
Interface AttributeDAO

All Known Implementing Classes:
AttributeDAOHibernate

public interface AttributeDAO

Interface for persistence operations on attributes.


Method Summary
 void delete(Attribute attr)
          Delete an attribute (recursively).
 void delete(MapAttribute map, AttrQuery query)
          Delete entries from a map that match the given query.
 void evict(Attribute attr)
          Evict an Attribute from the session cache.
 void evictFlat(Attribute attr)
          Evict an Attribute non-recursively.
 java.util.List find(MapAttribute map, AttrQuery query)
          Find all attributes that match a given path and AttrQuery.
 void flush()
          Force a flush.
 void save(Attribute attr)
          Save an attribute (recursively).
 

Method Detail

save

void save(Attribute attr)
Save an attribute (recursively).

Parameters:
attr - The attribute to save.

delete

void delete(Attribute attr)
Delete an attribute (recursively).

Parameters:
attr - The attribute to delete.

find

java.util.List find(MapAttribute map,
                    AttrQuery query)
Find all attributes that match a given path and AttrQuery.

Parameters:
map - The map within which to query.
query - The AttrQuery.
Returns:
A List of key, attribute value pairs.

delete

void delete(MapAttribute map,
            AttrQuery query)
Delete entries from a map that match the given query.

Parameters:
map -
query -

evict

void evict(Attribute attr)
Evict an Attribute from the session cache.

Parameters:
attr -

evictFlat

void evictFlat(Attribute attr)
Evict an Attribute non-recursively.

Parameters:
attr -

flush

void flush()
Force a flush.



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.