Class AbstractDiscrepancyMetaDataBuilder
java.lang.Object
com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyMetaDataBuilder
- All Implemented Interfaces:
com.ptc.windchill.associativity.reconciliation.DiscrepancyMetaDataBuilder
public abstract class AbstractDiscrepancyMetaDataBuilder
extends Object
implements com.ptc.windchill.associativity.reconciliation.DiscrepancyMetaDataBuilder
The base class to define the template to get Assemble Under UI metadata.
This is not singleton, you can call
Supported API: true
Extendable: true
getDiscrepancyMetaData(ReconciliationContext, Collection)
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionprotected StringSupported API: trueprotected org.json.JSONObjectDeprecated.protected StringSupported API: trueprotected org.json.JSONObjectDeprecated.replaced bygetBOMTypeColumn()protected StringgetColumnMetadata(String attribute, String displayAttribute, String dataUtilityID, boolean isSorable, AttributeTypeSummary.InputFieldType inputFieldType) Supported API: trueprotected org.json.JSONObjectgetColumnMetadataJSON(String attribute, String displayAttribute, String dataUtilityID, boolean isSorable, AttributeTypeSummary.InputFieldType inputFieldType) Deprecated.replaced byinvalid reference
#getColumnMetadata()protected org.json.JSONArraygetDiscrepancyMetaDataJSON(ReconciliationContext reconciliationContext, Collection<Discrepancy2> discrepancies) Deprecated.replaced byinvalid reference
#getDiscrepancyMetaDataStr()protected StringgetDiscrepancyMetaDataStr(ReconciliationContext reconciliationContext, Collection<Discrepancy2> discrepancies) Supported API: trueprotected StringgetDisplayLabel(String attributeLabel) Supported API: trueprotected StringgetDisplayLabel(String resourceClass, String resourceLabel) Supported API: trueprotected StringSupported API: trueprotected org.json.JSONObjectDeprecated.replaced bygetDownstreamViewColumn()protected StringSupported API: trueprotected org.json.JSONObjectDeprecated.replaced bygetExistingOrNewColumn()protected StringSupported API: trueprotected org.json.JSONObjectDeprecated.replaced bygetNameColumn()protected StringSupported API: trueprotected org.json.JSONObjectDeprecated.replaced bygetNumberColumn()protected StringSupported API: trueprotected org.json.JSONObjectDeprecated.replaced bygetTargetFolderColumn()protected StringSupported API: trueprotected org.json.JSONObjectDeprecated.replaced bygetTypeIconColumnJSON()
-
Method Details
-
getDiscrepancyMetaDataStr
protected String getDiscrepancyMetaDataStr(ReconciliationContext reconciliationContext, Collection<Discrepancy2> discrepancies) throws WTException Supported API: true- Parameters:
reconciliationContext-discrepancies-- Returns:
- Throws:
WTException
-
getDiscrepancyMetaDataJSON
@Deprecated protected org.json.JSONArray getDiscrepancyMetaDataJSON(ReconciliationContext reconciliationContext, Collection<Discrepancy2> discrepancies) throws WTException, org.json.JSONException Deprecated.replaced byinvalid reference
#getDiscrepancyMetaDataStr()Supported API: true- Parameters:
reconciliationContext-discrepancies-- Returns:
- Throws:
WTExceptionorg.json.JSONException
-
getTypeIconColumn
Supported API: true- Returns:
- Throws:
WTException
-
getTypeIconColumnJSON
@Deprecated protected org.json.JSONObject getTypeIconColumnJSON() throws WTException, org.json.JSONExceptionDeprecated.replaced bygetTypeIconColumnJSON()Supported API: true- Returns:
- Throws:
WTExceptionorg.json.JSONException
-
getNameColumn
Supported API: true- Returns:
- Throws:
WTException
-
getNameColumnJSON
@Deprecated protected org.json.JSONObject getNameColumnJSON() throws WTException, org.json.JSONExceptionDeprecated.replaced bygetNameColumn()Supported API: true- Returns:
- Throws:
WTExceptionorg.json.JSONException
-
getNumberColumn
Supported API: true- Returns:
- Throws:
WTException
-
getNumberColumnJSON
@Deprecated protected org.json.JSONObject getNumberColumnJSON() throws WTException, org.json.JSONExceptionDeprecated.replaced bygetNumberColumn()Supported API: true- Returns:
- Throws:
WTExceptionorg.json.JSONException
-
getDownstreamViewColumn
Supported API: true- Returns:
- Throws:
WTException
-
getDownstreamViewColumnJSON
@Deprecated protected org.json.JSONObject getDownstreamViewColumnJSON() throws WTException, org.json.JSONExceptionDeprecated.replaced bygetDownstreamViewColumn()Supported API: true- Returns:
- Throws:
WTExceptionorg.json.JSONException
-
getTargetFolderColumn
Supported API: true- Returns:
- Throws:
WTException
-
getTargetFolderColumnJSON
@Deprecated protected org.json.JSONObject getTargetFolderColumnJSON() throws WTException, org.json.JSONExceptionDeprecated.replaced bygetTargetFolderColumn()Supported API: true- Returns:
- Throws:
WTExceptionorg.json.JSONException
-
getBOMTypeColumn
Supported API: true- Returns:
- Throws:
WTException
-
getBOMTypeColumnJSON
@Deprecated protected org.json.JSONObject getBOMTypeColumnJSON() throws WTException, org.json.JSONExceptionDeprecated.replaced bygetBOMTypeColumn()Supported API: true- Returns:
- Throws:
WTExceptionorg.json.JSONException
-
getAlternateBOMTypeColumn
Supported API: true- Returns:
- Throws:
WTException
-
getAlternateBOMTypeColumnJSON
@Deprecated protected org.json.JSONObject getAlternateBOMTypeColumnJSON() throws WTException, org.json.JSONExceptionDeprecated.replaced bygetAlternateBOMTypeColumn()Supported API: true- Returns:
- Throws:
WTExceptionorg.json.JSONException
-
getExistingOrNewColumn
Supported API: true- Returns:
- Throws:
WTException
-
getExistingOrNewColumnJSON
@Deprecated protected org.json.JSONObject getExistingOrNewColumnJSON() throws WTException, org.json.JSONExceptionDeprecated.replaced bygetExistingOrNewColumn()Supported API: true- Returns:
- Throws:
WTExceptionorg.json.JSONException
-
getDisplayLabel
Supported API: true- Parameters:
attributeLabel-- Returns:
- Throws:
WTException
-
getDisplayLabel
Supported API: true- Parameters:
resourceClass-resourceLabel-- Returns:
- Throws:
WTException
-
getColumnMetadata
protected String getColumnMetadata(String attribute, String displayAttribute, String dataUtilityID, boolean isSorable, AttributeTypeSummary.InputFieldType inputFieldType) throws WTException Supported API: true- Parameters:
attribute-displayAttribute-dataUtilityID-isSorable-inputFieldType-- Returns:
- Throws:
WTException
-
getColumnMetadataJSON
@Deprecated protected org.json.JSONObject getColumnMetadataJSON(String attribute, String displayAttribute, String dataUtilityID, boolean isSorable, AttributeTypeSummary.InputFieldType inputFieldType) throws WTException, org.json.JSONException Deprecated.replaced byinvalid reference
#getColumnMetadata()Supported API: true- Parameters:
attribute-displayAttribute-dataUtilityID-isSorable-inputFieldType-- Returns:
- Throws:
WTExceptionorg.json.JSONException
-
getAlternateBOMTypeColumn()