org.squashtest.tm.domain.campaign
@Entity public class CampaignLibrary extends GenericLibrary<CampaignLibraryNode>
| Constructor and Description |
|---|
CampaignLibrary() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NodeContainerVisitor visitor) |
void |
disablePlugin(String pluginId)
tells this instance that the plugin referenced by pluginId is now disabled
|
void |
enablePlugin(String pluginId)
tells this instance that the plugin referenced by pluginId is now enabled
|
Set<CampaignLibraryPluginBinding> |
getAllPluginBindings() |
String |
getClassName() |
String |
getClassSimpleName() |
Set<CampaignLibraryNode> |
getContent() |
Set<String> |
getEnabledPlugins() |
Long |
getId() |
Collection<CampaignLibraryNode> |
getOrderedContent()
Will return the ordered (if order there is) content nodes.
|
CampaignLibraryPluginBinding |
getPluginBinding(String pluginId) |
GenericProject |
getProject()
A node container can be a library.
|
Set<CampaignLibraryNode> |
getRootContent() |
boolean |
hasContent() |
boolean |
isPluginEnabled(String pluginId)
tells whether the given plugin is enabled for this instance.
|
void |
notifyAssociatedWithProject(GenericProject p) |
void |
removeContent(CampaignLibraryNode node) |
void |
setId(Long id) |
addContent, getAttachmentList, getContentNames, getLibrary, isContentNameAvailablepublic void setId(Long id)
public Long getId()
public Set<CampaignLibraryNode> getRootContent()
public Set<CampaignLibraryNode> getContent()
public void removeContent(CampaignLibraryNode node)
public GenericProject getProject()
NodeContainernull.public void notifyAssociatedWithProject(GenericProject p)
public Set<String> getEnabledPlugins()
public Set<CampaignLibraryPluginBinding> getAllPluginBindings()
public void enablePlugin(String pluginId)
PluginReferencerpublic void disablePlugin(String pluginId)
PluginReferencerpublic CampaignLibraryPluginBinding getPluginBinding(String pluginId)
public boolean isPluginEnabled(String pluginId)
PluginReferencerpublic String getClassSimpleName()
public String getClassName()
public boolean hasContent()
public void accept(NodeContainerVisitor visitor)
public Collection<CampaignLibraryNode> getOrderedContent()
NodeContainerCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.