| java.lang.Object com.projity.pm.assignment.Assignment
Assignment | final public class Assignment implements Schedule,Association,Allocation,Delayable,HasTimeDistributedData,TimeDistributedFields,EarnedValueValues,EarnedValueFields,AssignmentSpecificFields,HasKey,BelongsToDocument,HasRequestDemandType,UpdatesFromTimesheet,CanSupplyRateUnit,HasCostRateIndex,Cloneable,DataObject(Code) | | Class representing resource assignments
|
Method Summary | |
public double | actualCost(long start, long end) | public double | actualFixedCost(long start, long end) | public long | actualWork(long start, long end) | public double | acwp(long start, long end) | public void | addCalendarTime(long start, long end) | public void | adjustRemainingDuration(long newRemainingDuration, boolean doChildren) | public void | adjustRemainingDurationIfWorkingAtTaskEnd(long newRemainingDuration) | public void | adjustRemainingUnits(double newRemainingUnits, double oldRemainingUnits, boolean doChildren, boolean conserveTotalUnits) | public void | adjustRemainingWork(double multiplier, boolean doChildren) | public void | adjustWorkingDuration(long newWorkingDuration) Allow setting of working duration. | public boolean | applyTimesheet(Collection fieldArray, long timesheetUpdateDate) | public double | bac(long start, long end) | public Object | backupDetail() | public double | baselineCost(long start, long end) | public long | baselineWork(long start, long end) | public double | bcwp(long start, long end) | public double | bcws(long start, long end) | public void | buildReverseQuery(ReverseQuery reverseQuery) | public double | calcAll(Object type) | public void | calcDataBetween(Object type, long start, long end) | public void | calcDataBetween(Object type, HasStartAndEnd generator, CalculatedValues values) | public static void | calcDataBetween(AssignmentFieldFunctor dataFunctor, SelectFrom clause, HasStartAndEnd generator, CalculatedValues values) | public long | calcOffsetFrom(long startDate, long dependencyDate, boolean ahead, boolean remainingOnly, boolean useSooner) | public static void | calcResourceAvailabilityBetween(Resource resource, HasStartAndEnd generator, CalculatedValues values) | public long | calcTotalDelay() | public long | calcWork() | public Collection | childrenToRollup() | public void | clearDuration() | public Object | clone() | public Object | cloneWithResource(Resource resource) | public Object | cloneWithResourceAndTask(Resource resource, Task task) | public Object | cloneWithTask(Task task) | public void | consumeIntervals(IntervalConsumer consumer) | public ContourBucketIntervalGenerator | contourGeneratorInstance(Object type) | public ContourBucketIntervalGenerator | contourGeneratorInstance(Object type, long start) | public void | convertToBaselineAssignment(boolean useDefaultCalendar) | public boolean | copyFieldsFromTimesheet(Collection fieldArray) | public void | copyPrincipalFieldsFrom(Association from) | public double | cost(long start, long end) | public void | debugSetWorkContour(AbstractContour contour) | public void | doAddService(Object eventSource) | public void | doRemoveService(Object eventSource) | public void | doUpdateService(Object eventSource) | public double | efficiency() | public void | extend(long start, long end, long extendDuration) | public void | extendBefore(long start, long end, long extendDuration) | public boolean | fieldHideActualCost(FieldContext fieldContext) | public boolean | fieldHideActualFixedCost(FieldContext fieldContext) | public boolean | fieldHideActualWork(FieldContext fieldContext) | public boolean | fieldHideAcwp(FieldContext fieldContext) | public boolean | fieldHideBac(FieldContext fieldContext) | public boolean | fieldHideBaselineCost(int numBaseline, FieldContext fieldContext) | public boolean | fieldHideBaselineWork(int numBaseline, FieldContext fieldContext) | public boolean | fieldHideBcwp(FieldContext fieldContext) | public boolean | fieldHideBcws(FieldContext fieldContext) | public boolean | fieldHideCost(FieldContext fieldContext) | public boolean | fieldHideCpi(FieldContext fieldContext) | public boolean | fieldHideCv(FieldContext fieldContext) | public boolean | fieldHideCvPercent(FieldContext fieldContext) | public boolean | fieldHideEac(FieldContext fieldContext) | public boolean | fieldHideSpi(FieldContext fieldContext) | public boolean | fieldHideSv(FieldContext fieldContext) | public boolean | fieldHideSvPercent(FieldContext fieldContext) | public boolean | fieldHideTcpi(FieldContext fieldContext) | public boolean | fieldHideVac(FieldContext fieldContext) | public boolean | fieldHideWork(FieldContext fieldContext) | public double | fixedCost(long start, long end) | public void | forEachWorkingInterval(Closure visitor, boolean mergeWorking, WorkCalendar workCalendar) calls back on for all "gantt bar" intervals having matching rates. | public Closure | forResource(Closure visitor) | public Closure | forTask(Closure visitor) | public void | forceUnits(double units) | public double | getActualCost(FieldContext fieldContext) | public long | getActualDuration() | public long | getActualFinish() | public double | getActualFixedCost(FieldContext fieldContext) | public long | getActualStart() | public long | getActualWork(FieldContext fieldContext) | public double | getAcwp(FieldContext fieldContext) | public double | getBac(FieldContext fieldContext) | public Assignment | getBaselineAssignment(Object baseline, boolean createIfDoesntExist) | public double | getBaselineCost(int numBaseline, FieldContext fieldContext) | public long | getBaselineWork(int numBaseline, FieldContext fieldContext) | public double | getBcwp(FieldContext fieldContext) | public double | getBcws(FieldContext fieldContext) | public ImageLink | getBudgetStatusIndicator() | final public Date | getCachedEnd() | final public Date | getCachedStart() | final public long | getCompletedThrough() | public AbstractContourBucket[] | getContour(Object type) | public double | getCost() | public double | getCost(FieldContext fieldContext) | public int | getCostRateIndex() | public double | getCpi(FieldContext fieldContext) | public Date | getCreated() | public double | getCsi(FieldContext fieldContext) | public double | getCv(FieldContext fieldContext) | public double | getCvPercent(FieldContext fieldContext) | public AssignmentFieldFunctor | getDataSelect(Object type, SelectFrom clause, boolean all) | public long | getDateAtValue(Object type, double value) | public long | getDateAtWorkFraction(double workFraction) | public long | getDeadline() | public long | getDelay() | public String | getDelegatedToName() | public long | getDependencyStart() | public AssignmentDetail | getDetail() | public Document | getDocument() | public Document | getDocument(boolean leftObject) | public long | getDuration() | public long | getDurationMillis() | public double | getEac(FieldContext fieldContext) | final public long | getEarliestStop() | public WorkCalendar | getEffectiveWorkCalendar() | public long | getElapsedDuration() | public long | getEnd() | public long | getFinish() | public long | getFinishOffset() | public double | getFixedCost(FieldContext fieldContext) | public long | getId() | public static Assignment | getInstance(Task task, Resource resource, double units, int requestDemandType) | public static Assignment | getInstance(Task task, Resource resource, double units, long delay) | final public double | getLaborUnits() | final public long | getLastTimesheetUpdate() | public Object | getLeft() | public long | getLevelingDelay() | public double | getMostLoadedAssignmentUnits() | public String | getName() | public String | getName(FieldContext context) | public Project | getOwningProject() | public double | getPercentComplete() | public Project | getProject() | public String | getProjectName() | public MutableInterval | getRangeThatIntervalCanBeMoved(long startOffset, long endOffset) | final public Rate | getRate() | public static Field | getRateField() | public RateFormat | getRateFormat() | public double | getRemainingCost(FieldContext fieldContext) | public long | getRemainingDuration() | final public double | getRemainingLaborUnits() | final public double | getRemainingUnits() | public long | getRemainingWork(FieldContext fieldContext) | public long | getRemainingWork() | public int | getRequestDemandType() | public static Field | getRequestDemandTypeField() | public Resource | getResource() | public long | getResourceAvailability() | public String | getResourceId() | public String | getResourceName() | public long | getResume() | public Object | getRight() | public ImageLink | getScheduleStatusIndicator() | public double | getSpi(FieldContext fieldContext) | public long | getStart() | public long | getStartOffset() | public long | getStop() | public double | getSv(FieldContext fieldContext) | public double | getSvPercent(FieldContext fieldContext) | public Task | getTask() | public String | getTaskId() | public String | getTaskName() | TaskSchedule | getTaskScheduleOfAssignment() | public double | getTcpi(FieldContext fieldContext) | public String | getTimeUnitLabel() | public Assignment | getTimesheetAssignment() | public long | getTimesheetFinish() | public long | getTimesheetStart() | final public int | getTimesheetStatus() | public String | getTimesheetStatusName() | public String | getTimesheetStatusStyle() | public long | getUniqueId() | public String | getUniqueIdString() | final public double | getUnits() | public static Field | getUnitsField() | public double | getVac(FieldContext fieldContext) | public long | getWork(FieldContext fieldContext) | public AbstractContour | getWorkContour() | public int | getWorkContourType() | final public int | getWorkflowState() | public boolean | hasDuration() | public boolean | inProgress() | public static Predicate | instanceofPredicate() | public void | invalidateAssignmentCalendar() | public boolean | isActiveBetween(long start, long end) | public boolean | isAssignment() | public boolean | isComplete() | public boolean | isCritical() | public boolean | isDefault() | public boolean | isDirty() | public boolean | isExternal() | boolean | isInRange(long start, long finish) | public boolean | isInitialized() | public boolean | isInvalidIntersectionCalendar() | public boolean | isJustModified() | public boolean | isLabor() | public boolean | isLocal() | public boolean | isMaterial() | public boolean | isMilestone() | public boolean | isMine() | public boolean | isNormal() | public boolean | isPendingTimesheetUpdate() | public boolean | isProratedCost() | public boolean | isReadOnly() | public boolean | isReadOnlyActualWork(FieldContext fieldContext) | public boolean | isReadOnlyFixedCost(FieldContext fieldContext) | public boolean | isReadOnlyRemainingWork(FieldContext fieldContext) | public boolean | isReadOnlyUnits(FieldContext fieldContext) | public boolean | isReadOnlyWork(FieldContext fieldContext) | public boolean | isSubproject() | public boolean | isSummary() | public boolean | isTemporal() | final public boolean | isTimesheetAssignment() | public boolean | isTimesheetEditable() | public boolean | isTimesheetEntered() | public boolean | isTimesheetRejected() | public boolean | isTimesheetValidated() | public boolean | isUnstarted() | public void | makeContourPersonal() | public void | makeFlatIfPossible() | public void | moveInterval(Object eventSource, long start, long end, ScheduleInterval oldInterval, boolean isChild) | public void | moveRemainingToDate(long date) Move remaining work to the date given. | public long | remainingWork(long start, long end) | public void | renumber() | public void | replace(Object newOne, boolean leftObject) | public void | restoreDetail(Object source, Object detail, boolean isChild) | public void | restoreDetail(Object detail) | public void | setActualDuration(long actualDuration) | public void | setActualFinish(long actualFinish) | public void | setActualStart(long actualStart) | public void | setActualWork(long actualWork, FieldContext fieldContext) | final public void | setCachedEnd(Date savedEnd) | final public void | setCachedStart(Date savedStart) | public void | setComplete(boolean complete) | public void | setCompletedThrough(long completedThrough) | public void | setCostRateIndex(int val) | public void | setCreated(Date created) | public void | setDelay(long delay) | public void | setDependencyStart(long dependencyStart) | public void | setDirty(boolean dirty) | public void | setDuration(long duration) | public void | setEnd(long end) | public void | setFixedCost(double fixedCost, FieldContext fieldContext) | public void | setId(long id) | public void | setInterval(Object type, long start, long end, double value) This treats just a single interval to merge in
Parameters: type - - WORK or COST. | final public void | setLastTimesheetUpdate(long lastTimesheetUpdate) | public void | setLevelingDelay(long levelingDelay) | public void | setLocal(boolean local) | public void | setName(String name) | public void | setOvertimeWork(long overtimeWork) | public void | setPercentComplete(double percentComplete) | final public void | setRate(Rate rate) | public void | setRateUnit(int timeUnit) | public void | setRemainingDuration(long remainingDuration) | public void | setRemainingWork(long remainingWork, FieldContext fieldContext) | public void | setRequestDemandType(int requestDemandType) | public void | setResume(long resume) | public void | setStart(long start) | public void | setStop(long stop) | public void | setTaskAndResource(Task task, Resource resource) | public void | setTaskSchedule(TaskSchedule taskSchedule) | final public void | setTimesheetAssignment(boolean timesheetAssignment) | final public void | setTimesheetStatus(int timesheetStatus) | void | setTotalDelay(long newDelay) Set the total delay for the assignment. | public void | setUniqueId(long id) | public void | setWork(long work, FieldContext context) | public void | setWorkContourType(int workContourType) | final public void | setWorkflowState(int workflowState) | public void | shift(long start, long end, long shiftDuration) | public void | split(Object eventSource, long from, long to) | public void | testValid(boolean allowDuplicate) | public String | toExternalId() For use in sharing with external systems such as salesforce. | public String | toString() | public void | usePropertiesOf(Assignment from) Copy the properies from another assignment. | public String | valuesString() | public boolean | verifyBounds(long start, long end) | AssignmentFieldFunctor | work(SelectFrom clause) | public long | work(long start, long end) | public long | work() | public Query | workQuery() |
serialVersionUID | final static long serialVersionUID(Code) | | |
actualCost | public double actualCost(long start, long end)(Code) | | |
actualFixedCost | public double actualFixedCost(long start, long end)(Code) | | |
actualWork | public long actualWork(long start, long end)(Code) | | |
acwp | public double acwp(long start, long end)(Code) | | |
addCalendarTime | public void addCalendarTime(long start, long end)(Code) | | |
adjustRemainingDuration | public void adjustRemainingDuration(long newRemainingDuration, boolean doChildren)(Code) | | Parameters: duration - The duration to set. |
adjustRemainingDurationIfWorkingAtTaskEnd | public void adjustRemainingDurationIfWorkingAtTaskEnd(long newRemainingDuration)(Code) | | |
adjustRemainingUnits | public void adjustRemainingUnits(double newRemainingUnits, double oldRemainingUnits, boolean doChildren, boolean conserveTotalUnits)(Code) | | Parameters: units - The units to set. |
adjustRemainingWork | public void adjustRemainingWork(double multiplier, boolean doChildren)(Code) | | |
adjustWorkingDuration | public void adjustWorkingDuration(long newWorkingDuration)(Code) | | Allow setting of working duration. MSProject displays working duration (excludes non-work intervals) except when
task type is fixed duration, in which case it shows duration with non-work intervals
Parameters: newWorkingDuration - |
applyTimesheet | public boolean applyTimesheet(Collection fieldArray, long timesheetUpdateDate)(Code) | | |
bac | public double bac(long start, long end)(Code) | | |
baselineCost | public double baselineCost(long start, long end)(Code) | | |
baselineWork | public long baselineWork(long start, long end)(Code) | | |
bcwp | public double bcwp(long start, long end)(Code) | | |
bcws | public double bcws(long start, long end)(Code) | | |
calcAll | public double calcAll(Object type)(Code) | | Calculate the total cost
|
calcDataBetween | public void calcDataBetween(Object type, long start, long end)(Code) | | |
calcOffsetFrom | public long calcOffsetFrom(long startDate, long dependencyDate, boolean ahead, boolean remainingOnly, boolean useSooner)(Code) | | |
calcTotalDelay | public long calcTotalDelay()(Code) | | |
calcWork | public long calcWork()(Code) | | |
clearDuration | public void clearDuration()(Code) | | |
convertToBaselineAssignment | public void convertToBaselineAssignment(boolean useDefaultCalendar)(Code) | | |
copyFieldsFromTimesheet | public boolean copyFieldsFromTimesheet(Collection fieldArray)(Code) | | |
cost | public double cost(long start, long end)(Code) | | |
debugSetWorkContour | public void debugSetWorkContour(AbstractContour contour)(Code) | | Parameters: contour - The contour to set.TODO get rid of this |
doAddService | public void doAddService(Object eventSource)(Code) | | |
doRemoveService | public void doRemoveService(Object eventSource)(Code) | | |
doUpdateService | public void doUpdateService(Object eventSource)(Code) | | |
efficiency | public double efficiency()(Code) | | |
extend | public void extend(long start, long end, long extendDuration)(Code) | | |
extendBefore | public void extendBefore(long start, long end, long extendDuration)(Code) | | |
fieldHideActualFixedCost | public boolean fieldHideActualFixedCost(FieldContext fieldContext)(Code) | | |
fieldHideBaselineCost | public boolean fieldHideBaselineCost(int numBaseline, FieldContext fieldContext)(Code) | | |
fieldHideBaselineWork | public boolean fieldHideBaselineWork(int numBaseline, FieldContext fieldContext)(Code) | | |
fieldHideCost | public boolean fieldHideCost(FieldContext fieldContext)(Code) | | Time Distributed Fields
|
fixedCost | public double fixedCost(long start, long end)(Code) | | |
forEachWorkingInterval | public void forEachWorkingInterval(Closure visitor, boolean mergeWorking, WorkCalendar workCalendar)(Code) | | calls back on for all "gantt bar" intervals having matching rates. Matching is determined by a comparator.
Parameters: visitor - : callback Parameters: mergeWorking - : if true, then matching occurs if the periods hava non-zero work, otherwise the workmust be an exact match. |
forResource | public Closure forResource(Closure visitor)(Code) | | |
forTask | public Closure forTask(Closure visitor)(Code) | | |
forceUnits | public void forceUnits(double units)(Code) | | |
getActualDuration | public long getActualDuration()(Code) | | |
getActualFinish | public long getActualFinish()(Code) | | |
getActualStart | public long getActualStart()(Code) | | |
getBaselineAssignment | public Assignment getBaselineAssignment(Object baseline, boolean createIfDoesntExist)(Code) | | |
getBaselineCost | public double getBaselineCost(int numBaseline, FieldContext fieldContext)(Code) | | |
getBaselineWork | public long getBaselineWork(int numBaseline, FieldContext fieldContext)(Code) | | |
getCachedEnd | final public Date getCachedEnd()(Code) | | |
getCachedStart | final public Date getCachedStart()(Code) | | |
getCompletedThrough | final public long getCompletedThrough()(Code) | | |
getCost | public double getCost()(Code) | | |
getCostRateIndex | public int getCostRateIndex()(Code) | | |
getDateAtValue | public long getDateAtValue(Object type, double value)(Code) | | This function will calculate the exact date/time when the value is achieved
Parameters: type - Parameters: value - |
getDateAtWorkFraction | public long getDateAtWorkFraction(double workFraction)(Code) | | |
getDeadline | public long getDeadline()(Code) | | |
getDelay | public long getDelay()(Code) | | Accessor for the assignment's delay
delay |
getDependencyStart | public long getDependencyStart()(Code) | | |
getDuration | public long getDuration()(Code) | | |
getDurationMillis | public long getDurationMillis()(Code) | | Returns the duration. |
getEarliestStop | final public long getEarliestStop()(Code) | | |
getElapsedDuration | public long getElapsedDuration()(Code) | | |
getEnd | public long getEnd()(Code) | | |
getFinish | public long getFinish()(Code) | | |
getFinishOffset | public long getFinishOffset()(Code) | | |
getId | public long getId()(Code) | | |
getLaborUnits | final public double getLaborUnits()(Code) | | |
getLastTimesheetUpdate | final public long getLastTimesheetUpdate()(Code) | | |
getLevelingDelay | public long getLevelingDelay()(Code) | | |
getMostLoadedAssignmentUnits | public double getMostLoadedAssignmentUnits()(Code) | | |
getPercentComplete | public double getPercentComplete()(Code) | | |
getRangeThatIntervalCanBeMoved | public MutableInterval getRangeThatIntervalCanBeMoved(long startOffset, long endOffset)(Code) | | |
getRemainingDuration | public long getRemainingDuration()(Code) | | |
getRemainingLaborUnits | final public double getRemainingLaborUnits()(Code) | | |
getRemainingUnits | final public double getRemainingUnits()(Code) | | |
getRemainingWork | public long getRemainingWork()(Code) | | |
getRequestDemandType | public int getRequestDemandType()(Code) | | |
getRequestDemandTypeField | public static Field getRequestDemandTypeField()(Code) | | |
getResourceAvailability | public long getResourceAvailability()(Code) | | |
getResume | public long getResume()(Code) | | |
getScheduleStatusIndicator | public ImageLink getScheduleStatusIndicator()(Code) | | |
getStart | public long getStart()(Code) | | |
getStartOffset | public long getStartOffset()(Code) | | |
getStop | public long getStop()(Code) | | |
getTask | public Task getTask()(Code) | | Returns the task. |
getTimesheetFinish | public long getTimesheetFinish()(Code) | | |
getTimesheetStart | public long getTimesheetStart()(Code) | | |
getTimesheetStatus | final public int getTimesheetStatus()(Code) | | |
getTimesheetStatusName | public String getTimesheetStatusName()(Code) | | |
getTimesheetStatusStyle | public String getTimesheetStatusStyle()(Code) | | |
getUniqueId | public long getUniqueId()(Code) | | |
getUnits | final public double getUnits()(Code) | | Accessor for units (value of work)
units |
getWorkContourType | public int getWorkContourType()(Code) | | |
getWorkflowState | final public int getWorkflowState()(Code) | | |
hasDuration | public boolean hasDuration()(Code) | | See if assignment duration is empty
|
inProgress | public boolean inProgress()(Code) | | |
instanceofPredicate | public static Predicate instanceofPredicate()(Code) | | |
invalidateAssignmentCalendar | public void invalidateAssignmentCalendar()(Code) | | |
isActiveBetween | public boolean isActiveBetween(long start, long end)(Code) | | |
isAssignment | public boolean isAssignment()(Code) | | |
isComplete | public boolean isComplete()(Code) | | |
isCritical | public boolean isCritical()(Code) | | |
isDefault | public boolean isDefault()(Code) | | |
isDirty | public boolean isDirty()(Code) | | |
isExternal | public boolean isExternal()(Code) | | |
isInRange | boolean isInRange(long start, long finish)(Code) | | |
isInitialized | public boolean isInitialized()(Code) | | |
isInvalidIntersectionCalendar | public boolean isInvalidIntersectionCalendar()(Code) | | |
isJustModified | public boolean isJustModified()(Code) | | |
isLabor | public boolean isLabor()(Code) | | |
isLocal | public boolean isLocal()(Code) | | |
isMaterial | public boolean isMaterial()(Code) | | |
isMilestone | public boolean isMilestone()(Code) | | |
isMine | public boolean isMine()(Code) | | |
isNormal | public boolean isNormal()(Code) | | |
isPendingTimesheetUpdate | public boolean isPendingTimesheetUpdate()(Code) | | |
isProratedCost | public boolean isProratedCost()(Code) | | |
isReadOnly | public boolean isReadOnly()(Code) | | |
isReadOnlyRemainingWork | public boolean isReadOnlyRemainingWork(FieldContext fieldContext)(Code) | | |
isSubproject | public boolean isSubproject()(Code) | | |
isSummary | public boolean isSummary()(Code) | | |
isTemporal | public boolean isTemporal()(Code) | | |
isTimesheetAssignment | final public boolean isTimesheetAssignment()(Code) | | |
isTimesheetEditable | public boolean isTimesheetEditable()(Code) | | |
isTimesheetEntered | public boolean isTimesheetEntered()(Code) | | |
isTimesheetRejected | public boolean isTimesheetRejected()(Code) | | |
isTimesheetValidated | public boolean isTimesheetValidated()(Code) | | |
isUnstarted | public boolean isUnstarted()(Code) | | |
makeContourPersonal | public void makeContourPersonal()(Code) | | |
makeFlatIfPossible | public void makeFlatIfPossible()(Code) | | |
moveRemainingToDate | public void moveRemainingToDate(long date)(Code) | | Move remaining work to the date given. It will either be moved later or sooner. Also, if at the date, there
is a gap in the work, the gap is reduced so that the work begins on the date
Parameters: date - |
remainingWork | public long remainingWork(long start, long end)(Code) | | |
renumber | public void renumber()(Code) | | |
replace | public void replace(Object newOne, boolean leftObject)(Code) | | |
restoreDetail | public void restoreDetail(Object source, Object detail, boolean isChild)(Code) | | |
setActualDuration | public void setActualDuration(long actualDuration)(Code) | | |
setActualFinish | public void setActualFinish(long actualFinish)(Code) | | |
setActualStart | public void setActualStart(long actualStart)(Code) | | |
setCachedEnd | final public void setCachedEnd(Date savedEnd)(Code) | | |
setCachedStart | final public void setCachedStart(Date savedStart)(Code) | | |
setComplete | public void setComplete(boolean complete)(Code) | | |
setCompletedThrough | public void setCompletedThrough(long completedThrough)(Code) | | |
setCostRateIndex | public void setCostRateIndex(int val)(Code) | | |
setCreated | public void setCreated(Date created)(Code) | | Parameters: created - |
setDelay | public void setDelay(long delay)(Code) | | |
setDependencyStart | public void setDependencyStart(long dependencyStart)(Code) | | |
setDirty | public void setDirty(boolean dirty)(Code) | | |
setDuration | public void setDuration(long duration)(Code) | | |
setEnd | public void setEnd(long end)(Code) | | |
setId | public void setId(long id)(Code) | | Parameters: id - |
setInterval | public void setInterval(Object type, long start, long end, double value)(Code) | | This treats just a single interval to merge in
Parameters: type - - WORK or COST. can also be a time distributed field Parameters: start - - start of interval Parameters: end - - end of interval Parameters: value - - value of interval |
setLastTimesheetUpdate | final public void setLastTimesheetUpdate(long lastTimesheetUpdate)(Code) | | |
setLevelingDelay | public void setLevelingDelay(long levelingDelay)(Code) | | |
setLocal | public void setLocal(boolean local)(Code) | | |
setName | public void setName(String name)(Code) | | Parameters: name - |
setOvertimeWork | public void setOvertimeWork(long overtimeWork)(Code) | | |
setPercentComplete | public void setPercentComplete(double percentComplete)(Code) | | |
setRateUnit | public void setRateUnit(int timeUnit)(Code) | | Parameters: timeUnit - |
setRemainingDuration | public void setRemainingDuration(long remainingDuration)(Code) | | |
setRemainingWork | public void setRemainingWork(long remainingWork, FieldContext fieldContext)(Code) | | |
setRequestDemandType | public void setRequestDemandType(int requestDemandType)(Code) | | |
setResume | public void setResume(long resume)(Code) | | |
setStart | public void setStart(long start)(Code) | | |
setStop | public void setStop(long stop)(Code) | | |
setTimesheetAssignment | final public void setTimesheetAssignment(boolean timesheetAssignment)(Code) | | |
setTimesheetStatus | final public void setTimesheetStatus(int timesheetStatus)(Code) | | |
setTotalDelay | void setTotalDelay(long newDelay)(Code) | | Set the total delay for the assignment. Priority is given to changing the assignment delay over the
leveling delay.
Parameters: newDelay - |
setUniqueId | public void setUniqueId(long id)(Code) | | Parameters: id - |
setWorkContourType | public void setWorkContourType(int workContourType)(Code) | | |
setWorkflowState | final public void setWorkflowState(int workflowState)(Code) | | |
shift | public void shift(long start, long end, long shiftDuration)(Code) | | |
split | public void split(Object eventSource, long from, long to)(Code) | | |
toExternalId | public String toExternalId()(Code) | | For use in sharing with external systems such as salesforce. Uniquely identifies object
|
usePropertiesOf | public void usePropertiesOf(Assignment from)(Code) | | Copy the properies from another assignment. This also includes the contour. However, it does NOT
include the resource or the units. This is called in the context of replacing an assignment.
Parameters: from - Assignment to copy from |
verifyBounds | public boolean verifyBounds(long start, long end)(Code) | | |
work | public long work(long start, long end)(Code) | | |
|
|