Method Summary |
|
public void | accept(NodeVisitor visitor) |
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 | add(Task task) |
public void | addEndSentinelDependency(Task task) |
public void | addExternalTask(Task task) |
public void | addObjectListener(ObjectEvent.Listener listener) |
public void | addPastedTask(Task task) |
public void | addProjectListener(ProjectListener l) |
public void | addScheduleListener(ScheduleEventListener listener) |
public void | addStartSentinelDependency(Task task) |
public void | addToDefaultOutline(Node parentNode, Node childNode) |
public void | addToDefaultOutline(Node parentNode, Node childNode, int position, boolean event) |
public void | addUnvalidatedObject(Object object, NodeModel nodeModel, Object parent) |
public boolean | applyTimesheet(Collection fieldArray) |
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 | beginUndoUpdate() |
public void | buildReverseQuery(ReverseQuery reverseQuery) |
public Collection | childrenToRollup() |
public void | clearDuration() |
public void | clearSnapshot(Object snapshotId, boolean entireProject, List selection, boolean undo) |
public void | connectTask(Task task) |
public void | consumeIntervals(IntervalConsumer consumer) |
public boolean | containsAssignments() |
public double | cost(long start, long end) |
public Node | createLocalTaskNode(Node parentNode) |
public static Project | createProject(ResourcePool resourcePool, DataFactoryUndoController undo) |
public NormalTask | createScriptedTask() |
public Object | createUnvalidatedObject(NodeModel nodeModel, Object parent) |
public WorkspaceSetting | createWorkspace(int context) |
public void | disconnect() |
public void | disconnectOutlines() |
public void | dispose() |
public void | dump(Collection tasks, String indent) |
public void | endUndoUpdate() |
public boolean | equals(Object obj) |
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 | fieldHideBaseCalendar(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 Task | findByUniqueId(long id) |
public static Task | findTaskById(Object idObject, Collection taskList) Quick function to find a task by id. |
public void | fireBaselineChanged(Object source, Object object, Integer baselineNumber, boolean save) |
protected void | fireGroupDirtyChanged(Object source, boolean oldName) |
public int | fireMultipleTransaction(int id, boolean begin) |
protected void | fireNameChanged(Object source, String oldName) |
public void | fireScheduleChanged(Object source, String type) |
public void | fireScheduleChanged(Object source, String type, Object object) |
public void | fireUpdateEvent(Object source, Object object) |
public double | fixedCost(long start, long end) |
public void | forEachWorkingInterval(Closure visitor, boolean mergeWorking, WorkCalendar workCalendar) |
public void | forTasks(Closure c) |
public int | getAccessControlPolicy() |
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 WorkCalendar | getBaseCalendar() |
public double | getBaselineCost(FieldContext fieldContext) |
public double | getBaselineCost(int numBaseline, FieldContext fieldContext) |
public long | getBaselineDuration(int numBaseline) |
public long | getBaselineFinish(int numBaseline) |
public long | getBaselineStart(int numBaseline) |
public long | getBaselineWork(FieldContext fieldContext) |
public long | getBaselineWork(int numBaseline, FieldContext fieldContext) |
public double | getBcwp(FieldContext fieldContext) |
public double | getBcws(FieldContext fieldContext) |
public int | getBenefit() |
public ImageLink | getBudgetStatusIndicator() |
int | getCalculationStateCount() |
final public long | getCompletedThrough() |
final public Task | getContainingSubprojectTask() |
public double | getCost(FieldContext fieldContext) |
public double | getCpi(FieldContext fieldContext) |
public Date | getCreated() |
public Date | getCreationDate() |
public double | getCsi(FieldContext fieldContext) |
final public long | getCurrentDate() |
public double | getCv(FieldContext fieldContext) |
public double | getCvPercent(FieldContext fieldContext) |
public WorkCalendar | getDefaultCalendar() |
int | getDefaultConstraintType() |
public long | getDependencyStart() |
public String | getDivision() |
public Document | getDocument() |
final public Hyperlink | getDocumentFolderUrl() |
public static Project | getDummy() |
public long | getDuration() |
public double | getEac(FieldContext fieldContext) |
public long | getEarliestStartingTask() |
public long | getEarliestStartingTaskOrStart() |
public long | getEarliestStop() |
public int | getEffectiveExpenseType() |
public WorkCalendar | getEffectiveWorkCalendar() |
public long | getElapsedDuration() |
public long | getEnd() |
public int | getExpenseType() |
final public Map | getExtraFields() |
public NodeModelDataFactory | getFactoryToUseForChildOfParent(Object parent) |
public SpreadSheetFieldArray | getFieldArray() |
public String | getFileName() |
public int | getFileType() |
final public long | getFinishDate() |
public long | getFinishOffset() |
public double | getFixedCost(FieldContext fieldContext) |
public String | getGroup() |
public String | getGuessedFileName() |
public HasCalendar | getHasCalendar() |
public long | getId() |
public Date | getLastModificationDate() |
public long | getLastTimesheetUpdate() |
public long | getLatestFinishingTask() |
public String | getManager() |
final public MultipleTransactionManager | getMultipleTransactionManager() |
public String | getName() |
public String | getName(FieldContext context) |
public double | getNetPresentValue() |
public String | getNotes() |
public ObjectEventManager | getObjectEventManager() |
public double | getPercentComplete() |
final public int | getPriority() |
public ProjectListener[] | getProjectListeners() |
public EventListener[] | getProjectListeners(Class listenerType) |
public int | getProjectStatus() |
public int | getProjectType() |
public long | getReferringSubprojectTaskDependencyDate() |
final public Collection | getReferringSubprojectTasks() |
public double | getRemainingCost(FieldContext fieldContext) |
public long | getRemainingDuration() |
public long | getRemainingWork(FieldContext fieldContext) |
public Object | getResourceCache() |
public NodeModel | getResourceModel() |
public ResourcePool | getResourcePool() |
public long | getResume() |
public double | getRisk() |
public List | getRootNodes(List tasks) |
public List<Resource> | getRootResources() |
public List<NormalTask> | getRootTasks() |
public ImageLink | getScheduleStatusIndicator() |
public SchedulingAlgorithm | getSchedulingAlgorithm() |
public String | getSchedulingMethod() |
public double | getSpi(FieldContext fieldContext) |
public long | getStart() |
public long | getStartConstraint() |
final public long | getStartDate() |
public long | getStartOffset() |
public long | getStatusDate() |
public long | getStop() |
public SubprojectHandler | getSubprojectHandler() |
public String | getSubprojectOf() |
public double | getSv(FieldContext fieldContext) |
public double | getSvPercent(FieldContext fieldContext) |
public Object | getTaskCache() |
public NodeModel | getTaskModel() |
public NodeModel | getTaskOutline() |
public NodeModel | getTaskOutline(int outlineNumber) |
public Iterator<Task> | getTaskOutlineIterator() |
public Node | getTaskOutlineRoot() |
public OutlineCollection | getTaskOutlines() |
public LinkedList | getTasks() |
public double | getTcpi(FieldContext fieldContext) |
public int | getTimesheetStatus() |
public String | getTimesheetStatusName() |
public String | getTitle() |
public Class | getType() |
public DataFactoryUndoController | getUndoController() |
public long | getUniqueId() |
public double | getVac(FieldContext fieldContext) |
public long | getWork(FieldContext fieldContext) |
public WorkCalendar | getWorkCalendar() |
public void | handleExternalTasks(Project project, boolean opening, boolean saving) |
public void | initOutline(NodeModel nodeModel) |
public void | initialize(boolean subproject) |
public void | initializeId(Task task) |
public void | initializeOutlines() |
public void | initializeProject() |
public static Predicate | instanceofPredicate() |
public Document | invalidateCalendar() |
public boolean | isComplete() |
public boolean | isCriticalPathJustChanged() |
final public boolean | isDirty() |
public boolean | isForward() |
final public boolean | isGroupDirty() |
boolean | isInRange(long start, long finish) |
public boolean | isInitialized() |
public boolean | isJustModified() |
public boolean | isLabor() |
public boolean | isLocal() |
public boolean | isLockable() |
public boolean | isMaster() |
final public boolean | isOpenedAsSubproject() |
public boolean | isPendingTimesheetUpdate() |
final public boolean | isReadOnly() |
public boolean | isReadOnlyActualWork(FieldContext fieldContext) |
public boolean | isReadOnlyFinishDate(FieldContext fieldContext) |
public boolean | isReadOnlyFixedCost(FieldContext fieldContext) |
public boolean | isReadOnlyRemainingWork(FieldContext fieldContext) |
final public boolean | isReadOnlyStartDate(FieldContext fieldContext) |
public boolean | isReadOnlyWork(FieldContext fieldContext) |
public boolean | isTemporaryLocal() |
public boolean | isVirtual() |
public void | linkAllSiblings(Node parent, Predicate canBeSuccessorCondition, Object eventSource) Automatically link all siblings at all levels
A condition can be applied. |
public void | markAllTasksAsNeedingRecalculation(boolean invalidateSchedules) |
public void | moveInterval(Object eventSource, long start, long end, ScheduleInterval oldInterval) |
public void | moveInterval(Object eventSource, long start, long end, ScheduleInterval oldInterval, boolean isChild) |
public void | moveRemainingToDate(long date) |
public boolean | needsSaving() |
public NormalTask | newNormalTaskInstance() |
public NormalTask | newNormalTaskInstance(boolean userCreated) |
public NormalTask | newStandaloneNormalTaskInstance() |
public void | nodeRemoved(HierarchyEvent e) |
public void | nodesChanged(HierarchyEvent e) |
public void | nodesInserted(HierarchyEvent e) |
public void | nodesRemoved(HierarchyEvent e) |
public void | postDeserialization() |
public long | remainingWork(long start, long end) |
public void | remove(Object toRemove, NodeModel nodeModel, boolean deep, boolean undo, boolean cleanDependencies) |
public boolean | removeEndSentinelDependency(Task task) |
public void | removeExternal(Task toRemove) |
public void | removeObjectListener(ObjectEvent.Listener listener) |
public void | removeProjectListener(ProjectListener l) |
public void | removeScheduleListener(ScheduleEventListener listener) |
public boolean | removeStartSentinelDependency(Task task) |
public void | renumber() |
public void | resetRoles(boolean publicRoles) |
public void | restoreDetail(Object source, Object detail, boolean isChild) |
public void | restoreSnapshot(Object snapshotId, boolean entireProject, List selection, Collection snapshotDetails) |
public void | restoreWorkspace(WorkspaceSetting w, int context) |
public void | rollbackUnvalidated(NodeModel nodeModel, Object object) |
public void | saveCurrentToSnapshot(Object snapshotId, boolean entireProject, List selection, boolean undo) |
public void | setAccessControlPolicy(int accessControlPolicy) |
public void | setActualDuration(long actualDuration) |
public void | setActualFinish(long actualFinish) |
public void | setActualStart(long actualStart) |
public void | setActualWork(long work, FieldContext fieldContext) |
public void | setAllChildrenDirty(boolean dirty) |
public void | setAllNodesInSubproject(boolean b) |
public void | setAllTasksAsUnchangedFromPersisted() When opening a project or just after saving, need to put all tasks back to their undirty state. |
public void | setAllTasksInSubproject(boolean b, Project masterProject) |
public void | setBaseCalendar(WorkCalendar baseCalendar) |
public void | setBenefit(int benefit) |
public void | setBoundsAfterReadProject() |
public void | setComplete(boolean complete) |
final public void | setCompletedThrough(long completedThrough) |
final public void | setContainingSubprojectTask(Task subprojectTask) |
public void | setCreated(Date created) |
public void | setCreationDate(Date creationDate) |
final public void | setCurrentDate(long currentDate) |
public void | setDependencyStart(long dependencyStart) |
final public void | setDirty(boolean isDirty) |
public void | setDivision(String division) |
final public void | setDocumentFolderUrl(Hyperlink documentFolderUrl) |
public void | setDuration(long duration) |
void | setEarliestAndLatestDatesFromSchedule() |
public void | setEnd(long end) |
public void | setEndConstraint(long date) |
public void | setExpenseType(int budgetType) |
final public void | setExtraFields(Map extraFields) |
public void | setFileName(String fileName) |
public void | setFileType(int fileType) |
public void | setFinishDate(long finish) |
public void | setFixedCost(double fixedCost, FieldContext fieldContext) |
public void | setForward(boolean forward) |
public void | setGroup(String group) |
final public void | setGroupDirty(boolean isGroupDirty) |
public void | setId(long id) |
public void | setInitialized(boolean initialized) |
public void | setLastModificationDate(Date lastModificationDate) |
public void | setLocal(boolean local) |
public void | setLocalParent(Task child, Task parent) |
public void | setLocalParent(Node childNode, Node parentNode) |
public void | setManager(String manager) |
public void | setMaster(boolean master) |
public void | setName(String name) |
public void | setNetPresentValue(double netPresentValue) |
public void | setNotes(String notes) |
final public void | setOpenedAsSubproject(boolean openedAsSubproject) |
public void | setPercentComplete(double percentComplete) |
final public void | setPriority(int priority) |
public void | setProjectStatus(int projectStatus) |
public void | setProjectType(int projectType) |
final public void | setReadOnly(boolean readOnly) |
final public void | setReferringSubprojectTasks(Collection referringSubprojectTasks) |
public void | setRemainingDuration(long remainingDuration) |
public void | setRemainingWork(long work, FieldContext fieldContext) |
public void | setResourceCache(Object resourceCache) |
public void | setResourcePool(ResourcePool resourcePool) |
public void | setResume(long resume) |
public void | setRisk(double risk) |
public void | setSchedulingAlgorithm(SchedulingAlgorithm schedulingAlgorithm) |
public void | setStart(long start) |
public void | setStartConstraint(long date) |
final public void | setStartDate(long start) |
public void | setStatusDate(long statusDate) |
public void | setStop(long stop) |
public void | setTaskCache(Object taskCache) |
public void | setTemporaryLocal(boolean temporaryLocal) |
public void | setUndoController(DataFactoryUndoController undoController) |
public void | setUniqueId(long id) |
public void | setVirtual(boolean virtual) |
public void | setWork(long work, FieldContext fieldContext) |
public void | setWorkCalendar(WorkCalendar workCalendar) |
public void | split(Object eventSource, long from, long to) |
public void | structureChanged(HierarchyEvent e) |
public String | toString() |
public void | updateScheduling(Object source, Object newlyCreated, int type) |
public void | updateScheduling(Object source, Object newlyCreated, int type, Field field) |
public void | validateObject(Object newlyCreated, NodeModel nodeModel, Object eventSource, Object hierarchyInfo, boolean isNew) |
public long | work(long start, long end) |