|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.beans.explorer.WTBusinessObject
wt.clients.prodmgmt.ConfigurationItem
ConfigurationItem
is a model class for manipulating WTProductConfiguration objects.
It contains helper methods for manipulating attributes and relationships
of the WTProductConfiguration class.
It extends wt.clients.beans.WTBusinessObject to allow easy manipulation in the
wt.clients.beans.WTExplorer.
Supported API: false
Extendable: false
WTProductConfiguration
,
Serialized FormField Summary | |
private BuildRuleList |
buildRule
A list of the build sources to this configuration. |
private ConfigSpecItem |
configSpecItem
The ConfigSpecItem used for navigation with this configuration. |
private String |
configurationName
The Configuration name |
private String |
description
The Configuration description |
private boolean |
isNew
If the configuration is new. |
private String |
lifecycle
|
private boolean |
modified
If the configuration has been modified. |
private PartExplorer |
myExplorer
The parent explorer this item belongs to. |
(package private) WTProduct |
product
|
private ReferencesList |
references
A list of the references to this configuration. |
private static ResourceBundle |
resource
|
private static String |
RESOURCE
|
private String |
state
The state. |
private String |
status_text
The status text. |
private String |
teamTemplate
|
private UsedByList |
usedBy
A list of the configurations this configuration uses. |
private UsesInterfaceList |
usesInterface
A list of the configuration masters this configuration uses. |
Fields inherited from class wt.clients.beans.explorer.WTBusinessObject |
|
Constructor Summary | |
ConfigurationItem(WTProduct product)
Constructs a new ConfigurationItem. |
|
ConfigurationItem(WTProductConfiguration configuration)
Constructs a new ConfigurationItem. |
Method Summary | |
void |
create(WTProduct product,
String name,
String description)
Create a new contained configuration for this configurationitem. |
void |
delete()
Delete the contained configuration of this configurationitem. |
void |
dispatchRefresh()
Dispatch a RefeshEvent for modifications to the contained Configuration |
ConfigSpecItem |
getConfigSpecItem()
Return the contained ConfigSpecItem |
WTProductConfiguration |
getConfiguration()
Return the contained WTProductConfiguration object. |
String |
getConfigurationName()
Returns the current name of this ConfigurationItem. |
String |
getCreatedByPersonName()
Returns the Created by person name. |
String |
getCreationDate()
Returns the creation date. |
String |
getDescription()
Returns the current descripiton of this ConfigurationItem. |
String |
getDisplayIdentity(Locale locale)
Returns the identity of this object. |
PartExplorer |
getExplorer()
Return the parent part explorer |
String |
getIdentity()
Deprecated. replaced with getDisplayIdentity |
String |
getLastUpdated()
Returns the last updated date. |
String |
getLifecycleName()
Get the lifecycle name for this object |
String |
getModifiedByPersonName()
Returns the Modified by person name. |
WTProduct |
getProduct()
Returns the last updated date. |
protected ResourceBundle |
getResource()
|
String |
getState()
Returns the current state of this ConfigurationItem. |
String |
getStatusText()
Return a string indicating the checkout status of this object |
String |
getTeamTemplateName()
Get the teamTemplate name for this object |
String |
getUniqueIdentity()
Override the default behavior defined in wt.clients.beans.WTBusinessObject. |
Explorable[] |
getUses()
Returns an array of Explorable objects this PartItem uses. |
protected void |
init()
Initialize the ConfigurationItem configuration without any side effect. |
private void |
initResources()
|
boolean |
isModified()
gets the modified flag for this configurationitem. |
boolean |
isNew()
gets the isNew flag for this configurationitem. |
void |
setConfigSpecItem(ConfigSpecItem configSpecItem)
Set the contained ConfigSpecItem |
void |
setConfiguration(WTProductConfiguration configuration)
Sets the contained configuration. |
void |
setConfigurationName(String name)
Sets the name of this configurationi tem. |
protected void |
setConfigurationSimply(WTProductConfiguration configuration)
Sets the contained configuration without any side effect. |
void |
setDescription(String description)
Sets the description of this configurationItem |
void |
setExplorer(PartExplorer explorer)
Set the parent part explorer |
void |
setFields()
Copies values from the ConfigurationItem to contained Configuration |
protected void |
setModified(boolean modified)
Sets the modified flag for this configurationitem. |
void |
setNew(boolean isNew)
Sets the isNew flag for this configurationitem. |
void |
setState(String state)
Sets the state of this configurationitem. |
void |
setStatusText(String value)
|
String |
toString()
Returns a string representation of the configurationitem. |
void |
update()
Save the contained configuration of this configurationitem. |
Methods inherited from class wt.clients.beans.explorer.WTBusinessObject |
getAttributeValue, getAttributeValue, getContents, getObject, getOpenIcon, getStandardIcon, setIdentity, setObject, setObject, setStandardIcon, setStandardIcon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static ResourceBundle resource
private static String RESOURCE
private ConfigSpecItem configSpecItem
private boolean modified
private boolean isNew
private String configurationName
private String description
private String state
private String teamTemplate
private String lifecycle
private String status_text
private UsesInterfaceList usesInterface
private UsedByList usedBy
private ReferencesList references
private BuildRuleList buildRule
private PartExplorer myExplorer
WTProduct product
Constructor Detail |
public ConfigurationItem(WTProduct product) throws WTException
WTException
public ConfigurationItem(WTProductConfiguration configuration)
WTProductConfiguration
Method Detail |
public void setConfiguration(WTProductConfiguration configuration)
configuration
- the contained wt.part.WTProductConfiguration.WTProductConfiguration
protected void setConfigurationSimply(WTProductConfiguration configuration)
configuration
- the contained wt.part.WTProductConfiguration.WTProductConfiguration
protected void init() throws WTException
WTException
VersionException
WTProductConfiguration
public WTProductConfiguration getConfiguration()
WTProductConfiguration
public WTProduct getProduct()
public void setConfigSpecItem(ConfigSpecItem configSpecItem)
configSpecItem
- the contained ConfigSpecItemConfigSpecItem
public ConfigSpecItem getConfigSpecItem()
ConfigSpecItem
public void setNew(boolean isNew)
isNew
- the new isNew value of this configurationitem.public boolean isNew()
protected void setModified(boolean modified)
modified
- the new modified value of this configurationitem.public boolean isModified()
public void create(WTProduct product, String name, String description) throws WTException
WTException
public void setFields() throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public void update() throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public void delete() throws WTException
WTException
public void dispatchRefresh()
wt.clients.util.RefeshEvent
public void setConfigurationName(String name)
name
- the new name of this configurationitem.public String getConfigurationName()
public void setDescription(String description)
description
- the new name of this partitem.public String getDescription()
public void setState(String state)
state
- the new state of this configurationitem.public String getState()
public String getCreatedByPersonName()
WTException
VersionException
public String getModifiedByPersonName()
WTException
VersionException
public String getCreationDate()
public String getLastUpdated()
public Explorable[] getUses() throws WTException
getUses
in interface Explorable
getUses
in class WTBusinessObject
WTException
Explorable
public String toString()
public String getDisplayIdentity(Locale locale)
public String getIdentity()
getIdentity
in interface Identifiable
getIdentity
in class WTBusinessObject
String
public String getTeamTemplateName()
public String getLifecycleName()
public void setStatusText(String value)
public String getStatusText()
private void initResources()
protected ResourceBundle getResource()
public String getUniqueIdentity()
getUniqueIdentity
in interface Identifiable
getUniqueIdentity
in class WTBusinessObject
public void setExplorer(PartExplorer explorer)
explorer
- the part explorerPartExplorer
public PartExplorer getExplorer()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |