|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
com.ptc.windchill.counterpart.StandardCounterPartService
Use the newStandardCounterPartService
static factory method(s),
not the StandardCounterPartService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Nested Class Summary | |
private class |
StandardCounterPartService.PersistenceChangeListener
Listens on Persistance manager events |
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
DEBUG
|
private static long |
fCounterPartContextID
|
private static long |
fLastNonCounterPartChange
|
private static HashMap |
fProtectedClasses
|
private static String |
fSystemID
|
private static DebugWriter |
LOG
|
private static String |
RESOURCE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardCounterPartService()
|
Method Summary | |
private static boolean |
checkBytes(byte[] imageBytes,
byte[] attachmentBytes)
|
private void |
checkCallerOwnsDeltaLock(WTPrincipalReference caller,
CounterPartDelta delta)
|
private void |
checkUploadHasntTimedOut(String sessionID,
CounterPartDelta delta)
|
private void |
createSnapshot(CounterPartDelta delta)
|
CounterPartBundle |
download()
Supported API: false |
SerializedAttachment[] |
downloadAttachments(AttachmentLocator[] attachmentLocators)
Supported API: false |
private cUploadLock |
ensurePreviousUploadHasFinished(cUploadLock uploadLock,
CounterPartDelta delta)
|
CounterPartErrorReport |
finishUpload(String sessionID)
Supported API: false |
private void |
fixClassImagesFromAttachments(CounterPartDelta delta)
|
String |
getConceptualClassname()
Deprecated. |
private CounterPartDelta |
getDelta(AccessPermission access)
|
private nitidus.sil.be.clf.iMasterClassificationManager |
getUploadSnapshot(nitidus.sil.be.clf.iMasterClassificationManager cfnManager)
|
void |
initializeDelta(CounterPartBundle bundle)
Supported API: false |
boolean |
isLockedByMe()
Supported API: false |
void |
lock()
Supported API: false |
static StandardCounterPartService |
newStandardCounterPartService()
Default factory for the class. |
protected void |
performShutdownProcess()
see wt.services.StandardManager |
protected void |
performStartupProcess()
see wt.services.StandardManager |
void |
registerEvents(ManagerService managerService)
see wt.services.StandardManager |
private void |
setMinimumClassificationInDelta(CounterPartDelta delta)
|
void |
unlock()
Supported API: false |
CounterPartUploadResults |
upload(CounterPartBundle bundle)
Supported API: false |
CounterPartErrorReport |
uploadAttachments(String sessionID,
SerializedAttachment[] attachments)
Supported API: false |
CounterPartErrorReport |
validate(CounterPartBundle bundle)
Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static String fSystemID
private static long fLastNonCounterPartChange
private static long fCounterPartContextID
private static HashMap fProtectedClasses
private static final boolean DEBUG
private static final DebugWriter LOG
Constructor Detail |
public StandardCounterPartService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardCounterPartService newStandardCounterPartService() throws WTException
WTException
public void lock() throws WTException
lock
in interface CounterPartService
WTException
public void unlock() throws WTException
unlock
in interface CounterPartService
WTException
public CounterPartUploadResults upload(CounterPartBundle bundle) throws WTException
upload
in interface CounterPartService
bundle
-
WTException
public CounterPartErrorReport uploadAttachments(String sessionID, SerializedAttachment[] attachments) throws WTException
uploadAttachments
in interface CounterPartService
sessionID
- attachments
-
WTException
public CounterPartErrorReport finishUpload(String sessionID) throws WTException
finishUpload
in interface CounterPartService
sessionID
-
WTException
public CounterPartBundle download() throws WTException
download
in interface CounterPartService
WTException
public SerializedAttachment[] downloadAttachments(AttachmentLocator[] attachmentLocators) throws WTException
downloadAttachments
in interface CounterPartService
attachmentLocators
-
WTException
public CounterPartErrorReport validate(CounterPartBundle bundle) throws WTException
validate
in interface CounterPartService
bundle
-
WTException
public boolean isLockedByMe() throws WTException
isLockedByMe
in interface CounterPartService
WTException
public void initializeDelta(CounterPartBundle bundle) throws WTException
initializeDelta
in interface CounterPartService
bundle
-
WTException
public void registerEvents(ManagerService managerService)
registerEvents
in interface Manager
registerEvents
in class StandardManager
managerService
- the ManagerService with which to register events.protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
protected void performShutdownProcess() throws ManagerException
performShutdownProcess
in class StandardManager
ManagerException
private final CounterPartDelta getDelta(AccessPermission access) throws WTException
WTException
private void setMinimumClassificationInDelta(CounterPartDelta delta) throws WTException
WTException
private final void createSnapshot(CounterPartDelta delta) throws WTException
WTException
private final nitidus.sil.be.clf.iMasterClassificationManager getUploadSnapshot(nitidus.sil.be.clf.iMasterClassificationManager cfnManager) throws WTException
WTException
private final void fixClassImagesFromAttachments(CounterPartDelta delta) throws WTException
WTException
private static final boolean checkBytes(byte[] imageBytes, byte[] attachmentBytes)
private final void checkCallerOwnsDeltaLock(WTPrincipalReference caller, CounterPartDelta delta) throws WTException
WTException
private final void checkUploadHasntTimedOut(String sessionID, CounterPartDelta delta) throws WTException
WTException
private final cUploadLock ensurePreviousUploadHasFinished(cUploadLock uploadLock, CounterPartDelta delta) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |