public class SKDLaborHrsSet extends MboSet implements SKDLaborHrsSetRemote
dmDeploySet, dmDeploySkipFieldValidation, fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, mboVec, mrdVec, perfStats, strNoBaseLangValueEntered, toBeSavedINSERTONLY, INSERTORUPDATE, UPDATEONLYALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USERAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
SKDLaborHrsSet(MboServerInterface ms) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSKDLaborHrsTemp(long SKDProjectId,
java.util.HashMap craftActivityListMap,
java.lang.String cond)
add to skdlaborhrstemp table.
|
void |
deleteSKDLaborHours()
This method deletes the data from skdlaborhrs table.
|
void |
deleteSKDLaborHrs(long SKDProjectId)
This method deletes the data from skdlaborhrs table for a given projectid.
|
void |
deleteSKDLaborHrsTemp()
This method deletes the data from skdlaborhrstemp table.
|
void |
deleteSKDLaborHrsTemp(long SKDProjectId)
This method deletes the data from skdlaborhrstemp table for a given projectid.
|
void |
executeStatement(java.lang.String sqlStatement)
This method executes the sql statement.
|
java.util.HashMap |
getCrewAvailData(java.lang.Long projectId,
boolean workTime)
get resource availability data.
|
protected Mbo |
getMboInstance(MboSet ms)
Factory to create the business objects
This must be overridden in derived class
|
double |
getMonthHrs(java.lang.String year,
java.lang.String actTimePeriod,
java.util.HashMap crafHoursMap,
java.lang.String craft,
java.util.Date minActDate,
java.util.Date maxActDate) |
java.util.HashMap |
getResourceAvailData(java.lang.Long projectId,
boolean workTime,
boolean isResourceDataPersistedInScheduler)
Get resource availability data.
|
double |
getWeekHrs(java.util.Date actStartWeekDate,
java.util.HashMap crafHoursMap,
java.lang.String craft,
java.util.Date minActDate,
java.util.Date maxActDate) |
boolean |
isOverlaping(com.ibm.tivoli.maximo.skd.app.SKDLaborHrsSet.WOActivity activity,
com.ibm.tivoli.maximo.skd.app.SKDLaborHrsSet.Shift shift)
checks if activity is in shift.
|
boolean |
isSKDTempEmpty()
This method checks in the Skd temp table is empty.
|
boolean |
isSKDTempEmpty(long SKDProjectId)
This method checks in the Skd temp table is empty for a given skdprojectid.
|
void |
loadShiftData(java.lang.Long SKDProjectId)
Load shift data
|
void |
populate(boolean isResourceDataPersistedInScheduler)
This method is called from the bean when user clicks on calculate labor hours button.
|
void |
populate(java.lang.String startWeekDay,
long SKDProjectId,
boolean isResourceDataPersistedInScheduler)
This method populates skdlaborhrs table.
|
void |
populateAvblCrewHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String actDate,
java.lang.String workDate)
This method populates the available crew hours.
|
void |
populateAvblHrsWeeklyMonthly(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String actDate,
java.lang.String workDate)
This method calculates the weekly and monthly labor and crew available hours.
|
void |
populateAvblLaborHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String actDate,
java.lang.String workDate)
This method populates the available labor hours.
|
void |
populateLaborHrs()
Populate LaborHrs
|
void |
populatePlannedAvblHrs(java.lang.String startWeekDay,
long SKDProjectId,
boolean isResourceDataPersistedInScheduler)
Creates the sql based on database and populate Labor Hrs.
|
void |
populatePlannedCrewHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String workDate,
boolean isResourceDataPersisted)
Calculate Planned crew hours.
|
void |
populatePlannedHrsWeeklyMonthy(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String workDate)
This method calculates the weekly and monthly labor and crew planned hours.
|
void |
populatePlannedLaborHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String workDate,
boolean isResourceDataPersistedInScheduler)
Calculate planned labor hours.
|
void |
populatePMAvblCrewHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String actDate,
java.lang.String workDate,
java.lang.String newdatesql)
This method populates the PM available crew hours.
|
void |
populatePMAvblLaborHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String actDate,
java.lang.String workDate,
java.lang.String newdatesql)
This method populates the PM available labor hours.
|
void |
populatePMPlannedCrewHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String workDate,
java.lang.String newdatesql)
Calculate PM Planned crew hours.
|
void |
populatePMPlannedLaborHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String workDate,
java.lang.String newdatesql)
Calculate PM planned labor hours.
|
void |
populateSKDLaborHrs()
This method calculates
|
void |
populateSKDLaborHrs(long SKDProjectId)
This method populates the skdlaborhrs table based on grouping data by daily, weekly and monthly
|
void |
recalculateSKDLaborHrsTemp(long SKDProjectId,
java.util.HashMap craftWorkHoursMap,
java.util.HashMap craftNonWorkHoursMap) |
void |
updateSKDTemp()
This method updates the labor and crew available and planned hours to zero if the value is null.
|
void |
updateSKDTemp(long SKDProjectId)
This method updates the labor and crew available and planned hours to zero if the value is null for a given project.
|
void |
updateTimePeriod()
This method updates the timeperid in skdlaborhrs based on timeperiod domain.
|
void |
updateTimePeriod(long SKDProjectId)
This method updates the timeperid in skdlaborhrs based on timeperiod domain for a skdprojectid.
|
abortSql, add, add, addAliasForML, addAliasForML, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addJoinedAttribute, addMbo, addMbo, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyAppSpecificAuthorization, applyRowSecurity, avg, canAdd, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearBatchedPreparedStmt, clearBatchedPreparedStmts, clearESigTransactionIdThread, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, count, countAndCleanup, countAndCleanup, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, deleteMbo, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, getAllAppAlwaysFieldFlags, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getFromClause, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxAppsWhere, getMaxMessage, getMbo, getMbo, getMboCtx, getMboForUniqueId, getMboLogger, getMboServer, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getPreparedStmt, getProfile, getProxy, getQbe, getQbe, getQbe, getQbeSiteAuthorization, getQbeWhere, getQualifiedWhere, getQueryTimeout, getRelationName, getRelationship, getRetainRecordLimit, getRowRestrictions, getSecurityLogger, getSelectClause, getSelectClause, getSelection, getSelectionWhere, getSelectWhereClause, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTranslator, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserPrefWhere, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, includeRelatedMbosOfOwnersChildren, incrementDeletedCount, init, init, initDataDictionary, insertDeltaRow, insertMbo, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isDownloadSet, isEAuditFieldModified, isEAuditNeeded, isEmpty, isESigFieldModified, isESigNeeded, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isInMemorySort, isJoinedAttribute, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isRetainRecordEnabled, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, newMboIndex, notExist, positionState, processML, remove, remove, remove, removeAllJoinedAttributes, removeCtx, removeJoinedAttribute, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setBindValueAsBytes, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDiscardableFlag, setDMDeploySet, setDMSkipFieldValidation, setDownloadSet, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboCtx, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setNoSaveFlag, setOrderBy, setOrderByNVL, setOverrideSelectClause, setOverrideSelectFromClause, setOverrideSelectWhereClause, setOwner, setPreserveOrderByCase, setProxy, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSkipFirstNRows, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, smartFind, smartFind, sort, splitOrderBy, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, updateMbo, updateMboSetRetainMboPositionData, updateRelatedMboSetRetainMboPositionData, useStoredQuery, validate, validateTransaction, verifyESigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, checkMethodAccess, cleanup, clear, clearLongOpPipe, close, commit, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, earliestDate, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, getApp, getAppAlwaysFieldFlags, getAppWhere, getCompleteWhere, getCurrentPosition, getDBFetchMaxRows, getDefaultValue, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getKeyAttributes, getList, getList, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, getZombie, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isDMDeploySet, isDMSkipFieldValidation, isDownloadSet, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, newMboIndex, notExist, positionState, processML, remove, remove, remove, reset, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, save, save, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setDownloadSet, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, verifyESiggetBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getString, isNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNullcommitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransactionpublic SKDLaborHrsSet(MboServerInterface ms) throws java.rmi.RemoteException
java.rmi.RemoteExceptionprotected Mbo getMboInstance(MboSet ms) throws MXException, java.rmi.RemoteException
MboSetgetMboInstance in class MboSetMXExceptionjava.rmi.RemoteExceptionpublic void populate(boolean isResourceDataPersistedInScheduler)
throws MXException,
java.rmi.RemoteException
isResourceDataPersistedInScheduler - - This flag is used to indicate whether the Resource and Reservations data
is persisted on Scheduler tables: SKDRESOURCE and SKDRESERVATION. If this is true, SQL queries should match data
with those tables for calculations, otherwise they should consider Maximo standard tables: CRAFT, AMCREWT and ASSIGNMENT.MXExceptionjava.rmi.RemoteExceptionpublic void populate(java.lang.String startWeekDay,
long SKDProjectId,
boolean isResourceDataPersistedInScheduler)
throws java.lang.Exception,
java.rmi.RemoteException
isResourceDataPersistedInScheduler - - This flag is used to indicate whether the Resource and Reservations data
is persisted on Scheduler tables: SKDRESOURCE and SKDRESERVATION. If this is true, SQL queries should match data
with those tables for calculations, otherwise they should consider Maximo standard tables: CRAFT, AMCREWT and ASSIGNMENT.startWeekDay - SKDProjectId - MXExceptionjava.rmi.RemoteExceptionjava.lang.Exceptionpublic void recalculateSKDLaborHrsTemp(long SKDProjectId,
java.util.HashMap craftWorkHoursMap,
java.util.HashMap craftNonWorkHoursMap)
throws java.lang.Exception,
java.rmi.RemoteException
java.lang.Exceptionjava.rmi.RemoteExceptionpublic double getWeekHrs(java.util.Date actStartWeekDate,
java.util.HashMap crafHoursMap,
java.lang.String craft,
java.util.Date minActDate,
java.util.Date maxActDate)
throws SchedulerException,
java.rmi.RemoteException,
java.text.ParseException
SchedulerExceptionjava.rmi.RemoteExceptionjava.text.ParseExceptionpublic double getMonthHrs(java.lang.String year,
java.lang.String actTimePeriod,
java.util.HashMap crafHoursMap,
java.lang.String craft,
java.util.Date minActDate,
java.util.Date maxActDate)
throws SchedulerException,
java.rmi.RemoteException,
java.text.ParseException
SchedulerExceptionjava.rmi.RemoteExceptionjava.text.ParseExceptionpublic java.util.HashMap getResourceAvailData(java.lang.Long projectId,
boolean workTime,
boolean isResourceDataPersistedInScheduler)
throws SchedulerException,
java.rmi.RemoteException
objectName - projectId - isResourceDataPersistedInScheduler - - This flag is used to indicate whether the Resource and Reservations data
is persisted on Scheduler tables: SKDRESOURCE and SKDRESERVATION. If this is true, SQL queries should match data
with those tables for calculations, otherwise they should consider Maximo standard tables: CRAFT, AMCREWT and ASSIGNMENT.SchedulerExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getCrewAvailData(java.lang.Long projectId,
boolean workTime)
throws SchedulerException,
java.rmi.RemoteException
objectName - projectId - SchedulerExceptionjava.rmi.RemoteExceptionpublic void deleteSKDLaborHours()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void deleteSKDLaborHrs(long SKDProjectId)
throws MXException,
java.rmi.RemoteException
SKDProjectId - MXExceptionjava.rmi.RemoteExceptionpublic void deleteSKDLaborHrsTemp()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void deleteSKDLaborHrsTemp(long SKDProjectId)
throws MXException,
java.rmi.RemoteException
SKDProjectId - MXExceptionjava.rmi.RemoteExceptionpublic void populateLaborHrs()
throws java.lang.Exception,
java.rmi.RemoteException
java.lang.Exceptionjava.rmi.RemoteExceptionpublic void populatePlannedAvblHrs(java.lang.String startWeekDay,
long SKDProjectId,
boolean isResourceDataPersistedInScheduler)
throws java.lang.Exception,
java.rmi.RemoteException
startWeekDay - SKDProjectId - MXExceptionRemoteExceptiojava.lang.Exceptionjava.rmi.RemoteExceptionpublic void populatePlannedLaborHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String workDate,
boolean isResourceDataPersistedInScheduler)
throws MXException,
java.rmi.RemoteException
SKDProjectId - yearDate, - monthDate - monthDateP - weekDate - dayDate - startWeekDate - dailyDate - MXExceptionjava.rmi.RemoteExceptionpublic void addSKDLaborHrsTemp(long SKDProjectId,
java.util.HashMap craftActivityListMap,
java.lang.String cond)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void populatePMPlannedLaborHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String workDate,
java.lang.String newdatesql)
throws MXException,
java.rmi.RemoteException
SKDProjectId - yearDate, - monthDate - monthDateP - weekDate - dayDate - startWeekDate - dailyDate - newdatesql - MXExceptionjava.rmi.RemoteExceptionpublic void populatePlannedCrewHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String workDate,
boolean isResourceDataPersisted)
throws MXException,
java.rmi.RemoteException
SKDProjectId - yearDate - monthDate - monthDateP - weekDate - dayDate - startWeekDate - dailyDate - MXExceptionjava.rmi.RemoteExceptionpublic void populatePMPlannedCrewHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String workDate,
java.lang.String newdatesql)
throws MXException,
java.rmi.RemoteException
SKDProjectId - yearDate - monthDate - monthDateP - weekDate - dayDate - startWeekDate - dailyDate - newdatesql - MXExceptionjava.rmi.RemoteExceptionpublic void populatePlannedHrsWeeklyMonthy(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String workDate)
throws MXException,
java.rmi.RemoteException
SKDProjectId - yearDate - monthDate - monthDateP - weekDate - dayDate - startWeekDate - workDate - MXExceptionjava.rmi.RemoteExceptionpublic void populateAvblLaborHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String actDate,
java.lang.String workDate)
throws java.lang.Exception,
java.rmi.RemoteException
SKDProjectId - yearDate - monthDate - monthDateP - weekDate - dayDate - startWeekDate - actDate - workDate - MXExceptionjava.rmi.RemoteExceptionjava.lang.Exceptionpublic void populatePMAvblLaborHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String actDate,
java.lang.String workDate,
java.lang.String newdatesql)
throws java.lang.Exception,
java.rmi.RemoteException
SKDProjectId - yearDate - monthDate - monthDateP - weekDate - dayDate - startWeekDate - actDate - workDate - newdate - MXExceptionjava.rmi.RemoteExceptionjava.lang.Exceptionpublic void populateAvblCrewHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String actDate,
java.lang.String workDate)
throws java.lang.Exception,
java.rmi.RemoteException
SKDProjectId - yearDate - monthDate - monthDateP - weekDate - dayDate - startWeekDate - actDate - workDate - MXExceptionjava.rmi.RemoteExceptionjava.lang.Exceptionpublic void populatePMAvblCrewHrsDaily(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String actDate,
java.lang.String workDate,
java.lang.String newdatesql)
throws java.lang.Exception,
java.rmi.RemoteException
SKDProjectId - yearDate - monthDate - monthDateP - weekDate - dayDate - startWeekDate - actDate - workDate - newdate - MXExceptionjava.rmi.RemoteExceptionjava.lang.Exceptionpublic void populateAvblHrsWeeklyMonthly(long SKDProjectId,
java.lang.String yearDate,
java.lang.String monthDate,
java.lang.String monthDateP,
java.lang.String weekDate,
java.lang.String dayDate,
java.lang.String startWeekDate,
java.lang.String actDate,
java.lang.String workDate)
throws java.lang.Exception,
java.rmi.RemoteException
SKDProjectId - yearDate - monthDate - monthDateP - weekDate - dayDate - startWeekDate - actDate - workDate - java.lang.Exceptionjava.rmi.RemoteExceptionpublic void updateSKDTemp()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateSKDTemp(long SKDProjectId)
throws MXException,
java.rmi.RemoteException
SKDProjectId - MXExceptionjava.rmi.RemoteExceptionpublic boolean isSKDTempEmpty()
throws MXException,
java.rmi.RemoteException
SKDProjectId - MXExceptionjava.rmi.RemoteExceptionpublic boolean isSKDTempEmpty(long SKDProjectId)
throws MXException,
java.rmi.RemoteException
SKDProjectId - MXExceptionjava.rmi.RemoteExceptionpublic void populateSKDLaborHrs()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void populateSKDLaborHrs(long SKDProjectId)
throws MXException,
java.rmi.RemoteException
SKDProjectId - MXExceptionjava.rmi.RemoteExceptionpublic void updateTimePeriod()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateTimePeriod(long SKDProjectId)
throws MXException,
java.rmi.RemoteException
SKDProjectId - MXExceptionjava.rmi.RemoteExceptionpublic void executeStatement(java.lang.String sqlStatement)
throws MXException,
java.rmi.RemoteException
sqlStatement - MXExceptionjava.rmi.RemoteExceptionpublic boolean isOverlaping(com.ibm.tivoli.maximo.skd.app.SKDLaborHrsSet.WOActivity activity,
com.ibm.tivoli.maximo.skd.app.SKDLaborHrsSet.Shift shift)
throws SchedulerException
acitivity - shift - SchedulerExceptionpublic void loadShiftData(java.lang.Long SKDProjectId)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException