com.sapportals.wcm.control.base

Interface ITrackedField

All Known Implementing Classes:
MandatoryField

Deprecated. As of NetWeaver 7.1

public interface ITrackedField

tells, if the value has been modified or not. This is an extension interface for the IField concept. If a field implements this interface, it must store its original value from construction time and compare it with the current value of the field. If the current value of a field is invalid, then this interface's method must return true. To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments


Method Summary
 boolean isModified()
          Deprecated. As of NetWeaver 7.1
 void resetOriginalValue(String value)
          Deprecated. As of NetWeaver 7.1
 

Method Detail

isModified

boolean isModified()
Deprecated. As of NetWeaver 7.1

always returns true, except when the original value of the implementing class matches its current value:
originalvalue.equals(currentvalue)

Returns:
true if the value of the implementing class is modified, false otherwise.

resetOriginalValue

void resetOriginalValue(String value)
Deprecated. As of NetWeaver 7.1

explicit call to reset the original value. In a standard scenario, this call is not used. But if, for example, a field value has been set by a screenflow (e.g. a User-ID has been picked from another page), the field has been set with a "trusted" input and the UI might want to track, if the field has been modified after this. Therefore, the event that fills the field through this "picking" screen, would use this method here to reset the original value as well. The call of this method does NOT modify the current value of the field - the method setCurrentValue() must still be called.

Parameters:
value -
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice