org.squashtest.csp.tm.domain.library
Interface NodeContainer<NODE extends LibraryNode>
- Type Parameters:
NODE -
- All Known Subinterfaces:
- Folder<NODE>, Library<NODE>
- All Known Implementing Classes:
- CampaignFolder, CampaignLibrary, GenericLibrary, RequirementFolder, RequirementLibrary, TestCaseFolder, TestCaseLibrary
public interface NodeContainer<NODE extends LibraryNode>
Interface for an object which contains library node objects.
- Author:
- Gregory Fouquet
addContent
void addContent(NODE contentToAdd)
throws DuplicateNameException,
org.apache.commons.lang.NullArgumentException
- Adds new content to this folder. Should refuse to add null content, should refuse to add content with duplicate
name.
- Parameters:
contentToAdd -
- Throws:
DuplicateNameException
org.apache.commons.lang.NullArgumentException
isContentNameAvailable
boolean isContentNameAvailable(String name)
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.