| java.lang.Object com.projity.pm.assignment.AssignmentService
AssignmentService | public class AssignmentService (Code) | | Manages the creation and deleting of assignments as well as events
|
Method Summary | |
public boolean | connect(Assignment assignment, Object eventSource) | public boolean | connect(Assignment assignment, Object eventSource, boolean undo) | public boolean | connect(Node node, Object eventSource, boolean undo) | public boolean | connect(Assignment assignment, Object eventSource, NodeUndoInfo undo) | public static AssignmentService | getInstance() | public UndoableEditSupport | getUndoableEditSupport(Assignment assignment) | public Assignment | newAssignment(NormalTask task, Resource resource, double units, long delay, Object eventSource, boolean undo) | public Assignment | newAssignment(NormalTask task, Resource resource, double units, long delay, Object eventSource) | public void | newAssignments(Collection tasks, Collection resources, double units, long delay, Object eventSource, boolean undo) | public void | remove(Node node, Object eventSource, boolean undo) | public void | remove(Assignment assignment, Object eventSource, boolean undo) | public void | remove(Assignment assignment, boolean cleanTaskLink, Object eventSource, boolean undo) | public void | remove(Collection assignments, Object eventSource, boolean undo) | public void | remove(Assignment assignment, boolean cleanTaskLink, Object eventSource, NodeUndoInfo undo) | public void | remove(Collection assignmentList, Object eventSource) | public void | remove(Collection assignmentList, Collection toRemove) |
connect | public boolean connect(Node node, Object eventSource, boolean undo)(Code) | | |
newAssignment | public Assignment newAssignment(NormalTask task, Resource resource, double units, long delay, Object eventSource, boolean undo)(Code) | | When importing, we don't update or recalculate duration
Parameters: task - Parameters: resource - Parameters: units - Parameters: delay - Parameters: eventSource - |
remove | public void remove(Assignment assignment, boolean cleanTaskLink, Object eventSource, boolean undo)(Code) | | |
|
|