|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ESIService
Defines the ESI methods that are available to remote clients.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
void |
assignTarget(Persistable object,
ESITarget target)
Assign an object to an ESITarget for ESI target system destination determination. |
void |
assignTarget(Persistable object,
com.infoengine.object.factory.Group targets)
Assign an object to an Infoengine group of ESITarget objects for ESI target system destination determination. |
ESITarget |
createTarget(String name,
String description,
String system)
Creates an ESITarget from the arguments and saves the result in the database. |
ESITarget |
createTarget(String name,
String description,
String system,
WTContainerRef containerRef)
Creates and persists an ESITarget. |
void |
deleteTarget(ESITarget tgt)
Deletes an ESITarget from the database. |
Collection |
findESITargets(Persistable anObject)
Returns a collection of ESITargets for the given object. |
ESITarget |
getTarget(String system)
Return the ESI Target whose system attribute matches the argument. |
ESITransaction |
getTransaction(String id)
Return the ESITransaction whose idNumber attribute matches the argument. |
boolean |
isInRelease(Persistable obj)
Returns true if the given releasable object or any releasable iteration for the given master has been published to ERP . |
boolean |
isWfLaunched(wt.lifecycle.LifeCycleManaged anObject)
Check whether there is a workflow process with the status of OPEN_RUNNING for the given object. |
void |
removeTargetAssignment(com.infoengine.object.factory.Group ufids)
Deletes from the database the ESITargetAssignmentLink objects that are identified by the argument. |
void |
removeTargetAssignment(Persistable object,
ESITarget target)
Remove the relationship between an ESITarget and a persistable object. |
void |
removeTargetAssignment(String ufid)
Deletes from the database the ESITargetAssignmentLink that is identified by the argument. |
| Method Detail |
|---|
void assignTarget(Persistable object,
com.infoengine.object.factory.Group targets)
throws com.ptc.windchill.esi.tgt.ESITargetAssignmentException,
WTException
object - The object to which the target is being assignedtargets - The Infoengine group of ESITarget objects to be assigned to the object argument.
com.ptc.windchill.esi.tgt.ESITargetAssignmentException
WTException
void assignTarget(Persistable object,
ESITarget target)
throws com.ptc.windchill.esi.tgt.ESITargetAssignmentException,
WTException
object - The object to which the target is being assignedtarget - The ESITarget to be assigned to the object argument.
com.ptc.windchill.esi.tgt.ESITargetAssignmentException
WTException
ESITarget createTarget(String name,
String description,
String system)
throws WTException
name - The value to supply to the ESITarget name attribute.description - The value to supply to the ESITarget description attribute.system - The value to supply to the ESITarget ssytem attribute.
WTException
ESITarget createTarget(String name,
String description,
String system,
WTContainerRef containerRef)
throws WTException
name - The value to supply to the ESITarget name attribute.description - The value to supply to the ESITarget description attribute.system - The value to supply to the ESITarget system attribute.containerRef - The current container ESI target resided.
WTException
void deleteTarget(ESITarget tgt)
throws WTException
tgt - The object to be deleted.
WTException
Collection findESITargets(Persistable anObject)
throws com.ptc.windchill.esi.utl.ESIException,
WTException
anObject - The object whose ESITarget associations are to be found.
com.ptc.windchill.esi.utl.ESIException
WTException
ESITarget getTarget(String system)
throws WTException
system - The value of the ESITarget system attribute.
WTException
ESITransaction getTransaction(String id)
throws WTException
id - The idNumber attribute value for and ESITransaction that is to be fetched.
WTException
boolean isWfLaunched(wt.lifecycle.LifeCycleManaged anObject)
throws com.ptc.windchill.esi.utl.ESIException,
WTException
anObject - The object whose workflow status is to be determined.
com.ptc.windchill.esi.utl.ESIException
WTException
boolean isInRelease(Persistable obj)
throws com.ptc.windchill.esi.utl.ESIException,
WTException
obj - The persistable object.
com.ptc.windchill.esi.utl.ESIException
WTException
void removeTargetAssignment(Persistable object,
ESITarget target)
throws WTException
object - The object whose target association is to be removed.target - The ESITarget that is no longer to be associated with the persistable object in the object argument.
WTException
void removeTargetAssignment(String ufid)
throws WTException
ufid - The UFID of an ESITargetAssignmentLink that is to be deleted.
WTException
void removeTargetAssignment(com.infoengine.object.factory.Group ufids)
throws WTException
ufids - An Info*Engine group of Element objects. Each element has an Att object that contains the UFID of an ESITargetAssignmentLink that is to be deleted.
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||