public interface LowLevelInterface extends PublicInterface
| 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)
Deprecated.
|
SDataObject |
getDataObjectByOid(Long roid,
Long oid)
Deprecated.
|
List<SDataObject> |
getDataObjects(Long roid)
Deprecated.
|
List<SDataObject> |
getDataObjectsByType(Long roid,
String packageName,
String className,
Boolean flat)
Deprecated.
|
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
|
Long startTransaction(Long poid) throws ServerException, UserException
poid - ObjectID of the Project to start a transaction onServerException, - UserExceptionServerExceptionUserExceptionLong commitTransaction(Long tid, String comment) throws ServerException, UserException
tid - The TransactionIDcomment - Comment describing what has changedServerException, - UserExceptionServerExceptionUserExceptionvoid abortTransaction(Long tid) throws ServerException, UserException
tid - The TransactionIDServerException, - UserExceptionServerExceptionUserExceptionLong createObject(Long tid, String className, Boolean generateGuid) throws ServerException, UserException
tid - The TransactionIDclassName - The type of the new objectServerException, - UserExceptionServerExceptionUserExceptionvoid removeObject(Long tid, Long oid) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to removeServerException, - UserExceptionServerExceptionUserExceptionvoid setStringAttribute(Long tid, Long oid, String attributeName, String value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New String valueServerException, - UserExceptionServerExceptionUserExceptionvoid setStringAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index, String value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New String valueServerException, - UserExceptionServerExceptionUserExceptionvoid setWrappedStringAttribute(Long tid, Long oid, String attributeName, String type, String value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New String valueServerException, - UserExceptionServerExceptionUserExceptionString getStringAttribute(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New String valueServerException, - UserExceptionServerExceptionUserExceptionList<String> getStringAttributes(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New String valueServerException, - UserExceptionServerExceptionUserExceptionvoid setDoubleAttribute(Long tid, Long oid, String attributeName, Double value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New Double valueServerException, - UserExceptionServerExceptionUserExceptionvoid setDoubleAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index, Double value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New Double valueServerException, - UserExceptionServerExceptionUserExceptionvoid setWrappedDoubleAttribute(Long tid, Long oid, String attributeName, String type, Double value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributetype - Type of the wrapped valuevalue - New Double valueServerException, - UserExceptionServerExceptionUserExceptionvoid setDoubleAttributes(Long tid, Long oid, String attributeName, List<Double> values) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalues - List of double valuesServerException, - UserExceptionServerExceptionUserExceptionDouble getDoubleAttribute(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionDouble getDoubleAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeindex - Index within the listServerException, - UserExceptionServerExceptionUserExceptionList<Double> getDoubleAttributes(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the objectattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionvoid setEnumAttribute(Long tid, Long oid, String attributeName, String value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New Enum value (name of the enum item)ServerException, - UserExceptionServerExceptionUserExceptionString getEnumAttribute(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionvoid setIntegerAttribute(Long tid, Long oid, String attributeName, Integer value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - new Integer valueServerException, - UserExceptionServerExceptionUserExceptionvoid setIntegerAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index, Integer value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeindex - Index within the listvalue - new Integer valueServerException, - UserExceptionServerExceptionUserExceptionvoid setWrappedIntegerAttribute(Long tid, Long oid, String attributeName, String type, Integer value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributetype - Type of the wrapped objectvalue - new Integer valueServerException, - UserExceptionServerExceptionUserExceptionvoid setByteArrayAttribute(Long tid, Long oid, String attributeName, Byte[] value) throws UserException, ServerException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - new ByteArray valueServerException, - UserExceptionUserExceptionServerExceptionvoid setIntegerAttributes(Long tid, Long oid, String attributeName, List<Integer> values) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalues - A list of integer valuesServerException, - UserExceptionServerExceptionUserExceptionvoid setLongAttribute(Long tid, Long oid, String attributeName, Long value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - new Integer valueServerException, - UserExceptionServerExceptionUserExceptionvoid setLongAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index, Long value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeindex - Index within the listvalue - new Integer valueServerException, - UserExceptionServerExceptionUserExceptionvoid setWrappedLongAttribute(Long tid, Long oid, String attributeName, String type, Long value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributetype - Type of the wrapped objectvalue - new Integer valueServerException, - UserExceptionServerExceptionUserExceptionvoid setLongAttributes(Long tid, Long oid, String attributeName, List<Long> values) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalues - List of long valuesServerException, - UserExceptionServerExceptionUserExceptionInteger getIntegerAttribute(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionInteger getIntegerAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - new Integer valueServerException, - UserExceptionServerExceptionUserExceptionbyte[] getByteArrayAttribute(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionList<byte[]> getByteArrayAttributes(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionList<Integer> getIntegerAttributes(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionLong getLongAttribute(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionLong getLongAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionvoid setBooleanAttribute(Long tid, Long oid, String attributeName, Boolean value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalue - New Boolean valueServerException, - UserExceptionServerExceptionUserExceptionvoid setBooleanAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index, Boolean value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeindex - Index within the listvalue - New Boolean valueServerException, - UserExceptionServerExceptionUserExceptionvoid setWrappedBooleanAttribute(Long tid, Long oid, String attributeName, String type, Boolean value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributetype - Type of the wrapped objectvalue - New Boolean valueServerException, - UserExceptionServerExceptionUserExceptionvoid setBooleanAttributes(Long tid, Long oid, String attributeName, List<Boolean> values) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributevalues - A list of boolean valuesServerException, - UserExceptionServerExceptionUserExceptionBoolean getBooleanAttribute(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the objectattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionBoolean getBooleanAttributeAtIndex(Long tid, Long oid, String attributeName, Integer index) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeindex - Index of the attributeServerException, - UserExceptionServerExceptionUserExceptionList<Boolean> getBooleanAttributes(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attributeServerException, - UserExceptionServerExceptionUserExceptionvoid setReference(Long tid, Long oid, String referenceName, Long referenceOid) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the referencereferenceOid - ObjectID of the newly referred objectServerException, - UserExceptionServerExceptionUserExceptionLong getReference(Long tid, Long oid, String referenceName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the referenceServerException, - UserExceptionServerExceptionUserExceptionList<Long> getReferences(Long tid, Long oid, String referenceName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the referenceServerException, - UserExceptionServerExceptionUserExceptionvoid unsetAttribute(Long tid, Long oid, String attributeName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute to unsetServerException, - UserExceptionServerExceptionUserExceptionvoid unsetReference(Long tid, Long oid, String referenceName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the reference to unset (null)ServerException, - UserExceptionServerExceptionUserExceptionvoid addStringAttribute(Long tid, Long oid, String attributeName, String value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute to add a value tovalue - New String valueServerException, - UserExceptionServerExceptionUserExceptionvoid addDoubleAttribute(Long tid, Long oid, String attributeName, Double value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute to add a value tovalue - New Double valueServerException, - UserExceptionServerExceptionUserExceptionvoid addIntegerAttribute(Long tid, Long oid, String attributeName, Integer value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute to add a value tovalue - New Integer valueServerException, - UserExceptionServerExceptionUserExceptionvoid addBooleanAttribute(Long tid, Long oid, String attributeName, Boolean value) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute to add a value tovalue - New Boolean valueServerException, - UserExceptionServerExceptionUserExceptionvoid addReference(Long tid, Long oid, String referenceName, Long referenceOid) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the reference to add a reference toreferenceOid - ObjectID of the referenced ObjectServerException, - UserExceptionServerExceptionUserExceptionvoid removeAttribute(Long tid, Long oid, String attributeName, Integer index) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changeattributeName - Name of the attribute from which to remove an itemindex - Index of the item to removeServerException, - UserExceptionServerExceptionUserExceptionvoid removeReference(Long tid, Long oid, String referenceName, Integer index) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the reference from which to remove an itemindex - Index of the item to removeServerException, - UserExceptionServerExceptionUserExceptionvoid removeReferenceByOid(Long tid, Long oid, String referenceName, Long referencedOid) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the object to changereferenceName - Name of the reference from which to remove an itemreferencedOid - Index of the item to removeServerException, - UserExceptionServerExceptionUserExceptionvoid removeAllReferences(Long tid, Long oid, String referenceName) throws ServerException, UserException
tid - The TransactionIDoid - ObjectID of the objectreferenceName - Name of the reference from which to remove all referencesServerException, - UserExceptionServerExceptionUserException@Deprecated SDataObject getDataObjectByOid(Long roid, Long oid) throws ServerException, UserException
roid - ObjectID of the Revisionoid - ObjectID of the object to getServerException, - UserExceptionServerExceptionUserException@Deprecated SDataObject getDataObjectByGuid(Long roid, String guid) throws ServerException, UserException
roid - ObjectID of the Revisionguid - An IFC GUIDServerException, - UserExceptionServerExceptionUserException@Deprecated List<SDataObject> getDataObjectsByType(Long roid, String packageName, String className, Boolean flat) throws ServerException, UserException
roid - ObjectID of the RevisionclassName - Name of the class to query (e.g. "IfcWindow")ServerException, - UserExceptionServerExceptionUserException@Deprecated List<SDataObject> getDataObjects(Long roid) throws ServerException, UserException
roid - ObjectID of the RevisionServerException, - UserExceptionServerExceptionUserExceptionInteger count(Long roid, String className) throws UserException, ServerException
roid - ObjectID of the RevisionclassName - Name of the type to queryUserException, - ServerExceptionUserExceptionServerExceptionCopyright © 2018 OpenSource BIM. All rights reserved.