com.sapportals.wcm.repository

Class PropertyChangeResult

java.lang.Object
  extended by com.sapportals.wcm.repository.PropertyChangeResult

public class PropertyChangeResult
extends Object

This class is a container for the results of the IResource.setProperties methods. A collection of instances of this class can be contained in a SetPropertiesException.

Copyright (c) SAP AG 2001-2004


Constructor Summary
PropertyChangeResult(IPropertyName propertyName, Integer propChangeIdx, ResourceException ex)
          Construct a new PropertyChangeResult.
 
Method Summary
 Integer getPropertyChangeIndex()
          Returns the index of the entry in the list of property changes.
 IPropertyName getPropertyName()
          Returns the name of the property that failed
 ResourceException getResourceException()
          Returns the exception that occured in the property manager when setting the property.
 boolean isOK()
          Property was set or removed successfull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyChangeResult

public PropertyChangeResult(IPropertyName propertyName,
                            Integer propChangeIdx,
                            ResourceException ex)
Construct a new PropertyChangeResult.

Parameters:
propertyName - The name of the property that could not be set or removed
propChangeIdx - The index of the property change that failed. Can be null .
ex - The exception that occured in the property manager when setting the property.
Method Detail

getPropertyName

public IPropertyName getPropertyName()
Returns the name of the property that failed

Returns:
propertyName

getPropertyChangeIndex

public Integer getPropertyChangeIndex()
Returns the index of the entry in the list of property changes. Can be null .

Returns:
propertyChangeIndex

getResourceException

public ResourceException getResourceException()
Returns the exception that occured in the property manager when setting the property.

Returns:
resourceException

isOK

public boolean isOK()
Property was set or removed successfull

Returns:
oK
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-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice