|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.replication.unit.WTUnitHelper
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
prevClassName
|
private static ReplicationProductStruct |
repProdStruct
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static WTUnitService |
service
Supported API: false |
Constructor Summary | |
WTUnitHelper()
|
Method Summary | |
static WTUnit |
createWTUnit(String a_Number,
String a_Name,
String a_Description,
String a_FolderPath,
String a_LCTemplate,
String a_LCState,
String a_fullTeamTemplateName,
UnitReplicationStatus a_ReceiverStatus,
UnitReplicationStatus a_ExportStatus,
UnitReplicationStatus a_ImportStatus)
Supported API: false |
static WTUnit |
createWTUnitLatestVersion(String a_Number,
String a_Name,
String a_Description,
String a_FolderPath,
String a_LCTemplate,
String a_LCState,
String a_fullTeamTemplateName,
UnitReplicationStatus a_ReceiverStatus,
UnitReplicationStatus a_ExportStatus,
UnitReplicationStatus a_ImportStatus)
Supported API: false |
static WTUnit |
createWTUnitWithGeneratedNumber(String a_Name,
String a_Description,
String a_FolderPath,
String a_LCTemplate,
String a_LCState,
String a_fullTeamTemplateName,
UnitReplicationStatus a_ReceiverStatus,
UnitReplicationStatus a_ExportStatus,
UnitReplicationStatus a_ImportStatus)
Supported API: false |
static void |
ExportEmpty(WTUnit wtUnit)
|
static void |
ExportFailed(UnitExportRecord uer)
|
static void |
ExportNotApplicable(UnitExportRecord uer)
|
static void |
ExportScheduled(UnitExportRecord uer)
|
static void |
ExportStarted(UnitExportRecord uer)
|
static void |
ExportSuccessful(UnitExportRecord uer)
|
static void |
findAllUnitsByName(String unitName)
Supported API: false |
static Enumeration |
findAllUnitVersions(String unitNumber)
Supported API: false |
static String |
getLifeCycleState(WTUnit unit)
Supported API: false |
static ReplicationProductStruct |
getReplicationProdStructClass(WTUnit wtUnit)
|
static WTUnit |
getUnitByNumber(String unitNumber)
Supported API: false |
static WTUnitMaster |
getUnitMasterByNumber(String unitNumber)
Supported API: false |
static String |
getUnitNumber()
|
static void |
ImportEmpty(WTUnit wtUnit)
|
static void |
ImportFailed(UnitImportRecord uir)
|
static void |
ImportNotApplicable(UnitImportRecord uir)
|
static void |
ImportScheduled(UnitImportRecord uir)
|
static void |
ImportStarted(UnitImportRecord uir)
|
static void |
ImportSuccessful(UnitImportRecord uir)
|
static boolean |
isUnitInPersonalCabinet(WTUnit unit)
|
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(WTUnitHelper thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
static void |
ReceiveEmpty(WTUnit wtUnit)
|
static void |
ReceiveFailed(WTUnit wtUnit)
|
static void |
ReceiveNotApplicable(WTUnit wtUnit)
|
static void |
ReceiveScheduled(UnitReceiveRecord urr)
|
static void |
ReceiveStarted(WTUnit wtUnit)
|
static void |
ReceiveSuccessful(UnitReceiveRecord urr)
|
static void |
SendEmpty(UnitSendRecord rec)
|
static void |
SendFailed(UnitSendRecord rec)
|
static void |
SendNotApplicable(UnitSendRecord rec)
|
static void |
SendScheduled(UnitSendRecord rec)
|
static void |
SendStarted(UnitSendRecord rec)
|
static void |
SendSuccessful(UnitSendRecord rec)
|
static void |
setStatus(UnitOperationRecord uor,
SchedStatusInfo status,
Timestamp complTime)
|
private static WTUnit |
setUnitAttributes(WTUnit a_unit,
String a_Description,
String a_FolderPath,
String a_LCTemplate,
String a_LCState,
String a_fullTeamTemplateName)
|
private static WTUnit |
setUnitStatuses(WTUnit a_unit,
UnitReplicationStatus a_ReceiverStatus,
UnitReplicationStatus a_ExportStatus,
UnitReplicationStatus a_ImportStatus)
|
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
public static final WTUnitService service
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static ReplicationProductStruct repProdStruct
private static String prevClassName
Constructor Detail |
public WTUnitHelper()
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(WTUnitHelper 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 WTUnit createWTUnit(String a_Number, String a_Name, String a_Description, String a_FolderPath, String a_LCTemplate, String a_LCState, String a_fullTeamTemplateName, UnitReplicationStatus a_ReceiverStatus, UnitReplicationStatus a_ExportStatus, UnitReplicationStatus a_ImportStatus) throws WTException, WTPropertyVetoException
a_Number
- a_Name
- a_Description
- a_FolderPath
- a_LCTemplate
- a_LCState
- a_fullTeamTemplateName
- a_ReceiverStatus
- a_ExportStatus
- a_ImportStatus
-
WTException
WTPropertyVetoException
public static WTUnit createWTUnitLatestVersion(String a_Number, String a_Name, String a_Description, String a_FolderPath, String a_LCTemplate, String a_LCState, String a_fullTeamTemplateName, UnitReplicationStatus a_ReceiverStatus, UnitReplicationStatus a_ExportStatus, UnitReplicationStatus a_ImportStatus) throws WTException, WTPropertyVetoException
a_Number
- a_Name
- a_Description
- a_FolderPath
- a_LCTemplate
- a_LCState
- a_fullTeamTemplateName
- a_ReceiverStatus
- a_ExportStatus
- a_ImportStatus
-
WTException
WTPropertyVetoException
public static WTUnit createWTUnitWithGeneratedNumber(String a_Name, String a_Description, String a_FolderPath, String a_LCTemplate, String a_LCState, String a_fullTeamTemplateName, UnitReplicationStatus a_ReceiverStatus, UnitReplicationStatus a_ExportStatus, UnitReplicationStatus a_ImportStatus) throws WTException, WTPropertyVetoException
a_Name
- a_Description
- a_FolderPath
- a_LCTemplate
- a_LCState
- a_fullTeamTemplateName
- a_ReceiverStatus
- a_ExportStatus
- a_ImportStatus
-
WTException
WTPropertyVetoException
public static void findAllUnitsByName(String unitName) throws WTException
unitName
-
WTException
public static Enumeration findAllUnitVersions(String unitNumber) throws WTException
unitNumber
-
WTException
public static String getLifeCycleState(WTUnit unit) throws WTException
unit
-
WTException
public static WTUnit getUnitByNumber(String unitNumber) throws WTException
unitNumber
-
WTException
public static WTUnitMaster getUnitMasterByNumber(String unitNumber) throws WTException
unitNumber
-
WTException
public static String getUnitNumber()
private static WTUnit setUnitStatuses(WTUnit a_unit, UnitReplicationStatus a_ReceiverStatus, UnitReplicationStatus a_ExportStatus, UnitReplicationStatus a_ImportStatus) throws WTException
WTException
private static WTUnit setUnitAttributes(WTUnit a_unit, String a_Description, String a_FolderPath, String a_LCTemplate, String a_LCState, String a_fullTeamTemplateName) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ExportSuccessful(UnitExportRecord uer) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void SendSuccessful(UnitSendRecord rec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ReceiveSuccessful(UnitReceiveRecord urr) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ImportSuccessful(UnitImportRecord uir) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ExportEmpty(WTUnit wtUnit) throws WTException
WTException
public static void SendEmpty(UnitSendRecord rec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ReceiveEmpty(WTUnit wtUnit) throws WTException
WTException
public static void ImportEmpty(WTUnit wtUnit) throws WTException
WTException
public static void ExportFailed(UnitExportRecord uer) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void SendFailed(UnitSendRecord rec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ReceiveFailed(WTUnit wtUnit) throws WTException
WTException
public static void ImportFailed(UnitImportRecord uir) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ExportStarted(UnitExportRecord uer) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void SendStarted(UnitSendRecord rec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ReceiveStarted(WTUnit wtUnit) throws WTException
WTException
public static void ImportStarted(UnitImportRecord uir) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ExportNotApplicable(UnitExportRecord uer) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void SendNotApplicable(UnitSendRecord rec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ReceiveNotApplicable(WTUnit wtUnit) throws WTException
WTException
public static void ImportNotApplicable(UnitImportRecord uir) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ExportScheduled(UnitExportRecord uer) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void SendScheduled(UnitSendRecord rec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ReceiveScheduled(UnitReceiveRecord urr) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void ImportScheduled(UnitImportRecord uir) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void setStatus(UnitOperationRecord uor, SchedStatusInfo status, Timestamp complTime) throws WTReplicationException, WTPropertyVetoException, WTException
WTReplicationException
WTPropertyVetoException
WTException
public static ReplicationProductStruct getReplicationProdStructClass(WTUnit wtUnit) throws WTException
WTException
public static boolean isUnitInPersonalCabinet(WTUnit unit) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |