public class RootManager extends Object
| Constructor and Description |
|---|
RootManager() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addModuleVersion(org.azyva.dragom.model.ModuleVersion moduleVersion,
boolean indAllowDuplicateModule)
Adds a ModuleVersion to the list of root ModuleVersion.
|
static boolean |
containsModuleVersion(org.azyva.dragom.model.ModuleVersion moduleVersion)
Verifies if a ModuleVersion is contained in the list of ModuleVersion.
|
static List<org.azyva.dragom.model.ModuleVersion> |
getListModuleVersion() |
static org.azyva.dragom.model.ModuleVersion |
getModuleVersion(org.azyva.dragom.model.NodePath nodePathModule)
Returns the ModuleVersion corresponding to a NodePath or null
if none.
|
static org.azyva.dragom.reference.ReferencePathMatcherOr |
getReferencePathMatcherOr()
Returns the global ReferencePathMatcherOr.
|
static boolean |
moveFirst(org.azyva.dragom.model.ModuleVersion moduleVersion)
Moves a ModuleVersion first in the list of root ModuleVersion.
|
static boolean |
moveLast(org.azyva.dragom.model.ModuleVersion moduleVersion)
Moves a ModuleVersion last in the list of root ModuleVersion.
|
static void |
removeAllModuleVersion()
Remove all ModuleVersion's from the list of root ModuleVersion.
|
static boolean |
removeModuleVersion(org.azyva.dragom.model.ModuleVersion moduleVersion)
Remove a ModuleVersion from the list of root ModuleVersion.
|
static boolean |
replaceModuleVersion(org.azyva.dragom.model.ModuleVersion moduleVersionOrg,
org.azyva.dragom.model.ModuleVersion moduleVersionNew)
Replaces a ModuleVersion with a new one (presumably having the same Module but
a different Version) in the list of root ModuleVersion.
|
static void |
saveListModuleVersion()
Persists the list of root ModuleVersion's in the ExecContext.
|
static void |
saveReferencePathMatcherOr()
Persists the ReferencePathMatcherOr within the ExecContext.
|
public static List<org.azyva.dragom.model.ModuleVersion> getListModuleVersion()
ModuleVersion's.public static boolean containsModuleVersion(org.azyva.dragom.model.ModuleVersion moduleVersion)
moduleVersion - ModuleVersion.public static org.azyva.dragom.model.ModuleVersion getModuleVersion(org.azyva.dragom.model.NodePath nodePathModule)
nodePathModule - NodePath of the ModuleVersion.public static boolean addModuleVersion(org.azyva.dragom.model.ModuleVersion moduleVersion,
boolean indAllowDuplicateModule)
moduleVersion - New root ModuleVersion.indAllowDuplicateModule - Indicates if duplicate Module are allowed.public static boolean removeModuleVersion(org.azyva.dragom.model.ModuleVersion moduleVersion)
moduleVersion - ModuleVersion to remove.public static void removeAllModuleVersion()
public static boolean replaceModuleVersion(org.azyva.dragom.model.ModuleVersion moduleVersionOrg,
org.azyva.dragom.model.ModuleVersion moduleVersionNew)
moduleVersionOrg - Original ModuleVersion.moduleVersionNew - New ModuleVersion.public static boolean moveFirst(org.azyva.dragom.model.ModuleVersion moduleVersion)
moduleVersion - ModuleVersion to move first.public static boolean moveLast(org.azyva.dragom.model.ModuleVersion moduleVersion)
moduleVersion - ModuleVersion to move last.public static void saveListModuleVersion()
public static org.azyva.dragom.reference.ReferencePathMatcherOr getReferencePathMatcherOr()
public static void saveReferencePathMatcherOr()
Copyright © 2015–2016 AZYVA INC.. All rights reserved.