com.arsdigita.cms.contenttypes
Interface ContentGroupContainer


public interface ContentGroupContainer

An object that contains a ContentGroup. Provides a method for retrieving a ContentGroup based on its attribute name.

Author:
Mike Bonnet

Method Summary
 ContentGroup getContentGroup(String attrName)
          Retrieve a ContentGroup.
 void setContentGroup(String attrName, ContentGroup group)
          Set a ContentGroup attribute.
 

Method Detail

getContentGroup

public ContentGroup getContentGroup(String attrName)
Retrieve a ContentGroup.

Parameters:
attrName - The attribute name of the ContentGroup to return.
Returns:
The specified ContentGroup or null if it does not exist.

setContentGroup

public void setContentGroup(String attrName,
                            ContentGroup group)
Set a ContentGroup attribute.

Parameters:
attrName - The name of the attribute to set.
group - The ContentGroup to set the attribute to.


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC