|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.enterprise.Simple
com.ptc.windchill.counterpart.CounterPartDelta
Use the newCounterPartDelta
static factory method(s), not
the CounterPartDelta
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
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
DEBUG
|
static long |
EXTERNALIZATION_VERSION_UID
|
private AttachmentLocator[] |
fAttachmentLocatorList
|
private nitidus.sil.be.clf.iMasterClassificationManager |
fClassification
|
private static Persistable |
fDownloadLock
|
private byte[] |
fPublicClassification
|
private nitidus.sil.be.unit.iUnitManager |
fUnits
|
private int |
id
|
private static String |
kAttachmentLocatorList
|
private static String |
kAttachmentLock
|
private static String |
kClassification
|
private static String |
kDownloadLock
|
private static String |
kPublicClassification
|
private static String |
kSavedClassification
|
private static String |
kSavedPublicClassification
|
private static String |
kSavedUnits
|
static String |
kUninitializedDeltaSystemID
|
private static String |
kUnits
|
static String |
kUploadLock
|
private Lock |
lock
|
private static DebugWriter |
LOG
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from class wt.enterprise.Simple |
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.locks.Lockable |
LOCK, LOCK_DATE, LOCK_NOTE, LOCKED, LOCKER, LOCKER_EMAIL, LOCKER_FULL_NAME, LOCKER_NAME |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.BusinessInformation |
BUSINESS_TYPE, IDENTITY |
Fields inherited from interface wt.notify.Notifiable |
EVENT_SET |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
CounterPartDelta()
|
Method Summary | |
private void |
changeContentHolderName(String oldHolderType,
String newHolderType)
|
private CounterPartAttachment |
createAttachment(String key,
long version,
long lastModified)
|
protected String |
createAttachmentFromImage(String suggestedKey,
byte[] image)
|
private CounterPartContent |
createContentHolder(String holderType)
|
protected void |
deleteAttachmentLock()
|
private void |
deleteContentHolder(String holderType)
|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
protected void |
flagAllAttachmentsForDeletion()
|
private void |
flagAttachment(CounterPartAttachment attachment)
|
private void |
flagAttachmentForDeletion(SerializedAttachment serializedAttachment)
|
private CounterPartAttachment |
getAttachment(String key)
|
protected byte[] |
getAttachmentBytes(String key)
|
protected AttachmentLocator[] |
getAttachmentLocatorList()
|
protected AttachmentLocator[] |
getAttachmentLocators()
|
protected String |
getAttachmentLockSessionID()
|
protected long |
getAttachmentLockTimestamp()
|
private byte[] |
getBytes(InputStream is)
|
protected nitidus.sil.be.clf.iMasterClassificationManager |
getClassification()
|
private nitidus.sil.be.clf.iMasterClassificationManager |
getClassification(nitidus.sil.be.unit.iUnitManager unitManager,
String key)
|
protected nitidus.sil.be.clf.iMasterClassificationManager |
getClassificationWithUnits()
|
String |
getConceptualClassname()
Deprecated. |
private CounterPartContent |
getContentHolder(String holderType)
|
private CounterPartContent |
getContentHolder(String holderType,
boolean createIfNecessary)
|
Lock |
getLock()
Gets the object for the association that plays role: LOCK. |
Timestamp |
getLockDate()
Gets the value of the attribute: LOCK_DATE. |
WTPrincipalReference |
getLocker()
Gets the value of the attribute: LOCKER. |
String |
getLockerEMail()
Gets the value of the attribute: LOCKER_EMAIL. |
String |
getLockerFullName()
Gets the value of the attribute: LOCKER_FULL_NAME. |
String |
getLockerName()
Gets the value of the attribute: LOCKER_NAME. |
String |
getLockNote()
Gets the value of the attribute: LOCK_NOTE. |
protected byte[] |
getPublicClassification()
|
protected nitidus.sil.be.clf.iMasterClassificationManager |
getSavedClassification()
|
protected nitidus.sil.be.unit.iUnitManager |
getUnits()
|
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize()
Supported API: false |
protected String |
initializeRunLocks()
|
boolean |
isLocked()
Gets the value of the attribute: LOCKED. |
private void |
lockValidate(Lock a_Lock)
|
static CounterPartDelta |
newCounterPartDelta()
Default factory for the class. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(CounterPartDelta thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
protected void |
removeExpiredFlaggedAttachments()
|
protected void |
saveClassification(nitidus.sil.be.clf.iMasterClassificationManager classification)
|
protected void |
saveClassificationWithUnits(nitidus.sil.be.clf.iMasterClassificationManager classification)
|
protected void |
savePublicClassification(byte[] publicClassification)
|
protected void |
saveUnits(nitidus.sil.be.unit.iUnitManager units)
|
private void |
setAttachment(SerializedAttachment serializedAttachment,
InputStream is)
|
protected void |
setAttachmentLocatorList(AttachmentLocator[] attachmentLocatorList)
|
protected void |
setAttachmentLock(String sessionID)
|
protected void |
setAttachments(SerializedAttachment[] attachments)
|
protected void |
setClassification(nitidus.sil.be.clf.iMasterClassificationManager classification)
|
private void |
setClassification(nitidus.sil.be.clf.iMasterClassificationManager classification,
String key)
|
protected void |
setClassificationWithUnits(nitidus.sil.be.clf.iMasterClassificationManager classification)
|
private void |
setContent(String holderType,
InputStream is)
|
void |
setLock(Lock a_Lock)
Sets the object for the association that plays role: LOCK. |
protected void |
setPublicClassification(byte[] publicClassification)
|
private void |
setPublicClassification(byte[] publicClassification,
String key)
|
protected void |
setSavedElements()
|
protected void |
setSystemID(String systemID)
|
protected void |
setUnits(nitidus.sil.be.unit.iUnitManager units)
|
private void |
setUnits(nitidus.sil.be.unit.iUnitManager units,
String key)
|
protected void |
takeDownloadLock()
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.enterprise.Simple |
getBusinessType, getDomainRef, getEventSet, getIdentity, isInheritedDomain, readVersion, setDomainRef, setEventSet, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private int id
private Lock lock
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final boolean DEBUG
private static final DebugWriter LOG
private nitidus.sil.be.clf.iMasterClassificationManager fClassification
private nitidus.sil.be.unit.iUnitManager fUnits
private byte[] fPublicClassification
private AttachmentLocator[] fAttachmentLocatorList
private static Persistable fDownloadLock
private static final String kClassification
private static final String kSavedClassification
private static final String kUnits
private static final String kSavedUnits
private static final String kPublicClassification
private static final String kSavedPublicClassification
private static final String kAttachmentLocatorList
private static final String kDownloadLock
private static final String kAttachmentLock
public static final String kUploadLock
public static final String kUninitializedDeltaSystemID
Constructor Detail |
public CounterPartDelta()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Simple
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Simple
input
-
IOException
ClassNotFoundException
protected boolean readVersion(CounterPartDelta thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Simple
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Simple
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public static CounterPartDelta newCounterPartDelta() throws WTException
WTException
public boolean isLocked()
isLocked
in interface Lockable
public Timestamp getLockDate()
getLockDate
in interface Lockable
public String getLockNote()
getLockNote
in interface Lockable
public WTPrincipalReference getLocker()
getLocker
in interface Lockable
public String getLockerEMail()
getLockerEMail
in interface Lockable
public String getLockerName()
getLockerName
in interface Lockable
public String getLockerFullName()
getLockerFullName
in interface Lockable
public Lock getLock()
getLock
in interface Lockable
Lock
public void setLock(Lock a_Lock) throws WTPropertyVetoException
setLock
in interface Lockable
a_Lock
-
WTPropertyVetoException
Lock
private void lockValidate(Lock a_Lock) throws WTPropertyVetoException
a_Lock
-
WTPropertyVetoException
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class Simple
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class Simple
protected void initialize() throws WTException
Simple
initialize
in class Simple
WTException
protected final String initializeRunLocks() throws WTException
WTException
protected final void setSystemID(String systemID) throws WTException
WTException
protected void takeDownloadLock() throws WTException
WTException
protected nitidus.sil.be.unit.iUnitManager getUnits() throws WTException
WTException
protected void setUnits(nitidus.sil.be.unit.iUnitManager units) throws WTException
WTException
protected void saveUnits(nitidus.sil.be.unit.iUnitManager units) throws WTException
WTException
private void setUnits(nitidus.sil.be.unit.iUnitManager units, String key) throws WTException
WTException
protected nitidus.sil.be.clf.iMasterClassificationManager getClassificationWithUnits() throws WTException
WTException
protected nitidus.sil.be.clf.iMasterClassificationManager getClassification() throws WTException
WTException
protected nitidus.sil.be.clf.iMasterClassificationManager getSavedClassification() throws WTException
WTException
private nitidus.sil.be.clf.iMasterClassificationManager getClassification(nitidus.sil.be.unit.iUnitManager unitManager, String key) throws WTException
WTException
protected void setClassificationWithUnits(nitidus.sil.be.clf.iMasterClassificationManager classification) throws WTException
WTException
protected void saveClassificationWithUnits(nitidus.sil.be.clf.iMasterClassificationManager classification) throws WTException
WTException
protected void setClassification(nitidus.sil.be.clf.iMasterClassificationManager classification) throws WTException
WTException
protected void saveClassification(nitidus.sil.be.clf.iMasterClassificationManager classification) throws WTException
WTException
private void setClassification(nitidus.sil.be.clf.iMasterClassificationManager classification, String key) throws WTException
WTException
protected byte[] getPublicClassification() throws WTException
WTException
protected void setPublicClassification(byte[] publicClassification) throws WTException
WTException
protected void savePublicClassification(byte[] publicClassification) throws WTException
WTException
private void setPublicClassification(byte[] publicClassification, String key) throws WTException
WTException
protected void setSavedElements() throws WTException
WTException
protected AttachmentLocator[] getAttachmentLocatorList() throws WTException
WTException
protected void setAttachmentLocatorList(AttachmentLocator[] attachmentLocatorList) throws WTException
WTException
protected String getAttachmentLockSessionID() throws WTException
WTException
protected long getAttachmentLockTimestamp() throws WTException
WTException
protected void deleteAttachmentLock() throws WTException
WTException
protected void setAttachmentLock(String sessionID) throws WTException
WTException
private void setContent(String holderType, InputStream is) throws WTException
WTException
private final CounterPartContent getContentHolder(String holderType) throws WTException
WTException
private final CounterPartContent getContentHolder(String holderType, boolean createIfNecessary) throws WTException
WTException
private final CounterPartContent createContentHolder(String holderType) throws WTException
WTException
private final void deleteContentHolder(String holderType) throws WTException
WTException
private final void changeContentHolderName(String oldHolderType, String newHolderType) throws WTException
WTException
protected void setAttachments(SerializedAttachment[] attachments) throws WTException
WTException
protected AttachmentLocator[] getAttachmentLocators() throws WTException
WTException
private void setAttachment(SerializedAttachment serializedAttachment, InputStream is) throws WTException
WTException
protected String createAttachmentFromImage(String suggestedKey, byte[] image) throws WTException
WTException
protected void flagAllAttachmentsForDeletion() throws WTException
WTException
private void flagAttachmentForDeletion(SerializedAttachment serializedAttachment) throws WTException
WTException
private void flagAttachment(CounterPartAttachment attachment) throws WTException
WTException
protected void removeExpiredFlaggedAttachments() throws WTException
WTException
protected byte[] getAttachmentBytes(String key) throws WTException
WTException
private final CounterPartAttachment getAttachment(String key) throws WTException
WTException
private final CounterPartAttachment createAttachment(String key, long version, long lastModified) throws WTException
WTException
private byte[] getBytes(InputStream is) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |