@AccessLevel(value=EXTERNAL)
public abstract class BusinessObjectAssociationAdmin
extends curam.util.workflow.base.BusinessObjectAssociationAdmin
BusinessObjectAssociationAdmin
.Constructor and Description |
---|
BusinessObjectAssociationAdmin() |
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.
|
public 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.public 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.public 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.public 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.public 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.public 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.public 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.public 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.