public interface LaborRemote extends StatefulMboRemote, LBS
Modifier and Type | Method and Description |
---|---|
void |
associateLoc(java.lang.String loc)
This method gets called to associate selected location for the current labor record
|
void |
calculateAvailabilityData() |
void |
checkCalendarAndShift()
This method checks whether this labor has a calendar and a shift associated with it.
|
double |
getAssignedHours(boolean insideCurrentDateWorkingTime,
java.util.Date wpStartDateTime,
java.util.Date wpEndDateTime,
MboSetRemote dayNAssignmentSet)
Sums up the assigned hours of the assignments in the assignment set.
|
java.util.Date |
getClientDTFromServerDT(java.util.Date serverDateTime,
java.util.GregorianCalendar scratchCal)
Generates a datetime in the client time zone from a datetime in the server time zone, using previously calculated
zone offsets.
|
MboSetRemote |
getDayNAssignmentSet(MboRemote theLaborMbo,
java.util.Date wpStartDateTime,
java.util.Date wpEndDateTime)
Fetch the mboset of those assignments for this laborcode that start within the working time of the dayN under
consideration.
|
java.util.Date[] |
getServerDateColumn() |
java.util.Date |
getServerDTFromClientDT(java.util.Date clientDateTime,
java.util.GregorianCalendar scratchCal)
Generates a datetime in the server time zone from a datetime in the client time zone, using previously calculated
zone offsets.
|
java.lang.String |
getUserNameForLabor()
Return the username for the labor
|
java.util.Date |
getWPEndDateTime(MboRemote WorkTimeMbo,
java.util.Date wpStartDateTime,
java.util.GregorianCalendar scratchCal,
AvailCalc availCalc)
Gets the end datetime for the workperiod.
|
void |
setServerDateColumn(java.util.Date[] newDateColumn) |
void |
setWorkHrs(java.util.Date workdate)
Sets the available hours for the 7 dayN attributes (all non-persistent).
|
void |
zeroYTD(boolean bReported,
boolean bOvertime,
boolean bOTRefused)
Zeros the selected YTD Fields for either the Current Query (append sWhere) or the Current Record (append the key
field)
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getStatusListName, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
add, addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
getAltitude, getAltitudeAccuracy, getHeading, getLastUpdate, getLocationAccuracy, getSpeed, saveLBSData
getAddressString, getLatitudeY, getLongitudeX, hasCoords, isGISDataReadonly, saveGISData
java.lang.String getUserNameForLabor() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
void zeroYTD(boolean bReported, boolean bOvertime, boolean bOTRefused) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
void associateLoc(java.lang.String loc) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
void setWorkHrs(java.util.Date workdate) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
java.util.Date getServerDTFromClientDT(java.util.Date clientDateTime, java.util.GregorianCalendar scratchCal) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
java.util.Date getClientDTFromServerDT(java.util.Date serverDateTime, java.util.GregorianCalendar scratchCal) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
java.util.Date getWPEndDateTime(MboRemote WorkTimeMbo, java.util.Date wpStartDateTime, java.util.GregorianCalendar scratchCal, AvailCalc availCalc) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
MboSetRemote getDayNAssignmentSet(MboRemote theLaborMbo, java.util.Date wpStartDateTime, java.util.Date wpEndDateTime) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
double getAssignedHours(boolean insideCurrentDateWorkingTime, java.util.Date wpStartDateTime, java.util.Date wpEndDateTime, MboSetRemote dayNAssignmentSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
java.util.Date[] getServerDateColumn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
void setServerDateColumn(java.util.Date[] newDateColumn) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
void checkCalendarAndShift() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
void calculateAvailabilityData() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException