public class LowLevelInterfaceAdaptor extends Object implements LowLevelInterface
| Constructor and Description |
|---|
LowLevelInterfaceAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
abortTransaction(Long tid)
Abort a transaction, changes will not be saved
|
void |
addBooleanAttribute(Long tid,
Long oid,
String attributeName,
Boolean value)
Add a boolean attribute.
|
void |
addDoubleAttribute(Long tid,
Long oid,
String attributeName,
Double value)
Add a double attribute.
|
void |
addIntegerAttribute(Long tid,
Long oid,
String attributeName,
Integer value)
Add an integer attribute.
|
void |
addReference(Long tid,
Long oid,
String referenceName,
Long referenceOid)
Add a reference to a list.
|
void |
addStringAttribute(Long tid,
Long oid,
String attributeName,
String value)
Add a String attribute.
|
Long |
commitTransaction(Long tid,
String comment)
Commit a transaction, changes will be saved, a transaction must be started by startTransaction first
|
Integer |
count(Long roid,
String className)
Count the amount of object a certain revision has of the given type
|
Long |
createObject(Long tid,
String className,
Boolean generateGuid)
Create a new Object
|
Boolean |
getBooleanAttribute(Long tid,
Long oid,
String attributeName)
Get a boolean value of an attribute
|
Boolean |
getBooleanAttributeAtIndex(Long tid,
Long oid,
String attributeName,
Integer index)
Retrieve a boolean attribute at the given index
|
List<Boolean> |
getBooleanAttributes(Long tid,
Long oid,
String attributeName)
Retrieve a list of boolean attributes
|
byte[] |
getByteArrayAttribute(Long tid,
Long oid,
String attributeName)
Get a byte[] attribute
|
List<byte[]> |
getByteArrayAttributes(Long tid,
Long oid,
String attributeName)
Get a list of byte[] values
|
SDataObject |
getDataObjectByGuid(Long roid,
String guid)
Get all the objects matching the given GUIDs as Data Objects
|
SDataObject |
getDataObjectByOid(Long roid,
Long oid)
Get an object from the given revision as a Data Object
|
List<SDataObject> |
getDataObjects(Long roid)
Get all the objects of a certain revision in Data Objects
|
List<SDataObject> |
getDataObjectsByType(Long roid,
String packageName,
String className,
Boolean flat)
Get all the objects of a certain type in Data Objects
|
Double |
getDoubleAttribute(Long tid,
Long oid,
String attributeName)
Get a list of double values (for example Coordinates of IfcCartesianPoint)
|
Double |
getDoubleAttributeAtIndex(Long tid,
Long oid,
String attributeName,
Integer index)
Get a double value of an attribute at a given index
|
List<Double> |
getDoubleAttributes(Long tid,
Long oid,
String attributeName)
Get a list of double values
|
String |
getEnumAttribute(Long tid,
Long oid,
String attributeName)
Get an enum attribute
|
Integer |
getIntegerAttribute(Long tid,
Long oid,
String attributeName)
Get an integer attribute
|
Integer |
getIntegerAttributeAtIndex(Long tid,
Long oid,
String attributeName,
Integer index)
Get an integer attribute at the given index
|
List<Integer> |
getIntegerAttributes(Long tid,
Long oid,
String attributeName)
Get a list of integer attributes
|
Long |
getLongAttribute(Long tid,
Long oid,
String attributeName)
Get a long value of an attribute
|
Long |
getLongAttributeAtIndex(Long tid,
Long oid,
String attributeName,
Integer index)
Get a long attribute at a given index
|
Long |
getReference(Long tid,
Long oid,
String referenceName)
Get a reference
|
List<Long> |
getReferences(Long tid,
Long oid,
String referenceName)
Get a list of references
|
String |
getStringAttribute(Long tid,
Long oid,
String attributeName)
Get the String value of an attribute
|
List<String> |
getStringAttributes(Long tid,
Long oid,
String attributeName)
Get a list of attributes of type String
|
void |
removeAllReferences(Long tid,
Long oid,
String referenceName)
Remove all references (clear the list of references) of the given object + reference
|
void |
removeAttribute(Long tid,
Long oid,
String attributeName,
Integer index)
Remove an attribute from a list at a certain index
|
void |
removeObject(Long tid,
Long oid)
Remove an object
|
void |
removeReference(Long tid,
Long oid,
String referenceName,
Integer index)
Remove a single reference by it's index in the list
|
void |
removeReferenceByOid(Long tid,
Long oid,
String referenceName,
Long referencedOid)
Remove a single reference by it's oid
|
void |
setBooleanAttribute(Long tid,
Long oid,
String attributeName,
Boolean value)
Set a boolean attribute
|
void |
setBooleanAttributeAtIndex(Long tid,
Long oid,
String attributeName,
Integer index,
Boolean value)
Set a boolean attribute at the given index
|
void |
setBooleanAttributes(Long tid,
Long oid,
String attributeName,
List<Boolean> values)
Set a list of boolean attributes
|
void |
setByteArrayAttribute(Long tid,
Long oid,
String attributeName,
Byte[] value)
Set a byte[] attribute
|
void |
setDoubleAttribute(Long tid,
Long oid,
String attributeName,
Double value)
Set a double attribute
|
void |
setDoubleAttributeAtIndex(Long tid,
Long oid,
String attributeName,
Integer index,
Double value)
Set a double attribute at a specific index
|
void |
setDoubleAttributes(Long tid,
Long oid,
String attributeName,
List<Double> values)
Set a list of double values (for example Coordinates of IfcCartesianPoint)
|
void |
setEnumAttribute(Long tid,
Long oid,
String attributeName,
String value)
Set an enum attribute
|
void |
setIntegerAttribute(Long tid,
Long oid,
String attributeName,
Integer value)
Set an integer attribute
|
void |
setIntegerAttributeAtIndex(Long tid,
Long oid,
String attributeName,
Integer index,
Integer value)
Set an integer attribute at a given index
|
void |
setIntegerAttributes(Long tid,
Long oid,
String attributeName,
List<Integer> values)
Set a list of integer attributes
|
void |
setLongAttribute(Long tid,
Long oid,
String attributeName,
Long value)
Set a long attribute
|
void |
setLongAttributeAtIndex(Long tid,
Long oid,
String attributeName,
Integer index,
Long value)
Set a long attribute at a given index
|
void |
setLongAttributes(Long tid,
Long oid,
String attributeName,
List<Long> values)
Set a list of long attributes
|
void |
setReference(Long tid,
Long oid,
String referenceName,
Long referenceOid)
Set a reference
|
void |
setStringAttribute(Long tid,
Long oid,
String attributeName,
String value)
Set the String value of an attribute
|
void |
setStringAttributeAtIndex(Long tid,
Long oid,
String attributeName,
Integer index,
String value)
Set the String value at a certain index in a list of an attribute
|
void |
setWrappedBooleanAttribute(Long tid,
Long oid,
String attributeName,
String type,
Boolean value)
Set a wrapped boolean attribute
|
void |
setWrappedDoubleAttribute(Long tid,
Long oid,
String attributeName,
String type,
Double value)
Set a wrapped attribute's double value
|
void |
setWrappedIntegerAttribute(Long tid,
Long oid,
String attributeName,
String type,
Integer value)
Set a warpped integer attribute
|
void |
setWrappedLongAttribute(Long tid,
Long oid,
String attributeName,
String type,
Long value)
Set a wrapped long value
|
void |
setWrappedStringAttribute(Long tid,
Long oid,
String attributeName,
String type,
String value)
Set the wrapped value of a String attribute
|
Long |
startTransaction(Long poid)
Start a new transaction.
|
void |
unsetAttribute(Long tid,
Long oid,
String attributeName)
Unset an attribute
|
void |
unsetReference(Long tid,
Long oid,
String referenceName)
Unset a reference
|
public void abortTransaction(Long tid) throws UserException, ServerException
LowLevelInterfaceabortTransaction in interface LowLevelInterfacetid - The TransactionIDUserExceptionServerExceptionpublic void addBooleanAttribute(Long tid, Long oid, String attributeName, Boolean value) throws UserException, ServerException
LowLevelInterfaceaddBooleanAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute to add a value tovalue - New Boolean valueUserExceptionServerExceptionpublic void addDoubleAttribute(Long tid, Long oid, String attributeName, Double value) throws UserException, ServerException
LowLevelInterfaceaddDoubleAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute to add a value tovalue - New Double valueUserExceptionServerExceptionpublic void addIntegerAttribute(Long tid, Long oid, String attributeName, Integer value) throws UserException, ServerException
LowLevelInterfaceaddIntegerAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute to add a value tovalue - New Integer valueUserExceptionServerExceptionpublic void addReference(Long tid, Long oid, String referenceName, Long referenceOid) throws UserException, ServerException
LowLevelInterfaceaddReference in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the reference to add a reference toreferenceOid - ObjectID of the referenced ObjectUserExceptionServerExceptionpublic void addStringAttribute(Long tid, Long oid, String attributeName, String value) throws UserException, ServerException
LowLevelInterfaceaddStringAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute to add a value tovalue - New String valueUserExceptionServerExceptionpublic Long commitTransaction(Long tid, String comment) throws UserException, ServerException
LowLevelInterfacecommitTransaction in interface LowLevelInterfacetid - The TransactionIDcomment - Comment describing what has changedUserExceptionServerExceptionpublic Integer count(Long roid, String className) throws UserException, ServerException
LowLevelInterfacecount in interface LowLevelInterfaceroid - ObjectID of the RevisionclassName - Name of the type to queryUserExceptionServerExceptionpublic Long createObject(Long tid, String className, Boolean generateGuid) throws UserException, ServerException
LowLevelInterfacecreateObject in interface LowLevelInterfacetid - The TransactionIDclassName - The type of the new objectUserExceptionServerExceptionpublic Boolean getBooleanAttribute(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetBooleanAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the objectattributeName - Name of the attributeUserExceptionServerExceptionpublic Boolean getBooleanAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index) throws UserException, ServerException
LowLevelInterfacegetBooleanAttributeAtIndex in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeindex - Index of the attributeUserExceptionServerExceptionpublic List<Boolean> getBooleanAttributes(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetBooleanAttributes in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic byte[] getByteArrayAttribute(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetByteArrayAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic List<byte[]> getByteArrayAttributes(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetByteArrayAttributes in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic SDataObject getDataObjectByGuid(Long roid, String guid) throws UserException, ServerException
LowLevelInterfacegetDataObjectByGuid in interface LowLevelInterfaceroid - ObjectID of the Revisionguid - An IFC GUIDUserExceptionServerExceptionpublic SDataObject getDataObjectByOid(Long roid, Long oid) throws UserException, ServerException
LowLevelInterfacegetDataObjectByOid in interface LowLevelInterfaceroid - ObjectID of the Revisionoid - ObjectID of the object to getUserExceptionServerExceptionpublic List<SDataObject> getDataObjects(Long roid) throws UserException, ServerException
LowLevelInterfacegetDataObjects in interface LowLevelInterfaceroid - ObjectID of the RevisionUserExceptionServerExceptionpublic List<SDataObject> getDataObjectsByType(Long roid, String packageName, String className, Boolean flat) throws UserException, ServerException
LowLevelInterfacegetDataObjectsByType in interface LowLevelInterfaceroid - ObjectID of the RevisionclassName - Name of the class to query (e.g. "IfcWindow")UserExceptionServerExceptionpublic Double getDoubleAttribute(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetDoubleAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic Double getDoubleAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index) throws UserException, ServerException
LowLevelInterfacegetDoubleAttributeAtIndex in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeindex - Index within the listUserExceptionServerExceptionpublic List<Double> getDoubleAttributes(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetDoubleAttributes in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the objectattributeName - Name of the attributeUserExceptionServerExceptionpublic String getEnumAttribute(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetEnumAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic Integer getIntegerAttribute(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetIntegerAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic Integer getIntegerAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index) throws UserException, ServerException
LowLevelInterfacegetIntegerAttributeAtIndex in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic List<Integer> getIntegerAttributes(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetIntegerAttributes in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic Long getLongAttribute(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetLongAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic Long getLongAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index) throws UserException, ServerException
LowLevelInterfacegetLongAttributeAtIndex in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic Long getReference(Long tid, Long oid, String referenceName) throws UserException, ServerException
LowLevelInterfacegetReference in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the referenceUserExceptionServerExceptionpublic List<Long> getReferences(Long tid, Long oid, String referenceName) throws UserException, ServerException
LowLevelInterfacegetReferences in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the referenceUserExceptionServerExceptionpublic String getStringAttribute(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetStringAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic List<String> getStringAttributes(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfacegetStringAttributes in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeUserExceptionServerExceptionpublic void removeAllReferences(Long tid, Long oid, String referenceName) throws UserException, ServerException
LowLevelInterfaceremoveAllReferences in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the objectreferenceName - Name of the reference from which to remove all referencesUserExceptionServerExceptionpublic void removeAttribute(Long tid, Long oid, String attributeName, Integer index) throws UserException, ServerException
LowLevelInterfaceremoveAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute from which to remove an itemindex - Index of the item to removeUserExceptionServerExceptionpublic void removeObject(Long tid, Long oid) throws UserException, ServerException
LowLevelInterfaceremoveObject in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to removeUserExceptionServerExceptionpublic void removeReference(Long tid, Long oid, String referenceName, Integer index) throws UserException, ServerException
LowLevelInterfaceremoveReference in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the reference from which to remove an itemindex - Index of the item to removeUserExceptionServerExceptionpublic void removeReferenceByOid(Long tid, Long oid, String referenceName, Long referencedOid) throws UserException, ServerException
LowLevelInterfaceremoveReferenceByOid in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the reference from which to remove an itemreferencedOid - Index of the item to removeUserExceptionServerExceptionpublic void setBooleanAttribute(Long tid, Long oid, String attributeName, Boolean value) throws UserException, ServerException
LowLevelInterfacesetBooleanAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New Boolean valueUserExceptionServerExceptionpublic void setBooleanAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index, Boolean value) throws UserException, ServerException
LowLevelInterfacesetBooleanAttributeAtIndex in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeindex - Index within the listvalue - New Boolean valueUserExceptionServerExceptionpublic void setBooleanAttributes(Long tid, Long oid, String attributeName, List<Boolean> values) throws UserException, ServerException
LowLevelInterfacesetBooleanAttributes in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalues - A list of boolean valuesUserExceptionServerExceptionpublic void setByteArrayAttribute(Long tid, Long oid, String attributeName, Byte[] value) throws UserException, ServerException
LowLevelInterfacesetByteArrayAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - new ByteArray valueUserExceptionServerExceptionpublic void setDoubleAttribute(Long tid, Long oid, String attributeName, Double value) throws UserException, ServerException
LowLevelInterfacesetDoubleAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New Double valueUserExceptionServerExceptionpublic void setDoubleAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index, Double value) throws UserException, ServerException
LowLevelInterfacesetDoubleAttributeAtIndex in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New Double valueUserExceptionServerExceptionpublic void setDoubleAttributes(Long tid, Long oid, String attributeName, List<Double> values) throws UserException, ServerException
LowLevelInterfacesetDoubleAttributes in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalues - List of double valuesUserExceptionServerExceptionpublic void setEnumAttribute(Long tid, Long oid, String attributeName, String value) throws UserException, ServerException
LowLevelInterfacesetEnumAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New Enum value (name of the enum item)UserExceptionServerExceptionpublic void setIntegerAttribute(Long tid, Long oid, String attributeName, Integer value) throws UserException, ServerException
LowLevelInterfacesetIntegerAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - new Integer valueUserExceptionServerExceptionpublic void setIntegerAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index, Integer value) throws UserException, ServerException
LowLevelInterfacesetIntegerAttributeAtIndex in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeindex - Index within the listvalue - new Integer valueUserExceptionServerExceptionpublic void setIntegerAttributes(Long tid, Long oid, String attributeName, List<Integer> values) throws UserException, ServerException
LowLevelInterfacesetIntegerAttributes in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalues - A list of integer valuesUserExceptionServerExceptionpublic void setLongAttribute(Long tid, Long oid, String attributeName, Long value) throws UserException, ServerException
LowLevelInterfacesetLongAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - new Integer valueUserExceptionServerExceptionpublic void setLongAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index, Long value) throws UserException, ServerException
LowLevelInterfacesetLongAttributeAtIndex in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeindex - Index within the listvalue - new Integer valueUserExceptionServerExceptionpublic void setLongAttributes(Long tid, Long oid, String attributeName, List<Long> values) throws UserException, ServerException
LowLevelInterfacesetLongAttributes in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalues - List of long valuesUserExceptionServerExceptionpublic void setReference(Long tid, Long oid, String referenceName, Long referenceOid) throws UserException, ServerException
LowLevelInterfacesetReference in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the referencereferenceOid - ObjectID of the newly referred objectUserExceptionServerExceptionpublic void setStringAttribute(Long tid, Long oid, String attributeName, String value) throws UserException, ServerException
LowLevelInterfacesetStringAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New String valueUserExceptionServerExceptionpublic void setStringAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index, String value) throws UserException, ServerException
LowLevelInterfacesetStringAttributeAtIndex in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New String valueUserExceptionServerExceptionpublic void setWrappedBooleanAttribute(Long tid, Long oid, String attributeName, String type, Boolean value) throws UserException, ServerException
LowLevelInterfacesetWrappedBooleanAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributetype - Type of the wrapped objectvalue - New Boolean valueUserExceptionServerExceptionpublic void setWrappedDoubleAttribute(Long tid, Long oid, String attributeName, String type, Double value) throws UserException, ServerException
LowLevelInterfacesetWrappedDoubleAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributetype - Type of the wrapped valuevalue - New Double valueUserExceptionServerExceptionpublic void setWrappedIntegerAttribute(Long tid, Long oid, String attributeName, String type, Integer value) throws UserException, ServerException
LowLevelInterfacesetWrappedIntegerAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributetype - Type of the wrapped objectvalue - new Integer valueUserExceptionServerExceptionpublic void setWrappedLongAttribute(Long tid, Long oid, String attributeName, String type, Long value) throws UserException, ServerException
LowLevelInterfacesetWrappedLongAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributetype - Type of the wrapped objectvalue - new Integer valueUserExceptionServerExceptionpublic void setWrappedStringAttribute(Long tid, Long oid, String attributeName, String type, String value) throws UserException, ServerException
LowLevelInterfacesetWrappedStringAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New String valueUserExceptionServerExceptionpublic Long startTransaction(Long poid) throws UserException, ServerException
LowLevelInterfacestartTransaction in interface LowLevelInterfacepoid - ObjectID of the Project to start a transaction onUserExceptionServerExceptionpublic void unsetAttribute(Long tid, Long oid, String attributeName) throws UserException, ServerException
LowLevelInterfaceunsetAttribute in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute to unsetUserExceptionServerExceptionpublic void unsetReference(Long tid, Long oid, String referenceName) throws UserException, ServerException
LowLevelInterfaceunsetReference in interface LowLevelInterfacetid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the reference to unset (null)UserExceptionServerExceptionCopyright © 2018 OpenSource BIM. All rights reserved.