public interface IEnvironmentSpace extends IPropertyObject
| Modifier and Type | Method and Description | 
|---|---|
void | 
addDataView(java.lang.String name,
           IDataView view)
Adds a dataview to the space. 
 | 
void | 
addEnvironmentListener(IEnvironmentListener listener)
Add an environment listener. 
 | 
void | 
addObjectTaskType(java.lang.String typename,
                 java.lang.Class clazz,
                 java.util.List properties)
Add a object task type. 
 | 
void | 
addPerceptGenerator(java.lang.Object id,
                   IPerceptGenerator gen)
Adds a percept generator. 
 | 
void | 
addPerceptType(PerceptType percepttype)
Add a space percept type. 
 | 
void | 
addSpaceAction(java.lang.String name,
              ISpaceAction action)
Adds an space action. 
 | 
void | 
addSpaceObjectType(java.lang.String typename,
                  IPropertyMetaDataSet properties)
Add a space object type. 
 | 
void | 
addSpaceProcessType(java.lang.String typename,
                   java.lang.Class clazz,
                   java.util.List properties)
Add a space process type. 
 | 
void | 
addTaskListener(java.lang.Object taskid,
               java.lang.Object objectid,
               IResultListener listener)
Add a result listener to an object task. 
 | 
void | 
cancelSpaceAction(int id)
Cancel a queued space action. 
 | 
java.lang.Object | 
createObjectTask(java.lang.String typename,
                java.util.Map properties,
                java.lang.Object objectid)
Creates an object task. 
 | 
ISpaceObject | 
createSpaceObject(java.lang.String typename,
                 java.util.Map properties,
                 java.util.List tasks)
Creates an object in this space. 
 | 
void | 
createSpaceProcess(java.lang.String type,
                  java.util.Map props)
Creates a space process. 
 | 
void | 
destroySpaceObject(java.lang.Object id)
Destroys an object in this space. 
 | 
ISpaceObject | 
getAvatar(IComponentDescription owner)
Get the avatar. 
 | 
ISpaceObject[] | 
getAvatars(IComponentDescription owner)
Get the owned objects. 
 | 
IDataView | 
getDataView(java.lang.String name)
Gets a specific dataview. 
 | 
java.util.Map | 
getDataViews()
Get all available dataviews in this space. 
 | 
IExternalAccess | 
getExternalAccess()
Get the component of the space. 
 | 
PerceptType | 
getPerceptType(java.lang.String percepttype)
Get a space percept type. 
 | 
ISpaceObject | 
getSpaceObject(java.lang.Object id)
Returns an object in this space. 
 | 
ISpaceObject[] | 
getSpaceObjectsByType(java.lang.String type)
Get all space object of a specific type. 
 | 
ISpaceProcess | 
getSpaceProcess(java.lang.Object id)
Returns a space process. 
 | 
int | 
performSpaceAction(java.lang.String name,
                  java.util.Map parameters,
                  IResultListener listener)
Perform an space action. 
 | 
void | 
removeDataView(java.lang.String name)
Removes a dataview from the space. 
 | 
void | 
removeEnvironmentListener(IEnvironmentListener listener)
Remove an environment listener. 
 | 
void | 
removeObjectTask(java.lang.Object taskid,
                java.lang.Object objectid)
Remove an object task. 
 | 
void | 
removeObjectTaskType(java.lang.String typename)
Remove an object task type. 
 | 
void | 
removePerceptGenerator(java.lang.Object id)
Remove a percept generator. 
 | 
void | 
removePerceptType(java.lang.String typename)
Remove a space process type. 
 | 
void | 
removeSpaceAction(java.lang.String name)
Removes an space action. 
 | 
void | 
removeSpaceObjectType(java.lang.String typename)
Remove a space object type. 
 | 
void | 
removeSpaceProcess(java.lang.Object id)
Removes a space process. 
 | 
void | 
removeSpaceProcessType(java.lang.String typename)
Remove a space process type. 
 | 
void | 
removeTaskListener(java.lang.Object taskid,
                  java.lang.Object objectid,
                  IResultListener listener)
