atg.repository
Interface RepositoryItemGroup

All Known Implementing Classes:
DynamicContentGroup, DynamicProfileGroup, IndexedItemsGroup

public interface RepositoryItemGroup

This interface defines a logical grouping of RepositoryItems. The implementation of this interface can define different mechanisms to test group membership


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 int getGroupCount()
          Returns the count of members of this group
 RepositoryItem[] getGroupMembers()
          Returns all the members of this group
 java.lang.String getGroupName()
          Returns the name of the group
 Query getGroupQuery()
          Returns the query which returns the members of this group.
 java.lang.String getRepositoryViewName()
          Returns the name of the repository view that this group was defined for.
 boolean isGroupMember(RepositoryItem pItem)
          Returns true if the supplied item is a member of this group
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

getGroupName

java.lang.String getGroupName()
Returns the name of the group


isGroupMember

boolean isGroupMember(RepositoryItem pItem)
Returns true if the supplied item is a member of this group


getGroupMembers

RepositoryItem[] getGroupMembers()
Returns all the members of this group


getGroupQuery

Query getGroupQuery()
                    throws RepositoryException
Returns the query which returns the members of this group.

Throws:
RepositoryException

getGroupCount

int getGroupCount()
                  throws RepositoryException
Returns the count of members of this group

Throws:
RepositoryException

getRepositoryViewName

java.lang.String getRepositoryViewName()
Returns the name of the repository view that this group was defined for.