|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ObjectManager
API for the ObjectManager.
| Method Summary | |
|---|---|
boolean |
add(LocalizedObject object)
Adds the given object to the ObjectManager in case it is not already managed. |
boolean |
addAll(Collection<LocalizedObject> objects)
Adds the given objects to ObjectManager in case they are not already managed. |
boolean |
addAll(LocalizedObject... objects)
Adds the given objects to the ObjectManager in case they are not already managed. |
Collection<LocalizedObject> |
getAll()
Returns all currently managed objects (on all maps). |
Collection<LocalizedObject> |
getAll(int mapId)
Returns all currently managed objects on the given map. |
Collection<LocalizedObject> |
getAll(int mapId,
String name)
Returns all currently managed objects of a given template id (i.e. object type) on the given map. |
boolean |
remove(LocalizedObject object)
Removes the given LocalizedObject from the ObjectManager in case it is currently managed. |
boolean |
removeAll()
Removes all currently managed LocalizedObjects from the ObjectManager. |
boolean |
removeAll(Collection<LocalizedObject> objects)
Removes one or more LocalizedObjects from the ObjectManager. |
boolean |
removeAll(LocalizedObject... objects)
Removes the given LocalizedObjects from the ObjectManager in case they are currently managed. |
| Method Detail |
|---|
boolean add(LocalizedObject object)
object - LocalizedObject to add to the ObjectManger
boolean addAll(Collection<LocalizedObject> objects)
objects - Collection of LocalizedObjects
boolean addAll(LocalizedObject... objects)
objects - arbitrary number of LocalizedObjects to add
boolean remove(LocalizedObject object)
LocalizedObject from the ObjectManager in case it is currently managed.
object - LocalizedObject to remove
boolean removeAll(LocalizedObject... objects)
LocalizedObjects from the ObjectManager in case they are currently managed.
objects - Collection of LocalizedObjects to remove
boolean removeAll(Collection<LocalizedObject> objects)
LocalizedObjects from the ObjectManager.
objects - arbitrary number of LocalizedObjects to remove
boolean removeAll()
LocalizedObjects from the ObjectManager.
Collection<LocalizedObject> getAll()
Collection of all currently managed LocalizedObjectsCollection<LocalizedObject> getAll(int mapId)
mapId - the id of the map
Collection of all LocalizedObjects that are currently managed on the map with given id
Collection<LocalizedObject> getAll(int mapId,
String name)
mapId - the id of the mapname - the template name
Collection of all LocalizedObjects of the given template id that are currently managed on
the map with given id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||