@AccessLevel(value=EXTERNAL)
public interface BusinessObjectAssociationAdmin
BizObjAssociation
entity stores details of associations
between tasks and other rows on other database tables. This API provides
functions to manipulate the data on the BizObjAssociation
entity and its functions should be used rather than direct access to the
functions present on the actual entity.Modifier and Type | Method and Description |
---|---|
long |
countOpenTasksByBizObjectTypeAndID(long bizObjectID,
java.lang.String bizObjectType,
java.lang.String closedTaskStatusToIgnore,
java.lang.String completedTaskStatusToIgnore)
Returns a count of the tasks associated with the specified business object
type and business object identifier.
|
long |
create(java.lang.String bizObjectType,
long taskID,
long bizObjectID)
Creates a business object association.
|
void |
modify(long bizObjAssocID,
java.lang.String bizObjectType,
long taskID,
long bizObjectID)
Modifies the details of a business object association.
|
void |
modifyBusinessObjectID(long bizObjAssocID,
long bizObjectID)
Modifies the business object identifier of a business object association
instance.
|
BizObjectAssociationDetails |
read(long bizObjAssocID)
Returns the details of an business object association based on the
specified business object association identifier.
|
void |
remove(long bizObjAssocID)
Removes a business object association.
|
BizObjAssocSearchDetailsList |
searchByBizObjectTypeAndID(long bizObjectID,
java.lang.String bizObjectType)
Returns the details of any tasks associated with a business object.
|
BizObjectAssociationDetailsList |
searchByTaskID(long taskID)
Returns the details of all the business object associations for a
specified task.
|
BizObjectAssociationDetails read(long bizObjAssocID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
bizObjAssocID
- The identifier of the business object association.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.long create(java.lang.String bizObjectType, long taskID, long bizObjectID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
bizObjectType
- The business object type.taskID
- The identifier of the task to associate with a business
object.bizObjectID
- A particular instance of the specified business object
type.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.void remove(long bizObjAssocID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
bizObjAssocID
- The identifier of the business object association
which will be removed.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.void modify(long bizObjAssocID, java.lang.String bizObjectType, long taskID, long bizObjectID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
bizObjAssocID
- The identifier of the business object association.bizObjectType
- The business object type.taskID
- The identifier of the task to associate with a business
object.bizObjectID
- A particular instance of the specified business object
type.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.long countOpenTasksByBizObjectTypeAndID(long bizObjectID, java.lang.String bizObjectType, java.lang.String closedTaskStatusToIgnore, java.lang.String completedTaskStatusToIgnore) throws curam.util.exception.AppException, curam.util.exception.InformationalException
Completed
or Closed
will be excluded from the
results returned.bizObjectID
- The unique identifier of the business object type.bizObjectType
- The type of the business object.closedTaskStatusToIgnore
- A task status of closed
that
will be ignored.completedTaskStatusToIgnore
- A task status of completed
that will be ignored.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.void modifyBusinessObjectID(long bizObjAssocID, long bizObjectID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
bizObjAssocID
- The identifier of the business object association.bizObjectID
- A particular instance of the specified business object
type.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.BizObjAssocSearchDetailsList searchByBizObjectTypeAndID(long bizObjectID, java.lang.String bizObjectType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
bizObjectID
- A particular instance of the specified business object
type.bizObjectType
- The business object type.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.BizObjectAssociationDetailsList searchByTaskID(long taskID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
taskID
- The unique identifier of a task.curam.util.exception.AppException
- Exceptions that may occur when
invoking this function.curam.util.exception.InformationalException
- Generic Exception
Signature.