Quintiq file version 2.0
|
#parent: #root
|
StaticMethod SystemHasInterestOrOwnership (LibDMF_SetType setType_i, Boolean isDeleteAction_i, output String feedback_o) remote as Boolean
|
{
|
Description:
|
[*
|
Helper static method to check if a system has interest or ownership.
|
1) This is intended for use in systems as a precondition
|
2) Feedback(s) is not handled as only one feedback should ever be returned
|
*]
|
TextBody:
|
[*
|
// Timothy Guan Nov-18-2015 (created)
|
|
channel := setType_i.SystemOnChannel().CommunicationChannel();
|
|
value := channel.SystemHasSetTypeInterest( setType_i, feedback_o )
|
or channel.SystemIsSetTypeOwner( setType_i, isDeleteAction_i, feedback_o );
|
|
return value;
|
*]
|
}
|