@Entity public class RequirementLibrary extends GenericLibrary<RequirementLibraryNode>
| Constructor and Description |
|---|
RequirementLibrary() |
| 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<RequirementLibraryPluginBinding> |
getAllPluginBindings() |
String |
getClassName() |
String |
getClassSimpleName() |
List<RequirementLibraryNode> |
getContent() |
Set<String> |
getEnabledPlugins() |
Long |
getId() |
Collection<RequirementLibraryNode> |
getOrderedContent()
Will return the ordered (if order there is) content nodes.
|
RequirementLibraryPluginBinding |
getPluginBinding(String pluginId) |
GenericProject |
getProject()
A node container can be a library.
|
List<RequirementLibraryNode> |
getRootContent() |
boolean |
hasContent() |
boolean |
isPluginEnabled(String pluginId)
tells whether the given plugin is enabled for this instance.
|
void |
notifyAssociatedWithProject(GenericProject p) |
void |
removeContent(RequirementLibraryNode node) |
void |
setId(Long id) |
addContent, addContent, getAttachmentList, getContentNames, getLibrary, isContentNameAvailablepublic void setId(Long id)
public Long getId()
public List<RequirementLibraryNode> getContent()
public List<RequirementLibraryNode> getRootContent()
public GenericProject getProject()
NodeContainernull.public void notifyAssociatedWithProject(GenericProject p)
public void removeContent(RequirementLibraryNode node)
public Set<String> getEnabledPlugins()
public Set<RequirementLibraryPluginBinding> getAllPluginBindings()
public void enablePlugin(String pluginId)
PluginReferencerpublic void disablePlugin(String pluginId)
PluginReferencerpublic RequirementLibraryPluginBinding getPluginBinding(String pluginId)
public boolean isPluginEnabled(String pluginId)
PluginReferencerpublic String getClassSimpleName()
public String getClassName()
public boolean hasContent()
public void accept(NodeContainerVisitor visitor)
public Collection<RequirementLibraryNode> getOrderedContent()
NodeContainerCopyright © 2010–2016 Henix, henix.fr. All rights reserved.