|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.netmarkets.model.NmObject
com.ptc.netmarkets.model.NmNamedObject
com.ptc.netmarkets.project.NmProject
Use the newNmProject
static factory method(s), not the NmProject
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: false
Extendable: false
Field Summary | |
private String |
actualEndDate
|
private String |
category
|
private static String |
CLASSNAME
|
private String |
completionStatus
|
private String |
description
|
private String |
estimatedEndDate
|
static long |
EXTERNALIZATION_VERSION_UID
|
private Vector |
folders
|
private Vector |
groups
|
private String |
health
|
private Vector |
messages
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private Vector |
parts
|
private String |
phase
|
private static String |
RESOURCE
|
private String |
riskDescription
|
private String |
riskValue
|
private String |
scope
|
(package private) static long |
serialVersionUID
|
private String |
sponsor
|
private String |
startDate
|
private String |
state
|
private String |
statusDescription
|
static String |
TYPE
|
Fields inherited from class com.ptc.netmarkets.model.NmNamedObject |
NO_TRUCATION, USER_PREFERENCE |
Fields inherited from class com.ptc.netmarkets.model.NmObject |
ADDITIONAL_INFO, MARKED_FOR_DELETE, OID, RESTORABLE, VIEW_ACTION, VIEW_URL |
Fields inherited from interface com.ptc.netmarkets.model.NmDescribed |
DESCRIPTION |
Fields inherited from interface com.ptc.netmarkets.model.NmNamed |
NAME |
Fields inherited from interface com.ptc.netmarkets.util.misc.NmFormatable |
DIV_CLASS, RENDER_WHILE_HIDDEN |
Constructor Summary | |
NmProject()
|
Method Summary | |
boolean |
checkAvailable(NmAction action,
WTContainer container,
HashMap checkInfo)
Supported API: false |
String |
getActualEndDate()
Gets the value of the attribute: actualEndDate. |
String |
getCategory()
Gets the value of the attribute: category. |
String |
getCompletionStatus()
Gets the value of the attribute: completionStatus. |
String |
getConceptualClassname()
Deprecated. |
String |
getDescription()
Gets the value of the attribute: description. |
String |
getEstimatedEndDate()
Gets the value of the attribute: estimatedEndDate. |
Vector |
getFolders()
Gets the value of the attribute: folders. |
Vector |
getGroups()
Gets the value of the attribute: groups. |
String |
getHealth()
Gets the value of the attribute: health. |
Vector |
getMessages()
Gets the value of the attribute: messages. |
Vector |
getParts()
Gets the value of the attribute: parts. |
String |
getPhase()
Gets the value of the attribute: phase. |
NmProjectPlan |
getProjectPlan()
Return the NmProjectPlan associated
with this project or null if no project plan exists. |
String |
getRiskDescription()
Gets the value of the attribute: riskDescription. |
String |
getRiskValue()
Gets the value of the attribute: riskValue. |
String |
getScope()
Gets the value of the attribute: scope. |
String |
getSponsor()
Gets the value of the attribute: sponsor. |
String |
getStartDate()
Gets the value of the attribute: startDate. |
String |
getState()
Gets the value of the attribute: state. |
String |
getStatusDescription()
Gets the value of the attribute: statusDescription. |
Object |
getValue(String attr_name)
Supported API: false |
private boolean |
isAdmin(WTUser user,
WTContainer pc,
HashMap checkInfo)
|
static NmProject |
newNmProject()
Default factory for the class. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(NmProject thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setActualEndDate(String a_ActualEndDate)
Sets the value of the attribute: actualEndDate. |
void |
setCategory(String a_Category)
Sets the value of the attribute: category. |
void |
setCompletionStatus(String a_CompletionStatus)
Sets the value of the attribute: completionStatus. |
void |
setDescription(String a_Description)
Sets the value of the attribute: description. |
void |
setEstimatedEndDate(String a_EstimatedEndDate)
Sets the value of the attribute: estimatedEndDate. |
void |
setFolders(Vector a_Folders)
Sets the value of the attribute: folders. |
void |
setGroups(Vector a_Groups)
Sets the value of the attribute: groups. |
void |
setHealth(String a_Health)
Sets the value of the attribute: health. |
void |
setMessages(Vector a_Messages)
Sets the value of the attribute: messages. |
void |
setParts(Vector a_Parts)
Sets the value of the attribute: parts. |
void |
setPhase(String a_Phase)
Sets the value of the attribute: phase. |
void |
setRiskDescription(String a_RiskDescription)
Sets the value of the attribute: riskDescription. |
void |
setRiskValue(String a_RiskValue)
Sets the value of the attribute: riskValue. |
void |
setScope(String a_Scope)
Sets the value of the attribute: scope. |
void |
setSponsor(String a_Sponsor)
Sets the value of the attribute: sponsor. |
void |
setStartDate(String a_StartDate)
Sets the value of the attribute: startDate. |
void |
setState(String a_State)
Sets the value of the attribute: state. |
void |
setStatusDescription(String a_StatusDescription)
Sets the value of the attribute: statusDescription. |
void |
setValue(String attr_name,
Object attr_value)
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class com.ptc.netmarkets.model.NmNamedObject |
compareTo, getMaxNameLength, getName, initialize, newNmNamedObject, newNmNamedObject, readVersion, setMaxNameLength, setName |
Methods inherited from class com.ptc.netmarkets.model.NmObject |
checkAccess, checkAccess, getAdditionalInfo, getClassInfo, getCollationKey, getDivClass, getOid, getViewAction, getViewUrl, initialize, initialize, isAdmin, isAdmin, isExchangeAdmin, isMarkedForDelete, isRenderWhileHidden, isRestorable, newNmObject, newNmObject, readVersion, setAdditionalInfo, setCollationKey, setDivClass, setMarkedForDelete, setOid, setRenderWhileHidden, setRestorable, setViewAction, setViewUrl, toString |
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 Vector groups
private Vector folders
private Vector parts
private Vector messages
private String scope
private String sponsor
private String startDate
private String estimatedEndDate
private String actualEndDate
private String state
private String phase
private String completionStatus
private String statusDescription
private String health
private String riskValue
private String riskDescription
private String category
private String description
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final String TYPE
Constructor Detail |
public NmProject()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class NmNamedObject
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class NmNamedObject
input
-
IOException
ClassNotFoundException
protected boolean readVersion(NmProject thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class NmNamedObject
public Vector getGroups()
public void setGroups(Vector a_Groups)
a_Groups
- public Vector getFolders()
public void setFolders(Vector a_Folders)
a_Folders
- public Vector getParts()
public void setParts(Vector a_Parts)
a_Parts
- public Vector getMessages()
public void setMessages(Vector a_Messages)
a_Messages
- public String getScope()
public void setScope(String a_Scope)
a_Scope
- public String getSponsor()
public void setSponsor(String a_Sponsor)
a_Sponsor
- public String getStartDate()
public void setStartDate(String a_StartDate)
a_StartDate
- public String getEstimatedEndDate()
public void setEstimatedEndDate(String a_EstimatedEndDate)
a_EstimatedEndDate
- public String getActualEndDate()
public void setActualEndDate(String a_ActualEndDate)
a_ActualEndDate
- public String getState()
public void setState(String a_State)
a_State
- public String getPhase()
public void setPhase(String a_Phase)
a_Phase
- public String getCompletionStatus()
public void setCompletionStatus(String a_CompletionStatus)
a_CompletionStatus
- public String getStatusDescription()
public void setStatusDescription(String a_StatusDescription)
a_StatusDescription
- public String getHealth()
public void setHealth(String a_Health)
a_Health
- public String getRiskValue()
public void setRiskValue(String a_RiskValue)
a_RiskValue
- public String getRiskDescription()
public void setRiskDescription(String a_RiskDescription)
a_RiskDescription
- public String getCategory()
public void setCategory(String a_Category)
a_Category
- public Object getValue(String attr_name)
attr_name
-
public void setValue(String attr_name, Object attr_value)
attr_name
- attr_value
- public NmProjectPlan getProjectPlan() throws WTException
NmProjectPlan
associated
with this project or null
if no project plan exists.
WTException
public static NmProject newNmProject() throws WTException
WTException
public String getDescription()
getDescription
in interface NmDescribed
public void setDescription(String a_Description)
setDescription
in interface NmDescribed
a_Description
- public boolean checkAvailable(NmAction action, WTContainer container, HashMap checkInfo)
NmObject
checkAvailable
in interface NmActionTarget
checkAvailable
in class NmObject
action
- container
- checkInfo
-
private boolean isAdmin(WTUser user, WTContainer pc, HashMap checkInfo)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |