Web Dynpro API Documentation

com.sap.tc.webdynpro.progmodel.model.api
Interface IWDModelClassChangeTracking

All Known Subinterfaces:
IWDDynamicRFCModelClass

public interface IWDModelClassChangeTracking

Model Classes implementing this interface are capable of tracking changes.

Version:
$Id: //tc/WebDynproRuntime/630_VAL_REL/src/_webdynpro_progmodel/java/com/sap/tc/webdynpro/progmodel/model/api/IWDModelClassChangeTracking.java#2 $

Method Summary
 boolean isAttributeChanged(int index)
          Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method isAttributeChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.
 boolean isAttributeChanged(java.lang.String attributeName)
          Returns whether the attribute specified by the attributeName has been changed.
 boolean isRoleChanged(int index)
          Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method isRoleChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.
 boolean isRoleChanged(java.lang.String roleName)
          Returns whether the role specified by the roleName has been changed.
 void markAttributeChanged(java.lang.String attributeName)
          marks an attribute changed
 void markAttributeUnChanged(java.lang.String attributeName)
          marks an attribute unchanged
 void markRoleChanged(java.lang.String roleName)
          marks a role changed
 void markRoleUnChanged(java.lang.String roleName)
          marks a role unchanged
 void resetChanged()
          Resets the change flags
 void setAttributeChanged(int index)
          Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method markAttributeChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.
 void setAttributeUnChanged(int index)
          Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method markAttributeUnChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.
 void setRoleChanged(int index)
          Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method markRoleChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.
 void setRoleUnChanged(int index)
          Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method markRoleUnChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.
 

Method Detail

markAttributeChanged

public void markAttributeChanged(java.lang.String attributeName)
marks an attribute changed
Parameters:
attributeName - The name of the changed attribute or null to mark all attributes as changed

markAttributeUnChanged

public void markAttributeUnChanged(java.lang.String attributeName)
marks an attribute unchanged
Parameters:
attributeName - The name of the changed attribute or null to mark all attributes as unchanged

isAttributeChanged

public boolean isAttributeChanged(java.lang.String attributeName)
Returns whether the attribute specified by the attributeName has been changed.
Parameters:
attributeName - The name of the attribute to check if it has been changed

markRoleChanged

public void markRoleChanged(java.lang.String roleName)
marks a role changed
Parameters:
roleName - The name of the changed role or null to mark all roles as changed

markRoleUnChanged

public void markRoleUnChanged(java.lang.String roleName)
marks a role unchanged
Parameters:
roleName - The name of the role to unchange or null to mark all roles as unchanged

isRoleChanged

public boolean isRoleChanged(java.lang.String roleName)
Returns whether the role specified by the roleName has been changed.
Parameters:
roleName - The name of the role to check if it has been changed

resetChanged

public void resetChanged()
Resets the change flags

setAttributeChanged

public void setAttributeChanged(int index)
Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method markAttributeChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.

marks an attribute changed
Parameters:
attributeIndex - The index of the changed attribute or -1 to mark all attributes changed

setAttributeUnChanged

public void setAttributeUnChanged(int index)
Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method markAttributeUnChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.

marks an attribute unchanged
Parameters:
attributeIndex - The index of the attribute to back to unchanged or -1 to mark all attributes un changed

isAttributeChanged

public boolean isAttributeChanged(int index)
Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method isAttributeChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.

Returns whether the attribute specified by the index has been changed.

setRoleChanged

public void setRoleChanged(int index)
Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method markRoleChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.

marks a role changed
Parameters:
index - The index of the changed role or -1 to mark all roles changed

setRoleUnChanged

public void setRoleUnChanged(int index)
Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method markRoleUnChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.

marks a role unchanged
Parameters:
index - The index of the role to set back to unchanged or -1 to mark all roles unchanged

isRoleChanged

public boolean isRoleChanged(int index)
Deprecated. Indexes may not be stable over time in the DynamicRFCAdapter. Therefore use the String based method isRoleChanged(String) instead. The index based method may be withdrawn with the first new NetWeaver release in 2006.

Returns whether the role specified by the index has been changed.

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15