Remove a result listener from an object task. 
 | 
void | 
setOwner(java.lang.Object id,
        IComponentDescription owner)
Set the owner of an object. 
 | 
IFuture<java.lang.Void> | 
waitForTask(java.lang.Object taskid,
           java.lang.Object objectid)
Add a result listener to an object task. 
 | 
getProperty, getPropertyNames, hasProperty, setPropertyIExternalAccess getExternalAccess()
void addPerceptType(PerceptType percepttype)
typename - The percept name.objecttypes - The objecttypes.componenttypes - The componenttypes.void removePerceptType(java.lang.String typename)
typename - The type name.PerceptType getPerceptType(java.lang.String percepttype)
percepttype - The name of the percept type.void addSpaceProcessType(java.lang.String typename,
                         java.lang.Class clazz,
                         java.util.List properties)
typename - The type name.properties - The properties (list of maps with name/value/dynamic).void removeSpaceProcessType(java.lang.String typename)
typename - The type name.void createSpaceProcess(java.lang.String type,
                        java.util.Map props)
id - ID of the space processtype - The process type.ISpaceProcess getSpaceProcess(java.lang.Object id)
id - ID of the space processvoid removeSpaceProcess(java.lang.Object id)
id - ID of the space processISpaceObject createSpaceObject(java.lang.String typename, java.util.Map properties, java.util.List tasks)
typename - the object's typeproperties - initial properties (may be null)tasks - initial task list (may be null)void addSpaceObjectType(java.lang.String typename,
                        IPropertyMetaDataSet properties)
typename - The type name.properties - The properties (map of maps with name->name/value/dynamic/event).void removeSpaceObjectType(java.lang.String typename)
typename - The type name.void destroySpaceObject(java.lang.Object id)
id - the object's IDISpaceObject getSpaceObject(java.lang.Object id)
id - the object's IDISpaceObject[] getSpaceObjectsByType(java.lang.String type)
type - The space object type.void addObjectTaskType(java.lang.String typename,
                       java.lang.Class clazz,
                       java.util.List properties)
typename - The type name.properties - The properties (list of maps with name/value/dynamic).void removeObjectTaskType(java.lang.String typename)
typename - The type name.java.lang.Object createObjectTask(java.lang.String typename,
                                  java.util.Map properties,
                                  java.lang.Object objectid)
typename - The type name.properties - The properties.void removeObjectTask(java.lang.Object taskid,
                      java.lang.Object objectid)
typename - The type name.properties - The properties.void addTaskListener(java.lang.Object taskid,
                     java.lang.Object objectid,
                     IResultListener listener)
void removeTaskListener(java.lang.Object taskid,
                        java.lang.Object objectid,
                        IResultListener listener)
IFuture<java.lang.Void> waitForTask(java.lang.Object taskid, java.lang.Object objectid)
void addSpaceAction(java.lang.String name,
                    ISpaceAction action)
name - the action IDaction - the actionvoid removeSpaceAction(java.lang.String name)
name - the action IDint performSpaceAction(java.lang.String name,
                       java.util.Map parameters,
                       IResultListener listener)
name - Id of the actionparameters - parameters for the action (may be null)listener - the result listenervoid cancelSpaceAction(int id)
void addPerceptGenerator(java.lang.Object id,
                         IPerceptGenerator gen)
id - The percept generator id.gen - The percept generator.void removePerceptGenerator(java.lang.Object id)
id - The percept generator id.void setOwner(java.lang.Object id,
              IComponentDescription owner)
id - The object id.owner - The object owner.ISpaceObject[] getAvatars(IComponentDescription owner)
ISpaceObject getAvatar(IComponentDescription owner)
void addDataView(java.lang.String name,
                 IDataView view)
name - name of the viewview - the viewvoid removeDataView(java.lang.String name)
name - name of the dataviewIDataView getDataView(java.lang.String name)
name - name of the dataviewjava.util.Map getDataViews()
void addEnvironmentListener(IEnvironmentListener listener)
listener - The environment listener.void removeEnvironmentListener(IEnvironmentListener listener)
listener - The environment listener.