org.squashtest.csp.tm.domain.library
Interface Folder<NODE extends LibraryNode>

Type Parameters:
T - Type of nodes
All Superinterfaces:
org.squashtest.csp.core.domain.Identified, LibraryNode, NodeContainer<NODE>, ProjectResource
All Known Implementing Classes:
CampaignFolder, RequirementFolder, TestCaseFolder

public interface Folder<NODE extends LibraryNode>
extends LibraryNode, NodeContainer<NODE>

Interface of a Library folder.

Author:
bsiri, Gregory Fouquet

Method Summary
 Set<NODE> getContent()
          Returrns the content of this folder.
 boolean hasContent()
           
 void removeContent(NODE contentToRemove)
           
 
Methods inherited from interface org.squashtest.csp.tm.domain.library.LibraryNode
createPastableCopy, getDescription, getName, setDescription, setName
 
Methods inherited from interface org.squashtest.csp.tm.domain.project.ProjectResource
getProject, notifyAssociatedWithProject
 
Methods inherited from interface org.squashtest.csp.core.domain.Identified
getId
 
Methods inherited from interface org.squashtest.csp.tm.domain.library.NodeContainer
addContent, isContentNameAvailable
 

Method Detail

getContent

Set<NODE> getContent()
Returrns the content of this folder.

Returns:

removeContent

void removeContent(NODE contentToRemove)
                   throws org.apache.commons.lang.NullArgumentException
Throws:
org.apache.commons.lang.NullArgumentException

hasContent

boolean hasContent()


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.