com.ptc.windchill.counterpart.client
Class cCounterPartServiceProxy
java.lang.Object
com.ptc.windchill.counterpart.client.cCounterPartServiceProxy
- All Implemented Interfaces:
- nitidus.sil.be.io.wt.r7.iCounterPartServiceProxy
- public class cCounterPartServiceProxy
- extends Object
- implements nitidus.sil.be.io.wt.r7.iCounterPartServiceProxy
This class and all the necessary windchill classes should be loaded by a special
ClassLoader. To enforce this, do not put this class on the application classpath.
Method Summary |
nitidus.sil.be.io.iImportProjectComponents |
download(nitidus.sil.be.att.iAttachmentNameSpaceManager attachmentManager)
|
private static String |
getAttachmentSysID(nitidus.sil.be.att.iAttachment attachment)
|
private static long |
getAttachmentVersion(nitidus.sil.be.att.iAttachment attachment)
|
private static String |
getSystemIDFromAttachmentManager(nitidus.sil.be.att.iAttachmentNameSpaceManager attachmentManager)
|
void |
initializeDelta(nitidus.sil.be.io.iExportProjectComponents projectComponents,
nitidus.sil.be.att.iAttachmentNameSpaceManager attachmentManager)
|
boolean |
isLockedByMe()
|
void |
lock()
|
void |
login(String userName,
String passWord)
|
void |
unlock()
|
ArrayList |
upload(nitidus.sil.be.io.iExportProjectComponents projectComponents,
nitidus.sil.be.att.iAttachmentNameSpaceManager windchillAttachmentManager)
|
ArrayList |
validate(nitidus.sil.be.io.iExportProjectComponents projectComponents)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fMaxBatchSize
private static final long fMaxBatchSize
- See Also:
- Constant Field Values
oldUserName
private String oldUserName
oldPassWord
private String oldPassWord
cCounterPartServiceProxy
public cCounterPartServiceProxy()
login
public void login(String userName,
String passWord)
throws IOException
- Specified by:
login
in interface nitidus.sil.be.io.wt.r7.iCounterPartServiceProxy
- Throws:
IOException
lock
public void lock()
throws IOException
- Specified by:
lock
in interface nitidus.sil.be.io.wt.r7.iCounterPartServiceProxy
- Throws:
IOException
unlock
public void unlock()
throws IOException
- Specified by:
unlock
in interface nitidus.sil.be.io.wt.r7.iCounterPartServiceProxy
- Throws:
IOException
isLockedByMe
public boolean isLockedByMe()
- Specified by:
isLockedByMe
in interface nitidus.sil.be.io.wt.r7.iCounterPartServiceProxy
upload
public ArrayList upload(nitidus.sil.be.io.iExportProjectComponents projectComponents,
nitidus.sil.be.att.iAttachmentNameSpaceManager windchillAttachmentManager)
throws IOException
- Specified by:
upload
in interface nitidus.sil.be.io.wt.r7.iCounterPartServiceProxy
- Throws:
IOException
getSystemIDFromAttachmentManager
private static String getSystemIDFromAttachmentManager(nitidus.sil.be.att.iAttachmentNameSpaceManager attachmentManager)
getAttachmentSysID
private static String getAttachmentSysID(nitidus.sil.be.att.iAttachment attachment)
getAttachmentVersion
private static long getAttachmentVersion(nitidus.sil.be.att.iAttachment attachment)
validate
public ArrayList validate(nitidus.sil.be.io.iExportProjectComponents projectComponents)
throws IOException
- Specified by:
validate
in interface nitidus.sil.be.io.wt.r7.iCounterPartServiceProxy
- Throws:
IOException
download
public nitidus.sil.be.io.iImportProjectComponents download(nitidus.sil.be.att.iAttachmentNameSpaceManager attachmentManager)
throws IOException
- Specified by:
download
in interface nitidus.sil.be.io.wt.r7.iCounterPartServiceProxy
- Throws:
IOException
initializeDelta
public void initializeDelta(nitidus.sil.be.io.iExportProjectComponents projectComponents,
nitidus.sil.be.att.iAttachmentNameSpaceManager attachmentManager)
throws IOException
- Specified by:
initializeDelta
in interface nitidus.sil.be.io.wt.r7.iCounterPartServiceProxy
- Throws:
IOException