public class AMCrew extends StatefulMbo implements AMCrewRemote
Modifier and Type | Field and Description |
---|---|
boolean |
availabilityDataCalculated
The calculateAvailabilityData() method is called once for each labor row on the Available Crew
dialog of the Assignment tab and is triggered by the first access to any of the fields.
|
static java.lang.String |
crewDurCrewPos |
static java.lang.String |
crewDurDynamic |
static java.lang.String |
crewDurStatic |
java.util.Date |
dateTo |
onListTab, statusChangeButtonSigoption, targetStatusOption
MULTILANGCOPY, phantomList, phantomQueue
ALLROWS, 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, USER
Modifier and Type | Method and Description |
---|---|
void |
add()
This is called when a new Mbo is added to the Mboset collection.
|
void |
associateCrewType()
Associate the Crew Type copying all requirements (crafts, qualifications and tools)
|
void |
calculateAvailabilityData()
The method calculates the values for the nonpersistent fields StartTime, Availability (i.e.
|
void |
canDelete()
Business Rules : 1.
|
void |
changeStatus(java.lang.String status,
java.util.Date date,
java.lang.String memo,
long accessModifier)
Changes the status of the object.
|
void |
changeStatus(java.lang.String newStatus,
java.lang.String memo) |
void |
checkCalendarAndShift()
This method checks whether this crew has a calendar and a shift
associated with it.
|
void |
childHasChanged() |
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
MboRemote |
duplicate()
Duplicate method only throws exception now
|
java.lang.String |
getAddressString()
There is no address string with LBSLocation.
|
java.lang.Double |
getAltitude() |
java.lang.Double |
getAltitudeAccuracy() |
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, but
only those portions of them that are actually inside working time.
|
double |
getAvailableHours(java.util.Date startDate)
Get either the number of workhours for this day, either from the modavail
table, if there is an entry, or from the workperiod table.
|
MboRemote |
getAvailableMbo(java.util.Date startDate)
Get either the WorkPeriod mbo or the ModAvail mbo if there is one.
|
java.util.List<MboRemote> |
getAvailableMboList(java.util.Date startDate)
This returns either the workperiod or modavail mbo for the given parameters.
|
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.
|
MboRemote |
getCompositeWP(java.util.List<MboRemote> modAvailList,
java.util.Date workDate)
This takes a List of ModAvail mbos and combines them with the WorkPeriod of the same workdate,
if any, into a single "composite" workperiod.
|
java.util.Date |
getCrewDate()
Get crew date
|
int |
getCrewMemberCount(java.util.Date desiredDate)
Get members count related to MaxVar CREWDURATION for a specific date
|
java.util.Date |
getCurrentShiftEndDate(java.util.Date endDate) |
java.util.Date |
getCurrentShiftStartDate(java.util.Date effectiveDate) |
java.util.Date |
getDateTime(java.util.Date workdt,
java.util.Date sttime) |
java.util.Date |
getDateTo() |
MboSetRemote |
getDayNAssignmentSet(MboRemote theCrewMbo,
java.util.Date wpStartDateTime,
java.util.Date wpEndDateTime)
Fetch the mboset of those assignments for this crew that start within the
working time of the dayN under consideration.
|
java.util.Date |
getEarliestUnassignedDateTime(MboSetRemote dayNAssignmentSet,
java.util.Date rangeStartDateTime,
java.util.Date rangeFinishDateTime)
This is passed a mboSet of assignments and a datetime range.
|
double[] |
getEligibleHours() |
java.lang.Double |
getHeading() |
java.util.Collection |
getLabors(java.util.Date currentDate)
Get all labors assigned on this crew for the currentDate
|
java.util.Date |
getLastUpdate() |
java.lang.Double |
getLatitudeY()
Return a double value with the the Latitude (or Y) coordinate of the current entitty.
|
java.lang.Double |
getLocationAccuracy() |
java.lang.Double |
getLongitudeX()
Return a double value with the the Longitude (or X) coordinate of the current entitty.
|
MboSetRemote |
getMboSet(java.lang.String name)
Get a related MboSet for the object using the named relationship.
|
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.Double |
getSpeed() |
java.lang.String |
getStatusListName()
Return the name of the value list which contains the list of status's.
|
java.util.Collection |
getTools(java.util.Date currentDate)
Get all tools assigned on this crew for the currentDate
|
MboRemote |
getValidContract(java.util.Date startDate)
Get the valid contract for the Crew.
|
java.util.Date |
getWPEndDateTime(MboRemote WorkTimeMbo,
java.util.Date wpStartDateTime,
java.util.GregorianCalendar scratchCal)
Gets the end datetime for the workperiod.
|
java.lang.Boolean |
hasCoords()
Check if this autolocatable object has coordinates filled (LAT,LONG)
|
void |
init()
Initialize the AMCrew Mbo object
|
boolean |
isAMGridCreated() |
boolean |
isGISDataReadonly()
Indicate if the current GIS entity is editable or not.
|
void |
refreshkRequirements()
Refresh the required crafts, qualifications and tools.
|
void |
saveGISData(java.lang.String address,
java.lang.String lat,
java.lang.String lng)
The address here is not saved as this will be writing out to LBSLocation table which
does not contain an address.
|
void |
saveLBSData(java.lang.Double lat,
java.lang.Double lng,
java.lang.Double locationAccuracy,
java.lang.Double altitudeAccuracy,
java.lang.Double altitude,
java.lang.Double heading,
java.lang.Double speed) |
void |
setAMGridCreated(boolean gridCreated) |
void |
setCrewDate(java.util.Date date)
Set crew date
|
void |
setDateTo(java.util.Date dateTo) |
void |
setServerDateColumn(java.util.Date[] newServerDateColumn) |
void |
setWorkHrs(java.util.Date DayOneClientDate)
Sets the available hours for the 7 dayN attributes (all non-persistent).
|
void |
updateStandardRate()
Update standard rate field by calculating the sum of all labor
and asset rates
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, filterByValidStatusList, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, 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, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, 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
public static final java.lang.String crewDurStatic
public static final java.lang.String crewDurDynamic
public static final java.lang.String crewDurCrewPos
public boolean availabilityDataCalculated
public java.util.Date dateTo
public AMCrew(MboSet ms) throws java.rmi.RemoteException
ms
- java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
MXException
Mbo.init()
public void add() throws MXException, java.rmi.RemoteException
Mbo
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
MboRemote.add()
public void changeStatus(java.lang.String status, java.util.Date date, java.lang.String memo, long accessModifier) throws MXException, java.rmi.RemoteException
StatefulMbo
canChangeStatus
before the change is performed. If the status change
is allowed, the status change is performed and a status history record is written.
If the status change is not allowed, an exception is thrown.If the new status has the same MaxValue as the current status, then only the status and statusDate attributes are updated, and the StatusHandler is not used.
changeStatus
in interface StatefulMboRemote
changeStatus
in class StatefulMbo
status
- The new desired status. This is the translated status
(that is, the status code as it would have been entered by a user, or
valuelist.value
), not
the internal status value (valuelist.maxvalue
).date
- The effective date of the new status (java.util.Date
).
If this value is null, the current date/time of the server will be used.memo
- A string briefly describing the circumstances of the change. The
memo can be null.accessModifier
- A value of NOACCESSCHECK will cause the method not to call canChangeStatus.
Callers using this flag are responsible for ensuring that they are attempting a valid status change.MXException
- Thrown if there is a problem, or the status cannot be changed,
as determined by canChangeStatus(String)
.java.rmi.RemoteException
StatefulMbo.canChangeStatus(String)
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXException
java.rmi.RemoteException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
Mbo
delete
in interface MboRemote
delete
in class Mbo
accessModifier
- The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXException
java.rmi.RemoteException
Mbo.delete(long)
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
Mbo
duplicate
in interface MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
MboRemote.duplicate()
public java.lang.String getStatusListName()
StatefulMbo
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
StatefulMbo.getStatusListName()
public void associateCrewType() throws MXException, java.rmi.RemoteException
associateCrewType
in interface AMCrewRemote
MXException
java.rmi.RemoteException
associateCrewType()
public void refreshkRequirements() throws MXException, java.rmi.RemoteException
refreshkRequirements
in interface AMCrewRemote
crewtemplate
- MXException
java.rmi.RemoteException
refreshkRequirements()
public void checkCalendarAndShift() throws MXException, java.rmi.RemoteException
checkCalendarAndShift
in interface AMCrewRemote
MXException
java.rmi.RemoteException
checkCalendarAndShift()
public void changeStatus(java.lang.String newStatus, java.lang.String memo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setWorkHrs(java.util.Date DayOneClientDate) throws MXException, java.rmi.RemoteException
setWorkHrs
in interface AMCrewRemote
MXException
java.rmi.RemoteException
setWorkHrs(Date)
public java.util.Date getServerDTFromClientDT(java.util.Date clientDateTime, java.util.GregorianCalendar scratchCal) throws MXException, java.rmi.RemoteException
getServerDTFromClientDT
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getServerDTFromClientDT(Date, GregorianCalendar)
public java.util.Date getClientDTFromServerDT(java.util.Date serverDateTime, java.util.GregorianCalendar scratchCal) throws MXException, java.rmi.RemoteException
getClientDTFromServerDT
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getClientDTFromServerDT(Date, GregorianCalendar)
public MboRemote getAvailableMbo(java.util.Date startDate) throws MXException, java.rmi.RemoteException
getAvailableMbo
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getAvailableMbo(Date)
public java.util.List<MboRemote> getAvailableMboList(java.util.Date startDate) throws MXException, java.rmi.RemoteException
getAvailableMboList
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getAvailableMbo(Date)
public java.util.Date getDateTime(java.util.Date workdt, java.util.Date sttime)
getDateTime
in interface AMCrewRemote
workdt
- sttime
- getDateTime(Date, Date)
public java.util.Date getWPEndDateTime(MboRemote WorkTimeMbo, java.util.Date wpStartDateTime, java.util.GregorianCalendar scratchCal) throws MXException, java.rmi.RemoteException
getWPEndDateTime
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getWPEndDateTime(MboRemote, Date, GregorianCalendar)
public MboSetRemote getDayNAssignmentSet(MboRemote theCrewMbo, java.util.Date wpStartDateTime, java.util.Date wpEndDateTime) throws MXException, java.rmi.RemoteException
getDayNAssignmentSet
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getDayNAssignmentSet(MboRemote, Date, Date)
public double getAvailableHours(java.util.Date startDate) throws MXException, java.rmi.RemoteException
getAvailableHours
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getAvailableHours(Date)
public double getAssignedHours(boolean insideCurrentDateWorkingTime, java.util.Date wpStartDateTime, java.util.Date wpEndDateTime, MboSetRemote dayNAssignmentSet) throws MXException, java.rmi.RemoteException
getAssignedHours
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getAssignedHours(boolean, Date, Date, MboSetRemote)
public java.util.Date[] getServerDateColumn() throws MXException, java.rmi.RemoteException
getServerDateColumn
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getServerDateColumn()
public void setServerDateColumn(java.util.Date[] newServerDateColumn) throws MXException, java.rmi.RemoteException
setServerDateColumn
in interface AMCrewRemote
MXException
java.rmi.RemoteException
setServerDateColumn(Date[])
public java.util.Collection getLabors(java.util.Date currentDate) throws MXException, java.rmi.RemoteException
getLabors
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getLabors(Date)
public java.util.Collection getTools(java.util.Date currentDate) throws MXException, java.rmi.RemoteException
getTools
in interface AMCrewRemote
MXException
java.rmi.RemoteException
getTools(Date)
public boolean isAMGridCreated() throws MXException, java.rmi.RemoteException
isAMGridCreated
in interface AMCrewRemote
MXException
java.rmi.RemoteException
isAMGridCreated()
public void setAMGridCreated(boolean gridCreated) throws MXException, java.rmi.RemoteException
setAMGridCreated
in interface AMCrewRemote
MXException
java.rmi.RemoteException
setAMGridCreated(boolean)
public void childHasChanged() throws MXException, java.rmi.RemoteException
childHasChanged
in interface AMCrewRemote
MXException
java.rmi.RemoteException
childHasChanged()
public MboSetRemote getMboSet(java.lang.String name) throws MXException, java.rmi.RemoteException
Mbo
getMboSet
in interface MboRemote
getMboSet
in class Mbo
name
- The relationship provided to retrieve a
related mboSet, usually using foreign keys.
For example,
"psdi.app.workorder.WOSetRemote.ASSET" is
a relationship for the work order object to
access the asset Set where
"workorder.assetnum=asset.assetnum". The relationship can
also be chained. Such as ASSET.ASSETSTATUS.MXException
- "A relationship called {0} does not exist
for the {1} business object" exception
will be thrown if the relationship was not
found.
"Unknown Object" exception will be thrown
if the database object can not be
found through the relationship.java.rmi.RemoteException
Mbo.getMboSet(java.lang.String)
public void calculateAvailabilityData() throws MXException, java.rmi.RemoteException
calculateAvailabilityData
in interface AMCrewRemote
MXException
java.rmi.RemoteException
calculateAvailabilityData()
public void updateStandardRate() throws MXException, java.rmi.RemoteException
updateStandardRate
in interface AMCrewRemote
MXException
java.rmi.RemoteException
updateStandardRate()
public java.util.Date getEarliestUnassignedDateTime(MboSetRemote dayNAssignmentSet, java.util.Date rangeStartDateTime, java.util.Date rangeFinishDateTime) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.Double getLatitudeY() throws MXException, java.rmi.RemoteException
GISable
getLatitudeY
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.Boolean hasCoords() throws MXException, java.rmi.RemoteException
GISable
hasCoords
in interface GISable
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.lang.Double getLongitudeX() throws MXException, java.rmi.RemoteException
GISable
getLongitudeX
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.String getAddressString() throws MXException, java.rmi.RemoteException
getAddressString
in interface GISable
MXException
java.rmi.RemoteException
public boolean isGISDataReadonly() throws MXException, java.rmi.RemoteException
GISable
isGISDataReadonly
in interface GISable
MXException
java.rmi.RemoteException
public void saveGISData(java.lang.String address, java.lang.String lat, java.lang.String lng) throws MXException, java.rmi.RemoteException
saveGISData
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.Double getLocationAccuracy() throws MXException, java.rmi.RemoteException
getLocationAccuracy
in interface LBS
MXException
java.rmi.RemoteException
public java.lang.Double getAltitude() throws MXException, java.rmi.RemoteException
getAltitude
in interface LBS
MXException
java.rmi.RemoteException
public java.lang.Double getAltitudeAccuracy() throws MXException, java.rmi.RemoteException
getAltitudeAccuracy
in interface LBS
MXException
java.rmi.RemoteException
public java.lang.Double getHeading() throws MXException, java.rmi.RemoteException
getHeading
in interface LBS
MXException
java.rmi.RemoteException
public java.util.Date getLastUpdate() throws MXException, java.rmi.RemoteException
getLastUpdate
in interface LBS
MXException
java.rmi.RemoteException
public java.lang.Double getSpeed() throws MXException, java.rmi.RemoteException
getSpeed
in interface LBS
MXException
java.rmi.RemoteException
public void saveLBSData(java.lang.Double lat, java.lang.Double lng, java.lang.Double locationAccuracy, java.lang.Double altitudeAccuracy, java.lang.Double altitude, java.lang.Double heading, java.lang.Double speed) throws MXException, java.rmi.RemoteException
saveLBSData
in interface LBS
MXException
java.rmi.RemoteException
public MboRemote getValidContract(java.util.Date startDate) throws MXException, java.rmi.RemoteException
getValidContract
in interface AMCrewRemote
startDate
- MXException
java.rmi.RemoteException
getValidContract(Date)
public MboRemote getCompositeWP(java.util.List<MboRemote> modAvailList, java.util.Date workDate) throws MXException, java.rmi.RemoteException
getCompositeWP
in interface AMCrewRemote
modAvailList
- A list of ModAvail mbos for the given WorkDate, or a list containing a
single workperiod, if no ModAvail rows were defined, or a list with a
single null entry, if no workperiod was defined.workDate
- The date in question.person
- The person for whom the Modavail objects were defined.orgid
- The OrgID.MXException
java.rmi.RemoteException
public java.util.Date getCurrentShiftStartDate(java.util.Date effectiveDate) throws MXException, java.rmi.RemoteException
getCurrentShiftStartDate
in interface AMCrewRemote
java.rmi.RemoteException
MXException
getCurrentShiftStartDate(Date)
public java.util.Date getCurrentShiftEndDate(java.util.Date endDate) throws MXException, java.rmi.RemoteException
getCurrentShiftEndDate
in interface AMCrewRemote
java.rmi.RemoteException
MXException
getCurrentShiftEndDate(Date)
public void setCrewDate(java.util.Date date) throws MXException, java.rmi.RemoteException
setCrewDate
in interface AMCrewRemote
java.rmi.RemoteException
MXException
setCrewDate(Date date)
public java.util.Date getCrewDate() throws MXException, java.rmi.RemoteException
getCrewDate
in interface AMCrewRemote
java.rmi.RemoteException
MXException
getCrewDate()
public int getCrewMemberCount(java.util.Date desiredDate) throws MXException, java.rmi.RemoteException
getCrewMemberCount
in interface AMCrewRemote
desiredDate
- The date you want to know the members countMXException
java.rmi.RemoteException
MXApplicationException
getCrewMemberCount(Date desiredDate)
public void setDateTo(java.util.Date dateTo) throws MXException, java.rmi.RemoteException
setDateTo
in interface AMCrewRemote
MXException
java.rmi.RemoteException
public java.util.Date getDateTo() throws MXException, java.rmi.RemoteException
getDateTo
in interface AMCrewRemote
MXException
java.rmi.RemoteException
public double[] getEligibleHours() throws MXException, java.rmi.RemoteException
getEligibleHours
in interface AMCrewRemote
MXException
java.rmi.RemoteException