|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.svc.ESIServiceFwd
Defines the ESI methods that are available to remote clients.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
(package private) static boolean |
SERVER
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
ESIServiceFwd()
|
Method Summary | |
void |
assignTarget(Persistable object,
ESITarget target)
Assign an object to an ESITarget for ESI target system destination determination. |
void |
assignTarget(Persistable object,
Group targets)
Assign an object to an Infoengine group of ESITarget objects for ESI target system destination determination. |
void |
connectTargetToOrganization(ESITarget tgt,
WTOrganization org)
Connects an ESITarget to a WTOrganization. Delegates all work to an instance of ESITargetUtility. |
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 |
createTransaction(WTObject object)
Creates and saves in the database a new ESITransaction that is linked to a WTObject. |
void |
deleteTarget(ESITarget tgt)
Deletes an ESITarget from the database. |
void |
disconnectTargetFromOrganization(ESITarget tgt,
WTOrganization org)
Deletes the ESITargetOrganizationLink that connects an ESITarget object to a WTOrganization object. |
Collection |
findESITargets(Persistable anObject)
Returns a collection of ESITargets for the given object. |
private static Manager |
getManager()
|
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(LifeCycleManaged anObject)
Check whether there is a workflow process with the status of OPEN_RUNNING for the given object. |
void |
release(Persistable obj)
Release a business object to ERP. |
void |
release(Persistable obj,
String userName,
Locale locale)
Release a business object to ERP. |
void |
removeTargetAssignment(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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public ESIServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public void assignTarget(Persistable object, Group targets) throws ESITargetAssignmentException, WTException
assignTarget
in interface ESIService
object
- The object to which the target is being assignedtargets
- The Infoengine group of ESITarget objects to be assigned to the object argument.
ESITargetAssignmentException
WTException
public void assignTarget(Persistable object, ESITarget target) throws ESITargetAssignmentException, WTException
assignTarget
in interface ESIService
object
- The object to which the target is being assignedtarget
- The ESITarget to be assigned to the object argument.
ESITargetAssignmentException
WTException
public void connectTargetToOrganization(ESITarget tgt, WTOrganization org) throws WTException
connectTargetToOrganization
in interface ESIService
tgt
- The target to associate.org
- The WTOrganization to associate.
WTException
public ESITarget createTarget(String name, String description, String system) throws WTException
createTarget
in interface ESIService
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
public ESITarget createTarget(String name, String description, String system, WTContainerRef containerRef) throws WTException
createTarget
in interface ESIService
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
public void createTransaction(WTObject object) throws WTException
createTransaction
in interface ESIService
object
- The primary business object associated with the ESI transaction.
WTException
public void deleteTarget(ESITarget tgt) throws WTException
deleteTarget
in interface ESIService
tgt
- The object to be deleted.
WTException
public void disconnectTargetFromOrganization(ESITarget tgt, WTOrganization org) throws WTException
disconnectTargetFromOrganization
in interface ESIService
tgt
- The ESITarget.org
- The WTOrganization.
WTException
public Collection findESITargets(Persistable anObject) throws ESIException, WTException
findESITargets
in interface ESIService
anObject
- The object whose ESITarget associations are to be found.
ESIException
WTException
public ESITarget getTarget(String system) throws WTException
getTarget
in interface ESIService
system
- The value of the ESITarget system attribute.
WTException
public ESITransaction getTransaction(String id) throws WTException
getTransaction
in interface ESIService
id
- The idNumber attribute value for and ESITransaction that is to be fetched.
WTException
public boolean isWfLaunched(LifeCycleManaged anObject) throws ESIException, WTException
isWfLaunched
in interface ESIService
anObject
- The object whose workflow status is to be determined.
ESIException
WTException
public boolean isInRelease(Persistable obj) throws ESIException, WTException
isInRelease
in interface ESIService
obj
- The persistable object.
ESIException
WTException
public void release(Persistable obj) throws ESIException, WTException
release
in interface ESIService
obj
- The releasable object. For r7.0 it should be WTPart , WTChangeOrder2.
ESIException
WTException
public void release(Persistable obj, String userName, Locale locale) throws ESIException, WTException
release
in interface ESIService
obj
- The releasable object. For r7.0 it should be WTPart , WTChangeOrder2.userName
- The user ID of the individual responsible for publishing the object.locale
- The locale to use for publishing the object.
ESIException
WTException
public void removeTargetAssignment(Persistable object, ESITarget target) throws WTException
removeTargetAssignment
in interface ESIService
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
public void removeTargetAssignment(String ufid) throws WTException
removeTargetAssignment
in interface ESIService
ufid
- The UFID of an ESITargetAssignmentLink that is to be deleted.
WTException
public void removeTargetAssignment(Group ufids) throws WTException
removeTargetAssignment
in interface ESIService
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 |