|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.sandbox.InitialCheckinDataApplicator
Class responsible for applying InitialCheckinData to Versioned objects
when called upon by SandboxService. Subclass this and InitialCheckinData
to provide additional data to initial check-ins.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static InitialCheckinDataApplicator |
DEFAULT_INSTANCE
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
InitialCheckinDataApplicator()
|
Method Summary | |
protected void |
apply(NetFactor nfObj,
String beanPropertyName,
Object beanPropertyValue)
Internal utility for use by InitialCheckinDataApplicator and its subclasses to set bean properties on versioned object via Windchill Introspection and Java Reflection. |
void |
apply(WTKeyedMap initialCheckinToDataMap)
Responsible for applying specified data to specified versions. |
protected void |
applyIdentityAttributes(WTKeyedMap initialCheckinToDataMap)
Responsible for applying identity-related portions of specified data to specified versions. |
static InitialCheckinDataApplicator |
getDefaultInstance()
Returns a shared, default instance of this class. |
protected AdminDomainRef |
getDomain(InitialCheckinData data)
Internal utility for use by InitialCheckinDataApplicator and its subclasses to derive the target administrative domain from an InitialCheckinData instance. |
protected Folder |
getFolder(InitialCheckinData data)
Internal utility for use by InitialCheckinDataApplicator and its subclasses to derive the target folder domain from an InitialCheckinData instance (i.e. |
protected WTPrincipalReference |
getOrganizationReference(InitialCheckinData data)
Internal utility for use by InitialCheckinDataApplicator and its subclasses to derive the target organization from an InitialCheckinData instance. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
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(InitialCheckinDataApplicator thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private static void |
validateInitialCheckinFolder(Object version,
Folder folder)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final InitialCheckinDataApplicator DEFAULT_INSTANCE
Constructor Detail |
public InitialCheckinDataApplicator()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(InitialCheckinDataApplicator 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 static InitialCheckinDataApplicator getDefaultInstance()
public void apply(WTKeyedMap initialCheckinToDataMap) throws WTException, WTPropertyVetoException
initialCheckinToDataMap
- map from initial check ins to corresponding InitialCheckinData objects
WTException
WTPropertyVetoException
protected void applyIdentityAttributes(WTKeyedMap initialCheckinToDataMap) throws WTException, WTPropertyVetoException
initialCheckinToDataMap
- map from initial check ins to corresponding InitialCheckinData objects
WTException
WTPropertyVetoException
protected void apply(NetFactor nfObj, String beanPropertyName, Object beanPropertyValue) throws WTException, WTPropertyVetoException
nfObj
- object to apply new bean property value tobeanPropertyName
- name of bean property to changebeanPropertyValue
- new value of bean property to set
WTException
WTPropertyVetoException
protected AdminDomainRef getDomain(InitialCheckinData data) throws WTException
data
- initial check-in data
WTException
protected Folder getFolder(InitialCheckinData data) throws WTException
data
- initial check-in data
WTException
protected WTPrincipalReference getOrganizationReference(InitialCheckinData data) throws WTException
data
- initial check-in data
WTException
private static void validateInitialCheckinFolder(Object version, Folder folder) throws WTPropertyVetoException
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |