public class OpenObject extends XMLRequest
| Constructor and Description |
|---|
OpenObject(UC4ObjectName name)
Constructs a
OpenObject using the specified UC4 Object name. |
OpenObject(UC4ObjectName name,
boolean readOnly,
boolean fullObject)
Constructs a
OpenObject using the specified UC4 Object name. |
OpenObject(UserListItem user)
Opens a user object based on an entry in the user list of the system overview.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getType()
Returns the type of the object.
|
UC4Object |
getUC4Object()
Returns a subclass of
UC4Object or null if the
object could not be opened or is not supported. |
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, sendpublic OpenObject(UC4ObjectName name)
OpenObject using the specified UC4 Object name.
The complete object is returned. The object can be modified.name - name of the UC4 Objectpublic OpenObject(UserListItem user)
user - Item of the user listpublic OpenObject(UC4ObjectName name, boolean readOnly, boolean fullObject)
OpenObject using the specified UC4 Object name.
The parameter readOnly is used to open the object read only.name - name of the UC4 ObjectreadOnly - true if the object should be opened read onlyfullObject - true if the complete object should be returned.public UC4Object getUC4Object()
UC4Object or null if the
object could not be opened or is not supported.
Note: Each object may only be opened once. Subsequent calls to OpenObject will return null here.
The object has to be closed with an CloseObject request before another OpenObject request will succeed.
UC4Objectpublic java.lang.String getType()