org.squashtest.csp.tm.domain.library
Interface Library<NODE extends LibraryNode>
- All Superinterfaces:
- NodeContainer<NODE>, ProjectResource, SelfClassAware
- All Known Implementing Classes:
- CampaignLibrary, GenericLibrary, RequirementLibrary, TestCaseLibrary
public interface Library<NODE extends LibraryNode>
- extends ProjectResource, SelfClassAware, NodeContainer<NODE>
getId
Long getId()
getRootContent
Set<NODE> getRootContent()
addRootContent
void addRootContent(NODE node)
- Adds new content to the root of library. Content must not be null, content must not have the same name as another
content.
- Parameters:
newContent -
- Throws:
org.apache.commons.lang.NullArgumentException - if content is null
DuplicateNameException - if there is content with the same name
removeRootContent
void removeRootContent(NODE node)
hasContent
boolean hasContent()
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.