|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
com.ptc.netmarkets.projmgmt.StandardNmProjMgmtService
Use the newStandardNmProjMgmtService
static factory method(s),
not the StandardNmProjMgmtService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
Nested Class Summary | |
static class |
StandardNmProjMgmtService.PlanModelCache
|
static class |
StandardNmProjMgmtService.PlanModelIgnoreList
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardNmProjMgmtService()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String MONITOR_RESOURCE
private static final String MODEL_RESOURCE
public static final NmProjectService project_service
private static boolean VERBOSE
private static final int NRETRIES
private static final int SLEEPTIME
private static final String SIMPLE_TOOLBAR
private static final String ADMIN_TOOLBAR
private static final String ADMIN_TOOLBAR_PLAN_STATECHANGE
private static final String ADMIN_TOOLBAR_PLAN_STATECHANGE_AND_IMPORT
private static final String ADMIN_TOOLBAR_PLAN_STATECHANGE_AND_IMPORT_EDIT
private static final String ADMIN_TOOLBAR_INACTIVE
private static final int LIMIT
private static final boolean ALLOW_CACHING
private static final boolean VERBOSE_CACHE
private static final long ONE_DAY
private static final long ONE_HOUR
private static final String PLAN_RESOURCE
private static final String PROJECT_RESOURCE_RESOURCE
private static final String OPEN_WORK_GIF
private static final String COMPLETED_WORK_GIF
private static final String CALCULATED_IMAGE
private static final String OVERRIDDEN_IMAGE
private static final String NBSP
private static final int DATE_TIME_FORMAT
private static final boolean NAME_LINKS
private static int CACHE_COUNT
private static final int CHUNKSIZE
private static final Work ZEROWORK
private static volatile StandardNmProjMgmtService.PlanModelCache planModelCache
private static volatile StandardNmProjMgmtService.PlanModelIgnoreList planModelIgnoreList
Constructor Detail |
public StandardNmProjMgmtService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardNmProjMgmtService newStandardNmProjMgmtService() throws WTException
WTException
public NmHTMLTableTree getProjectNodes(NmCommandBean cb) throws WTException
getProjectNodes
in interface NmProjMgmtService
cb
-
WTException
public NmHTMLTable getUserNodes(NmOid proj_oid, NmCommandBean cb) throws WTException
getUserNodes
in interface NmProjMgmtService
proj_oid
- cb
-
WTException
public NmHTMLTable getDeliverables(NmOid proj_oid, NmCommandBean cb) throws WTException
getDeliverables
in interface NmProjMgmtService
proj_oid
- cb
-
WTException
public NmHTMLTable getProjectResources(NmOid proj_oid, NmCommandBean cb) throws WTException
ProjectResource
can be a material, a people, a role, an information or a work resource.
getProjectResources
in interface NmProjMgmtService
proj_oid
- cb
-
WTException
MaterialResource
,
PersonResource
,
RoleResource
,
wt.projmgmt.resource.InformationlResource
,
EquipmentResource
,
FacilityResource
public NmHTMLTable getUserDeliverables(NmOid proj_oid, NmCommandBean cb) throws WTException
getUserDeliverables
in interface NmProjMgmtService
proj_oid
- cb
-
WTException
public NmHTMLTable getActivityDeliverables(NmCommandBean cb) throws WTException
getActivityDeliverables
in interface NmProjMgmtService
cb
-
WTException
public NmHTMLTable getActivityTasks(NmCommandBean cb) throws WTException
getActivityTasks
in interface NmProjMgmtService
cb
-
WTException
public NmProjMgmtObject getNmProjMgmtObject(NmOid nm_oid) throws WTException
getNmProjMgmtObject
in interface NmProjMgmtService
nm_oid
-
WTException
public void copy(NmCommandBean cb) throws WTException
copy
in interface NmProjMgmtService
cb
-
WTException
public NmChangeModel[] paste(NmCommandBean cb) throws WTException
paste
in interface NmProjMgmtService
cb
-
WTException
public NmChangeModel[] update(String type, NmCommandBean cb, Hashtable params) throws WTException
update
in interface NmProjMgmtService
type
- cb
- params
-
WTException
public NmChangeModel[] create(String type, NmCommandBean cb, Hashtable params) throws WTException
create
in interface NmProjMgmtService
type
- cb
- params
-
WTException
public NmChangeModel[] addToSummaryActivity(NmCommandBean cb) throws WTException
addToSummaryActivity
in interface NmProjMgmtService
cb
-
WTException
public NmChangeModel[] delete(NmCommandBean cb) throws WTException
delete
in interface NmProjMgmtService
cb
-
WTException
public Hashtable getCategoryValues() throws WTException
getCategoryValues
in interface NmProjMgmtService
WTException
public Hashtable getRiskValues() throws WTException
getRiskValues
in interface NmProjMgmtService
WTException
public Hashtable getStateValues() throws WTException
getStateValues
in interface NmProjMgmtService
WTException
public Hashtable getStatusValues() throws WTException
getStatusValues
in interface NmProjMgmtService
WTException
public NmDisplayPrincipal[] getUsers(NmOid proj_oid) throws WTException
getUsers
in interface NmProjMgmtService
proj_oid
-
WTException
public void cut(NmCommandBean cb) throws WTException
cut
in interface NmProjMgmtService
cb
-
WTException
public Hashtable getLCStateValues() throws WTException
getLCStateValues
in interface NmProjMgmtService
WTException
public Hashtable getLCStateValues(String oid_str) throws WTException
getLCStateValues
in interface NmProjMgmtService
oid_str
-
WTException
public Hashtable getStateValues(NmProjMgmtObject page_obj) throws WTException
getStateValues
in interface NmProjMgmtService
page_obj
-
WTException
public NmAction getPasteTargetAction(NmCommandBean cb) throws WTException
getPasteTargetAction
in interface NmProjMgmtService
cb
-
WTException
public NmHTMLTable getMilestoneTimeline(NmCommandBean cb) throws WTException
getMilestoneTimeline
in interface NmProjMgmtService
cb
-
WTException
public NmNameValuePair[] getTargetValues(NmOid proj_oid) throws WTException
getTargetValues
in interface NmProjMgmtService
proj_oid
-
WTException
public NmNameValuePair[] getActivityValues(NmOid nm_oid) throws WTException
getActivityValues
in interface NmProjMgmtService
nm_oid
-
WTException
public Hashtable getDeliverableMilestones(NmOid nm_oid) throws WTException
getDeliverableMilestones
in interface NmProjMgmtService
nm_oid
-
WTException
public Hashtable getSubProjectValues(NmOid proj_oid) throws WTException
getSubProjectValues
in interface NmProjMgmtService
proj_oid
-
WTException
public Hashtable getPredecessorValues(NmOid nm_oid) throws WTException
getPredecessorValues
in interface NmProjMgmtService
nm_oid
-
WTException
public Hashtable getProjectNodeValues(NmOid nm_oid) throws WTException
getProjectNodeValues
in interface NmProjMgmtService
nm_oid
-
WTException
public void subscribe(String type, NmCommandBean cb, Hashtable params) throws WTException
subscribe
in interface NmProjMgmtService
type
- cb
- params
-
WTException
public NmChangeModel[] rollUp(NmOid nm_oid) throws WTException
rollUp
in interface NmProjMgmtService
nm_oid
-
WTException
public NmChangeModel[] changeExecutionState(NmOid nm_oid, ProjectState new_state) throws WTException
changeExecutionState
in interface NmProjMgmtService
nm_oid
- new_state
-
WTException
public String getResourceValues(NmProjMgmtObject nm_obj) throws WTException
getResourceValues
in interface NmProjMgmtService
nm_obj
-
WTException
public String getTotalCost(NmProjMgmtObject nm_obj) throws WTException
getTotalCost
in interface NmProjMgmtService
nm_obj
-
WTException
public String getCurrentCost(NmProjMgmtObject nm_obj) throws WTException
getCurrentCost
in interface NmProjMgmtService
nm_obj
-
WTException
public NmChangeModel[] changeToActivity(NmOid nm_oid) throws WTException
changeToActivity
in interface NmProjMgmtService
nm_oid
-
WTException
public NmChangeModel[] changeToMilestone(NmOid nm_oid) throws WTException
changeToMilestone
in interface NmProjMgmtService
nm_oid
-
WTException
public NmChangeModel[] changeToSummary(NmOid nm_oid) throws WTException
changeToSummary
in interface NmProjMgmtService
nm_oid
-
WTException
public NmChangeModel[] changeToProxy(NmOid nm_oid) throws WTException
changeToProxy
in interface NmProjMgmtService
nm_oid
-
WTException
public Object[] getProjectNodeSelectUtil(NmCommandBean cb, Class nodeClass) throws WTException
getProjectNodeSelectUtil
in interface NmProjMgmtService
cb
- nodeClass
-
WTException
public NmChangeModel[] addPredecessors(NmCommandBean cb) throws WTException
addPredecessors
in interface NmProjMgmtService
cb
-
WTException
public NmChangeModel[] removePredecessors(NmCommandBean cb) throws WTException
removePredecessors
in interface NmProjMgmtService
cb
-
WTException
public ArrayList getDeliverableOfTarget(NmOid oid) throws WTException
getDeliverableOfTarget
in interface NmProjMgmtService
oid
-
WTException
public NmChangeModel[] overrideStatus(String type, NmCommandBean cb, Hashtable params) throws WTException
overrideStatus
in interface NmProjMgmtService
type
- cb
- params
-
WTException
public NmHTMLViewTable getProxyViewTable(NmCommandBean cb) throws WTException
getProxyViewTable
in interface NmProjMgmtService
cb
-
WTException
public NmHTMLViewTable getActivityViewTable(NmCommandBean cb) throws WTException
getActivityViewTable
in interface NmProjMgmtService
cb
-
WTException
public NmHTMLViewTable getMilestoneViewTable(NmCommandBean cb) throws WTException
getMilestoneViewTable
in interface NmProjMgmtService
cb
-
WTException
public NmHTMLViewTable getDeliverableViewTable(NmCommandBean cb) throws WTException
getDeliverableViewTable
in interface NmProjMgmtService
cb
-
WTException
public ArrayList getMilestonesAndSummaryActivities(NmCommandBean cb) throws WTException
getMilestonesAndSummaryActivities
in interface NmProjMgmtService
cb
-
WTException
public void modifyTimeline(NmCommandBean cb, ArrayList oldTimeline, ArrayList newTimeline) throws WTException
modifyTimeline
in interface NmProjMgmtService
cb
- oldTimeline
- newTimeline
-
WTException
public NmChangeModel[] removeFromSummaryActivity(NmCommandBean cb) throws WTException
removeFromSummaryActivity
in interface NmProjMgmtService
cb
-
WTException
public NmHTMLTable getSummaryTasks(NmCommandBean cb) throws WTException
getSummaryTasks
in interface NmProjMgmtService
cb
-
WTException
public NmNameValuePair[] getDefinedProjectResources(NmCommandBean cb) throws WTException
getDefinedProjectResources
in interface NmProjMgmtService
cb
-
WTException
public void addDeliverables(NmCommandBean cb, NmOid milestoneOid, ArrayList oldList, ArrayList newList) throws WTException
addDeliverables
in interface NmProjMgmtService
cb
- milestoneOid
- oldList
- newList
-
WTException
public NmModel getPlanModel(NmOid oid) throws WTException
getPlanModel
in interface NmProjMgmtService
oid
- the AdministrativeDomain, used as search criteria when looking for project objects
WTException
public void changePlanModel(NmOid oid, NmChangeModel[] nmcm) throws WTException
changePlanModel
in interface NmProjMgmtService
oid
- Oid of the project to changenmcm
- changes to make in the project model
WTException
public NmHTMLTable getMilestones(NmCommandBean cb) throws WTException
getMilestones
in interface NmProjMgmtService
cb
-
WTException
public NmHTMLTable getActivities(NmCommandBean cb) throws WTException
getActivities
in interface NmProjMgmtService
cb
-
WTException
public NmHTMLTable getActivities(NmCommandBean cb, boolean restrictToCurrentUser) throws WTException
getActivities
in interface NmProjMgmtService
cb
- restrictToCurrentUser
-
WTException
public void addToTimeline(NmCommandBean cb) throws WTException
addToTimeline
in interface NmProjMgmtService
cb
-
WTException
public boolean isManager(NmCommandBean cb) throws WTException
isManager
in interface NmProjMgmtService
cb
-
WTException
public NmHTMLTable getPlanItems(NmCommandBean cb) throws WTException
getPlanItems
in interface NmProjMgmtService
cb
-
WTException
public NmChangeModel[] changePlanState(NmCommandBean cb, ProjectState new_state) throws WTException
changePlanState
in interface NmProjMgmtService
cb
- new_state
-
WTException
public NmChangeModel[] moveTo(NmCommandBean cb, String position, String positionID) throws WTException
moveTo
in interface NmProjMgmtService
cb
- position
- positionID
-
WTException
public boolean isTrackCost(NmOid oid) throws WTException
isTrackCost
in interface NmProjMgmtService
oid
-
WTException
public void removeDeliverable(NmCommandBean cb) throws WTException
removeDeliverable
in interface NmProjMgmtService
cb
-
WTException
public void removeFromCache(NmOid oid) throws WTException
removeFromCache
in interface NmProjMgmtService
oid
-
WTException
public NmHTMLActionModel get_RowActionModel(NmProjMgmtObject nmPMObj) throws WTException
get_RowActionModel
in interface NmProjMgmtService
nmPMObj
-
WTException
public NmHTMLTableTree getProjectNodes(NmCommandBean cb, boolean useMore) throws WTException
getProjectNodes
in interface NmProjMgmtService
cb
- useMore
-
WTException
public NmProjMgmtObject getNmProjMgmtObjectFromCache(NmOid nm_oid) throws WTException
getNmProjMgmtObjectFromCache
in interface NmProjMgmtService
nm_oid
-
WTException
public NmHTMLActionModel getMoreModel(NmOid nm_oid, String amName) throws WTException
getMoreModel
in interface NmProjMgmtService
nm_oid
- amName
-
WTException
public void enableCacheForProject(NmOid oid) throws WTException
enableCacheForProject
in interface NmProjMgmtService
oid
-
WTException
public ArrayList getDeliverableSet(NmCommandBean cb, NmOid milestoneOid) throws WTException
getDeliverableSet
in interface NmProjMgmtService
cb
- milestoneOid
-
WTException
public NmUser getNmProjMgmtObjectOwner(NmProjMgmtObject anObject) throws WTException
getNmProjMgmtObjectOwner
in interface NmProjMgmtService
anObject
-
WTException
public boolean hasPlanAccess(NmOid projectOid) throws WTException
hasPlanAccess
in interface NmProjMgmtService
projectOid
-
WTException
public Timestamp rollUpPlannedStart(ExecutionObject exObj) throws WTException
rollUpPlannedStart
in interface NmProjMgmtService
exObj
-
WTException
public ArrayList multiObjectUpdate(Hashtable params) throws WTException
multiObjectUpdate
in interface NmProjMgmtService
params
- The hashtable of parameters from the form post.
WTException
public ArrayList getValidMultiUpdateObjects(ArrayList theOids) throws WTException
getValidMultiUpdateObjects
in interface NmProjMgmtService
theOids
-
WTException
public HashMap getDetailsModels(NmCommandBean cb) throws WTException
getDetailsModels
in interface NmProjMgmtService
cb
-
WTException
private String getDeliverableList(ProjectNode holder) throws WTException
WTException
private String getContainedNodeList(SummaryActivity summary) throws WTException
WTException
private String getAssigneeList(ProjectActivity activity) throws WTException
WTException
private Integer getPercentComplete(ExecutionObject exec_obj) throws WTException
WTException
private Object getNmSubProject(ProjectProxy proxy) throws WTException
WTException
private String getType(Persistable persistable) throws WTException
WTException
private String getLCState(Deliverable deliver) throws WTException
WTException
private ExecutionObject updateExecutionState(ExecutionObject exec_obj, Hashtable params) throws WTException
WTException
private ExecutionObject updateDefinitionAttributes(ExecutionObject exec_obj, Hashtable params) throws WTException
WTException
private ProjectActivity updateActivityOwnership(ProjectActivity exec_obj, Hashtable params) throws WTException
WTException
private ExecutionObject updateDeadline(ExecutionObject exec_obj, Hashtable params) throws WTException
WTException
private ExecutionObject updateDynamicAttributes(ExecutionObject exec_obj, Hashtable params) throws WTException
WTException
private boolean isRollUpStatus(Hashtable params)
private boolean isRollUpTotalWork(Hashtable params)
private boolean isRollUpPerformedWork(Hashtable params)
private boolean isRollUpFinish(Hashtable params)
private ExecutionObject restoreOverridenAttributes(ExecutionObject exec_obj, Hashtable params) throws WTException
WTException
private ExecutionObject setExecutionObjectAttributes(ProjectPlan plan, ExecutionObject exec_obj, Hashtable params) throws WTException
WTException
private ExecutionObject setProxyAttributes(ProjectPlan plan, ProjectProxy proxy, Hashtable params) throws WTException
WTException
private void setResourceAttributes(ProjectResource resource, Hashtable params) throws WTPropertyVetoException, WTException
WTPropertyVetoException
WTException
private ProjectResource updateResourceAttributes(ProjectResource resource, Hashtable params) throws WTPropertyVetoException, WTException
WTPropertyVetoException
WTException
private Deliverable setTargetNState(Deliverable deliverable, Hashtable params) throws WTException
WTException
private int updateMilestones(Deliverable deli, Hashtable params) throws WTException
WTException
private ProjectNode updatePredecessors(ProjectNode node, Hashtable params) throws WTException
WTException
private void getPredecessors(ProjectPlan plan, Hashtable params, Vector predecessors, Vector linkTypes) throws WTException
WTException
private void updateContainedObjects(SummaryActivity summary, Hashtable params) throws WTException
WTException
private ExecutionObject setConfiguration(ExecutionObject exec_obj, Hashtable params) throws WTException
WTException
private int getInt(Hashtable params, String key) throws WTException
WTException
private boolean getBoolean(Hashtable params, String key)
private Timestamp getTimestamp(Hashtable params, String key) throws WTException
WTException
private TimeToElapse getTimeToElapse(Hashtable params, String key) throws WTException
WTException
public WTPrincipal getUser(Hashtable params, String key) throws WTException
WTException
private void addDeliverableToHolder(DeliverableHolder holder, Deliverable new_deliverable) throws WTException
WTException
private ProjectPlan getProjectPlan(NmOid proj_oid) throws WTException
WTException
private Enumeration findDocuments(Project2 project) throws WTException
WTException
private Enumeration findParts(Project2 project) throws WTException
WTException
private void subscribe(ExecutionObject object, ProjectEventType event) throws WTException
WTException
private void unsubscribe(ExecutionObject object, ProjectEventType event) throws WTException
WTException
public ArrayList getNodeRowData(NmProjMgmtObject nmPMObj, boolean useServerLocale) throws WTException
WTException
public ArrayList getNodeRowData(NmProjMgmtObject nmPMObj, boolean useServerLocale, boolean isProjManager) throws WTException
WTException
public ArrayList getNodeRowData(NmProjMgmtObject nmPMObj, boolean useServerLocale, boolean isProjManager, boolean useMore) throws WTException
WTException
public ArrayList getNodeRowData(NmProjMgmtObject nmPMObj, boolean useServerLocale, boolean isProjManager, boolean useMore, HashMap nodedelis) throws WTException
WTException
public ArrayList getNodeRowData1(NmProjMgmtObject nmPMObj, boolean useServerLocale) throws WTException
WTException
public ArrayList getDeliverableRowData(NmOid oid) throws WTException
WTException
public ArrayList getDeliverableRowData(NmDeliverable nmDeli) throws WTException
WTException
public ArrayList getItemRowData(NmProjMgmtObject nmItem) throws WTException
WTException
public ArrayList getMilestoneRowData(NmMilestone nmMile) throws WTException
WTException
public ArrayList getActivityRowData(NmProjectActivity nmActi) throws WTException
WTException
public ArrayList getMyNodeRowData(NmProjMgmtObject nmPMObj) throws WTException
WTException
public ArrayList getMyDeliverableRowData(NmDeliverable nmDeli) throws WTException
WTException
private NmUser getCurrentNmUser() throws WTException
WTException
private ObjectIdentifier getId(Object obj)
private String getOwnerId(Ownable own_obj) throws WTException
WTException
private NmUser getNmOwner(Persistable aPersistable) throws WTException
WTException
private NmChangeModel[] createChangeModelArray(int size)
private NmHTMLActionModel getRowActionModel(NmProjMgmtObject nmPMObj) throws WTException
WTException
private NmHTMLActionModel getRowActionModel(NmProjMgmtObject nmPMObj, boolean isProjManager, boolean isPlanActive) throws WTException
WTException
private NmHTMLActionModel getRowActionModel(NmProjMgmtObject nmPMObj, boolean isProjManager, boolean isPlanActive, boolean useMore) throws WTException
WTException
private NmHTMLActionModel getRowActionModel(NmProjMgmtObject nmPMObj, boolean isProjManager, boolean isPlanActive, boolean useMore, Locale locale) throws WTException
WTException
private Milestone createMilestone(ProjectPlan plan, WfContainer container, Hashtable params) throws WTException
WTException
private ProjectActivity createProjectActivity(ProjectPlan plan, WfContainer container, Hashtable params) throws WTException
WTException
private ProjectProxy createProjectProxy(ProjectPlan plan, WfContainer container, Hashtable params) throws WTException
WTException
private SummaryActivity createSummaryActivity(ProjectPlan plan, WfContainer container, Hashtable params) throws WTException
WTException
private NmChangeModel[] createDeliverable(NmOid project_oid, ProjectPlan plan, Hashtable params) throws WTException
WTException
private NmChangeModel[] createProjectResource(NmOid project_oid, ProjectPlan plan, Hashtable params) throws WTException
WTException
private NmChangeModel[] updateMilestone(NmOid project_oid, Milestone mile, Hashtable params) throws WTException
WTException
private NmChangeModel[] updateProjectActivity(NmOid project_oid, ProjectActivity proj_act, Hashtable params) throws WTException
WTException
private NmChangeModel[] updateProjectProxy(NmOid project_oid, ProjectProxy proxy, Hashtable params) throws WTException
WTException
private NmChangeModel[] updateProjectResource(NmOid project_oid, ProjectResource resource, Hashtable params) throws WTException
WTException
private NmChangeModel[] updateSummaryActivity(NmOid project_oid, SummaryActivity summ_act, Hashtable params) throws WTException
WTException
private NmChangeModel[] updateDeliverable(NmOid project_oid, Deliverable deli, Hashtable params) throws WTException
WTException
private NmChangeModel[] getDeliverableChangeModel(NmChangeModel[] change_model, NmOid project_oid, DeliverableHolder holder, Deliverable deli) throws WTException
WTException
private NmChangeModel[] createResourceChangeModel(ProjectResource resource, NmOid project_oid, int change_type) throws WTException
WTException
private ExecutionObject updateStartTime(ExecutionObject exec_obj, Hashtable params) throws WTException
WTException
private String getWorkValue(Work work, String default_str)
private boolean isDefining(ExecutionObject exec_obj)
private boolean isRunning(ExecutionObject exec_obj)
private boolean isManualExecutionMode(ExecutionObject exec_obj) throws WTException
WTException
private boolean isClosed(ExecutionObject exec_obj)
private NmProjMgmtObject getNmProjMgmtObject(ProjectNode node) throws WTException
WTException
private NmChangeModel[] addRemovePredecessors(NmCommandBean cb, boolean doRemoveOperation) throws WTException
WTException
private ProjectNode getProjectNode(ProjectPlan plan, int nodeID) throws WTException
WTException
private int indexOfPersistable(Vector v, Persistable p)
private boolean same(Object obj1, Object obj2)
void dumpParams(Hashtable params, String title)
private long getDuration(ExecutionObject exec_obj) throws WTException
WTException
private NmDisplayPrincipal[] vecNmDisplayPrincipalToArray(Vector v)
private void setActivityResources(ProjectActivity projAct, Hashtable params) throws WTException
WTException
private ProjectActivity updateActivityResources(ProjectActivity projAct, Hashtable params) throws WTException
WTException
private void setResourceParams(Hashtable params, Vector resources, Vector units, ProjectPlan plan) throws WTException
WTException
public NmHTMLViewTable getActivityMilestoneViewTableImpl(NmCommandBean cb) throws WTException
WTException
private StandardNmProjMgmtService.PlanModelCache getPlanModelCache() throws WTException
WTException
private StandardNmProjMgmtService.PlanModelCache createPlanModelCache() throws WTException, RemoteException
WTException
RemoteException
private StandardNmProjMgmtService.PlanModelIgnoreList getPlanModelIgnoreList() throws WTException
WTException
private StandardNmProjMgmtService.PlanModelIgnoreList createPlanModelIgnoreList() throws WTException, RemoteException
WTException
RemoteException
private NmOid getOidFromObject(Persistable pNode) throws WTException
WTException
private NmOid getOidFromRef(WfContainerReference pNode) throws WTException
WTException
private void processTarget(Persistable target, int type1, StandardNmProjMgmtService.PlanModelCache cache) throws WTException
WTException
private NmModel getFullTree(NmOid oid) throws WTException
WTException
private NmOid proceed(NmOid poid, int type, Cache cache) throws WTException
WTException
private NmHTMLTable getProjectResourcesAll(ProjectPlan plan, boolean isAdmin, Locale locale, ResourceBundle rb) throws WTException
ProjectResource
can be a material, a people, a role, an information or a work resource.
WTException
private NmHTMLTable getProjectResourcesActive(ProjectPlan plan, boolean isAdmin, Locale locale, ResourceBundle rb) throws WTException
ProjectResource
can be a material, a people, a role, an information or a work resource.
WTException
private NmHTMLTable getProjectResourcesCosts(ProjectPlan plan, boolean isAdmin, Locale locale, ResourceBundle rb) throws WTException
ProjectResource
can be a material, a people, a role, an information or a work resource.
WTException
private boolean parentChanged(NmChangeModel nmcm, NmProjectPlanTreeModel model) throws WTException
WTException
private boolean idChanged(NmChangeModel nmcm, NmProjectPlanTreeModel model) throws WTException
WTException
private void fixIdInPlan(int newId, int origId, NmProjectPlanTreeModel model) throws WTException
WTException
private boolean hasChildren(NmChangeModel nmcm, NmProjectPlanTreeModel model) throws WTException
WTException
private String getPlanActionsHtml(NmOid projectOid)
private String getPlanStateHtml(ProjectPlan plan)
private NmHTMLActionModel getPlanActionModel(boolean projManager, ProjectPlan plan, Project2 project) throws WTException
WTException
private NmHTMLActionModel enablePlanActions(NmHTMLActionModel planActions, ProjectState planState) throws WTException
WTException
private NmAction getWorkAction(WorkItem work, Locale locale) throws WTException
WTException
private boolean hasNonConsecutiveNodes(ArrayList selected, ArrayList indexToNode) throws WTException
WTException
private NmHTMLTreeNode getParent(int index, int[] indexes, ArrayList indexToNode) throws WTException
WTException
private NmHTMLTreeNode getParentToRemoveFrom(int index, int[] indexes, ArrayList indexToNode) throws WTException
WTException
private boolean inSelected(int idx, int[] indexes) throws WTException
WTException
private void setIndexesForSelectedNodes(ArrayList selected, int[] idx, ArrayList indexToNode) throws WTException
WTException
private Date getTimelineDate(NmProjMgmtObject nmPmObj)
getEndTime
)
getEstimatedFinish
)
nmPmObj
- the NmProjMgmtObject
private int getDuration(Hashtable params)
private boolean sameDay(Timestamp time1, Timestamp time2)
private NmHTMLTable getDeliverablesTable(QueryResult deliverables) throws WTException
WTException
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
protected void registerAsListener() throws ManagerException
ManagerException
private boolean isThreadWorthy()
private Timestamp incrementOneDay(Timestamp aTime) throws WTException
WTException
private void addChangeModel(NmProjMgmtObject pmObj, NmChangeModel nmChange1, NmHTMLTreeNode nextNode) throws WTException
WTException
private static HashMap getDeliverableHash(ArrayList nodes) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static void verbosePrint(String s)
private void setColumnNames(ResourceBundle rbPlan, NmHTMLTableTree model, Locale locale, String planActions)
private ExecutionObject updateOwnerPmSubscriptions(ExecutionObject obj, Hashtable params, boolean isCreate) throws WTException
WTException
private ExecutionObject updateOwnerPmSubscriptions(ExecutionObject obj, Hashtable params, boolean isCreate, boolean beforeDeadlineChanged, boolean afterDeadlineChanged) throws WTException
WTException
private static Vector getManagers(ExecutionObject exec_obj) throws WTException
WTException
private static boolean mouNumberChanged(String tmp, double d)
private static boolean mouDateChanged(String tmp, Object o, Locale locale, TimeZone localTimeZone) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |