|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Manager
| Method Summary | |
|---|---|
void |
clearMap()
|
void |
closeMap()
Close a VMap previusly opened. |
void |
deleteAllMapElements()
delete all defined sub maps in existent maps |
void |
deleteAllNodeElements()
delete all defined node elements in existent maps |
void |
deleteElementsOfMap(int mapId)
|
void |
deleteMap()
|
void |
deleteMap(int mapId)
delete the map with identifier id |
void |
deleteMap(VMap map)
delete the map in input |
void |
deleteMaps(int[] maps)
delete the maps with the identifiers in input |
void |
deleteMaps(VMap[] maps)
delete the maps in input |
boolean |
foundLoopOnMaps(VMap parentMap,
int mapId)
|
VElementInfo[] |
getAllElementInfo()
|
VMapInfo[] |
getAllMapMenus()
Get all defined maps. |
VMap[] |
getAllMaps(boolean refreshElems)
Get all defined maps. |
HashMap<Integer,Integer> |
getAllNodesOccursOnMap(VMap map)
Gets all nodes on the passed map (and its submaps) with theirs occurrences |
List<String> |
getCategories()
|
VElementInfo[] |
getElementInfoLike(String like)
|
List<VLink> |
getLinks(Collection<VElement> elems)
|
List<VLink> |
getLinks(VElement[] elems)
|
List<VLink> |
getLinksOnElem(VElement[] elems,
VElement elem)
|
VMap[] |
getMap(String mapname,
String maptype,
boolean refreshElems)
Take the map label and type in input and return it in VMap form. |
VMapInfo |
getMapMenu(int mapId)
|
VMap[] |
getMapsByName(String mapName,
boolean refreshElems)
Take the maps with name in input and return them in VMap[] form. |
VMap[] |
getMapsLike(String likeLabel,
boolean refreshElems)
Take the maps with label like the pattern in input and return them in VMap[] form. |
VMapInfo[] |
getMapsMenuByName(String mapName)
Take the maps with name in input and return them in MapMenu[] form. |
List |
getMapsMenuTreeByName(String mapName)
Take all the maps in the tree of maps considering the with name in input as the root of the tree. |
Set<Integer> |
getNodeidsOnElement(VElement elem)
recursively gets all nodes contained by elem and its submaps (if elem is a map) |
List<VMapInfo> |
getVisibleMapsMenu(String user)
gets all visible maps for user in input |
VElement |
newElement(int mapId,
int elementId,
String type)
Create a new (not child) empty Submap with the identifier setted to id. |
VElement |
newElement(int mapId,
int elementId,
String type,
int x,
int y)
Create a new (not child) empty Submap with the identifier setted to id. |
VElement |
newElement(int mapId,
int elementId,
String type,
String iconname)
Create a new (not child) empty Submap with the identifier setted to id. |
VElement |
newElement(int mapId,
int elementId,
String type,
String iconname,
int x,
int y)
Create a new (not child) empty Submap with the identifier setted to id. |
VElement |
newElement(int elementId,
String type)
|
VElement |
newElement(int elementId,
String type,
int x,
int y)
|
VElement |
newElement(int elementId,
String type,
String iconname,
int x,
int y)
|
VMap |
newMap()
Create a new empty VMap and return it. |
VMap |
newMap(String name,
String accessMode,
String owner,
String userModifies,
int width,
int height)
Create a new VMap and return it |
VMap |
openMap()
|
VMap |
openMap(int id,
boolean refreshElems)
Take the map with id in input and return it in VMap form. |
VMap |
openMap(int id,
String user,
boolean refreshElems)
Take the map with id in input and return it in VMap form. |
VElement |
refreshElement(VElement mapElement)
|
List<VElement> |
refreshElements(VElement[] mapElements)
Refreshes of avail,severity and status of the elements in input. |
List<VLink> |
refreshLinks(VLink[] mapLinks)
TODO write this method simil way to refreshElement Not Yet Implemented |
List<VElement> |
refreshMap()
|
VMap |
reloadMap(VMap map)
Refreshs avail,severity and status of the map in input and its elements |
void |
save(VMap map)
save the map in input |
void |
save(VMap[] maps)
save the maps in input |
| Method Detail |
|---|
List<String> getCategories()
throws MapsException
MapsExceptionVMap newMap()
VMap newMap(String name,
String accessMode,
String owner,
String userModifies,
int width,
int height)
name - accessMode - owner - userModifies - width - height -
void closeMap()
VMap openMap()
throws MapNotFoundException
MapsException
MapNotFoundException
VMap openMap(int id,
boolean refreshElems)
throws MapNotFoundException,
MapsException
id - refreshElems - says if refresh the map's elements
MapsException
MapNotFoundException
VMap openMap(int id,
String user,
boolean refreshElems)
throws MapNotFoundException,
MapsException
id - user - refreshElems - says if refresh the map's elements
MapsException
MapNotFoundException
void clearMap()
throws MapNotFoundException,
MapsException
MapNotFoundException
MapsException
VMapInfo getMapMenu(int mapId)
throws MapNotFoundException,
MapsException
MapNotFoundException
MapsException
void deleteElementsOfMap(int mapId)
throws MapsException
MapsException
List<VLink> getLinks(VElement[] elems)
throws MapsException
MapsException
List<VLink> getLinks(Collection<VElement> elems)
throws MapsException
MapsException
List<VLink> getLinksOnElem(VElement[] elems,
VElement elem)
throws MapsException
MapsException
VMap[] getMapsLike(String likeLabel,
boolean refreshElems)
throws MapsException
label - refreshElems - says if refresh map's elements
MapsException
VMap[] getMap(String mapname,
String maptype,
boolean refreshElems)
throws MapsManagementException,
MapNotFoundException,
MapsException
mapname - maptype - refreshElems - says if refresh map's elements
MapsException
MapsManagementException
MapNotFoundException
VMap[] getMapsByName(String mapName,
boolean refreshElems)
throws MapNotFoundException,
MapsException
mapName - refhresElems - says if refresh maps' elements
MapsException
MapNotFoundException
VMap[] getAllMaps(boolean refreshElems)
throws MapNotFoundException,
MapsException
refreshElems - says if refresh maps' elements
MapsException
MapNotFoundException
VMapInfo[] getAllMapMenus()
throws MapsException
MapsException
VMapInfo[] getMapsMenuByName(String mapName)
throws MapNotFoundException,
MapsException
mapName -
MapsException
MapNotFoundException
List<VMapInfo> getVisibleMapsMenu(String user)
throws MapsException
user -
MapsException
List getMapsMenuTreeByName(String mapName)
throws MapNotFoundException,
MapsException
mapName -
MapsException
MapNotFoundException
VElement newElement(int mapId,
int elementId,
String type,
int x,
int y)
throws MapsException
mapId - elementId - type - the node type
MapsException
VElement newElement(int elementId,
String type,
int x,
int y)
throws MapsException
MapsException
VElement newElement(int mapId,
int elementId,
String type)
throws MapsException
mapId - elementId - type - the node type
MapsException
VElement newElement(int elementId,
String type)
throws MapsException
MapsException
VElement newElement(int mapId,
int elementId,
String type,
String iconname,
int x,
int y)
throws MapsException
mapId - elementId - type - the node type
MapsException
VElement newElement(int elementId,
String type,
String iconname,
int x,
int y)
throws MapsException
MapsException
VElement newElement(int mapId,
int elementId,
String type,
String iconname)
throws MapsException
mapId - elementId - type - the node type
MapsException
void deleteMap(VMap map)
throws MapsException,
MapNotFoundException
map - to delete
MapsException - if an error occour deleting map, MapNotFoundException if the
map to delete doesn't exist.
MapNotFoundException
void deleteMap()
throws MapsException,
MapNotFoundException
MapsException
MapNotFoundException
void deleteMap(int mapId)
throws MapsException
id - of the map to delete
MapsException
void deleteMaps(VMap[] maps)
throws MapsException
maps - to delete
MapsException
void deleteMaps(int[] maps)
throws MapsException
identifiers - of the maps to delete
MapsException
void save(VMap map)
throws MapsException
map - to save
MapsException
void save(VMap[] maps)
throws MapsException
maps - to save
MapsException
void deleteAllNodeElements()
throws MapsException
MapsException
void deleteAllMapElements()
throws MapsException
MapsException
List<VElement> refreshElements(VElement[] mapElements)
throws MapsException
mapElements - the elements to refreshincremental - return only changed elements, if the refresh implementation is capable of this operation
MapsException
List<VElement> refreshMap()
throws MapsException
MapsException
VElement refreshElement(VElement mapElement)
throws MapsException
MapsException
VMap reloadMap(VMap map)
throws MapsException
map -
MapsException
List<VLink> refreshLinks(VLink[] mapLinks)
throws MapsException
MapsException
boolean foundLoopOnMaps(VMap parentMap,
int mapId)
throws MapsException
MapsException
Set<Integer> getNodeidsOnElement(VElement elem)
throws MapsException
MapsException
VElementInfo[] getAllElementInfo()
throws MapsException
MapsException
VElementInfo[] getElementInfoLike(String like)
throws MapsException
MapsException
HashMap<Integer,Integer> getAllNodesOccursOnMap(VMap map)
throws MapsException
map -
MapsException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||