Class StandardTrainingTrackingService
java.lang.Object
wt.services.StandardManager
com.ptc.qualitymanagement.qms.trainingtracking.StandardTrainingTrackingService
- All Implemented Interfaces:
com.ptc.qualitymanagement.qms.trainingtracking.TrainingTrackingService,Serializable,wt.fc._NetFactor,NetFactor,wt.services.Manager
public class StandardTrainingTrackingService
extends StandardManager
implements com.ptc.qualitymanagement.qms.trainingtracking.TrainingTrackingService, Serializable
Use the StandardTrainingTrackingService static factory method(s), not the
StandardTrainingTrackingService 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: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidprocessCreateRecordsForExpiredState(WTArrayList trainingRecordList) Check all Expired Training Records for users - if a new version of the document is in a Training State create a new Training Record for the User
Supported API: truestatic voidprocessCreateRecordsForRequiredState(WTArrayList trainingRecordList) Create Training Records for members of Organizations or Groups whose members do not have a Training Record for the target Document.static voidprocessReleasedDocumentsForPendingStates(WTArrayList trainingRecordList) Restart the Workflow for Training Records that are in the Pending State and the State of the target Document has been set to Released, IN TRAINING, or EFFECTIVE.static voidprocessUserRetrainingAndExpiredCases(WTArrayList trainingRecordList) Create a new Training Record for users who have Training Records that are past the retraining parameters defined for the document.Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType, initialize, performShutdownProcess
-
Method Details
-
processReleasedDocumentsForPendingStates
public static void processReleasedDocumentsForPendingStates(WTArrayList trainingRecordList) throws LifeCycleException, WTException, WTPropertyVetoException Restart the Workflow for Training Records that are in the Pending State and the State of the target Document has been set to Released, IN TRAINING, or EFFECTIVE.
Supported API: true- Parameters:
trainingRecordList-- Throws:
WTPropertyVetoExceptionLifeCycleExceptionWTException
-
processCreateRecordsForExpiredState
public static void processCreateRecordsForExpiredState(WTArrayList trainingRecordList) throws LifeCycleException, WTException, WTPropertyVetoException Check all Expired Training Records for users - if a new version of the document is in a Training State create a new Training Record for the User
Supported API: true- Parameters:
trainingRecordList-- Throws:
WTPropertyVetoExceptionLifeCycleExceptionWTException
-
processCreateRecordsForRequiredState
public static void processCreateRecordsForRequiredState(WTArrayList trainingRecordList) throws WTException, WTPropertyVetoException Create Training Records for members of Organizations or Groups whose members do not have a Training Record for the target Document. Only Training records in the Required State for Organizations and Groups will be processed.
Supported API: true- Parameters:
trainingRecordList-- Throws:
WTExceptionWTPropertyVetoException
-
processUserRetrainingAndExpiredCases
public static void processUserRetrainingAndExpiredCases(WTArrayList trainingRecordList) throws WTInvalidParameterException, LifeCycleException, WTException, WTPropertyVetoException Create a new Training Record for users who have Training Records that are past the retraining parameters defined for the document. Set the State to Expired for Training Records that are passed the Expired Date. Only Training Records in the Completed State will be processed.
Supported API: true- Parameters:
trainingRecordList-- Throws:
WTInvalidParameterExceptionLifeCycleExceptionWTExceptionWTPropertyVetoException
-