|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IApplicationDataSource
Interface for data source dealing with standard application objects such as frames and tool data.
| Method Summary | |
|---|---|
void |
addApplicationDataChangedListener(IApplicationDataChanged listener)
Registers the given listener for application data changes. |
ObjectFrame |
addFrame(ObjectFrame parent)
Creates an adds a new frame to the data source. |
Collection<ToolTemplate> |
getToolTemplates()
Gets all the tool templates of the data source. |
Collection<? extends ObjectFrame> |
loadAllFrames()
Gets all frames known to the data source. |
Collection<IProcessData> |
loadAllProcessData()
Gets all process data elements known to the data source., The process data will not be in any specific order. |
Collection<? extends TemplateElement> |
loadAllTemplates()
Gets all templates known to the data source. |
Collection<ToolData> |
loadAllToolDatas()
Deprecated. use templates instead |
Collection<UserData> |
loadAllUserData()
Deprecated. use process data instead |
ObjectFrame |
loadFrame(String name)
Loads a frame with the specified path. |
ObjectFrame |
loadFrameById(String id)
Loads a frame with the specified unique id. |
IProcessData |
loadProcessData(String id)
Loads a process data object with the specified identifier. |
TemplateElement |
loadTemplate(String name)
Loads a template with the specified name. |
ToolData |
loadToolData(String name)
Deprecated. use templates instead |
UserData |
loadUserData(String name)
Deprecated. use process data instead |
void |
removeApplicationDataChangedListener(IApplicationDataChanged listener)
Unregisters the given listener for application data changes. |
ObjectFrame |
tryLoadFrame(String name)
Loads a frame with the specified path. |
IProcessData |
tryLoadProcessData(String id)
Loads a process data object with the specified identifier. |
| Methods inherited from interface com.kuka.roboticsAPI.persistenceModel.IDataSource |
|---|
close, getContext, getName, isOpen, isReadOnly, open, setContext, setParameters |
| Method Detail |
|---|
ObjectFrame loadFrame(String name)
The object should always be the same unless the data source get's closed and re-opened.
name - the path to the frame.
PersistenceException - if the frame was not foundObjectFrame loadFrameById(String id)
The object should always be the same unless the data source get's closed and re-opened.
id - the unique id to the frame.
null if a frame with this id is unknownObjectFrame tryLoadFrame(String name)
The object should always be the same unless the data source get's closed and re-opened.
name - The path to the frame.
null if the frame was not found.ObjectFrame addFrame(ObjectFrame parent)
parent - The parent where the given frame should be added.
TemplateElement loadTemplate(String name)
The object should always be the same unless the data source get's closed and re-opened.
name - The name of the template.
PersistenceException - if the template was not found@Deprecated ToolData loadToolData(String name)
The object should always be the same unless the data source get's closed and re-opened.
name - The name of the tool data.
@Deprecated UserData loadUserData(String name)
name - The name of the user data.
Collection<? extends ObjectFrame> loadAllFrames()
The frames will not be in any specific order.
Collection<? extends TemplateElement> loadAllTemplates()
The templates will not be in any specific order.
@Deprecated Collection<ToolData> loadAllToolDatas()
The tool data will not be in any specific order.
@Deprecated Collection<UserData> loadAllUserData()
The user data will not be in any specific order.
loadUserData(String)Collection<ToolTemplate> getToolTemplates()
void addApplicationDataChangedListener(IApplicationDataChanged listener)
listener - The listener which should be called after application data has
changed.void removeApplicationDataChangedListener(IApplicationDataChanged listener)
listener - The registered listener which should be unregistered.IProcessData loadProcessData(String id)
id - the identifier of the process data object.
PersistenceException - if the process data identifier was not foundIProcessData tryLoadProcessData(String id)
id - the identifier of the process data object.
null if the
process data object was not found.Collection<IProcessData> loadAllProcessData()
The process data will not be in any specific order.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||