SAP NetWeaver '04

com.sapportals.wcm.repository.service.appproperties
Interface IAppProperty

[contained in: com.sap.netweaver.bc.rf.service.par - bc.rf.repository.service.appproperties_api.jar]
All Known Implementing Classes:
AppProperty

public interface IAppProperty

An application-defined and personalized property of a resource object in any repository.

Copyright (c) SAP AG 2001-2004


Method Summary
 java.lang.Boolean getBooleanValue()
          Get the property value if the type is PropertyType.BOOLEAN or null otherwise.
 java.util.Date getDateValue()
          Get the property value if the type is PropertyType.DATE or null otherwise.
 java.lang.Integer getIntegerValue()
          Get the property value if the type is PropertyType.INTEGER or null otherwise.
 java.lang.Long getLongValue()
          Get the property value if the type is PropertyType.LONG or null otherwise.
 IPropertyName getPropertyName()
          Returns the property name
 java.lang.String getStringValue()
          Get the property value if the type is PropertyType.STRING or PropertyType.XML, or null otherwise.
 PropertyType getType()
          Returns the property data type
 java.lang.String getUserID()
          Returns the user ID if the property is personalized, null otherwise
 java.lang.String getValueAsString()
          Get the property value converted to a string.
 java.util.List getValues()
          Returns a list of property values if the property is defined as multi-valued, null otherwise
 boolean isCopyEnabled()
          Returns a flag indicating of the properties should be copied if copy() is called on the resource
 boolean isMultivalued()
          Returns true if it is a multi-valued property
 

Method Detail

getPropertyName

public IPropertyName getPropertyName()
Returns the property name
Returns:
The property name object

getType

public PropertyType getType()
Returns the property data type
Returns:
The property type constant

isMultivalued

public boolean isMultivalued()
Returns true if it is a multi-valued property
Returns:
multivalued

isCopyEnabled

public boolean isCopyEnabled()
Returns a flag indicating of the properties should be copied if copy() is called on the resource
Returns:
Boolean value

getUserID

public java.lang.String getUserID()
Returns the user ID if the property is personalized, null otherwise
Returns:
The user ID

getValueAsString

public java.lang.String getValueAsString()
Get the property value converted to a string.
Returns:
A String value or null if it is a multi-valued property

getBooleanValue

public java.lang.Boolean getBooleanValue()
Get the property value if the type is PropertyType.BOOLEAN or null otherwise.
Returns:
The value

getIntegerValue

public java.lang.Integer getIntegerValue()
Get the property value if the type is PropertyType.INTEGER or null otherwise.
Returns:
The value

getLongValue

public java.lang.Long getLongValue()
Get the property value if the type is PropertyType.LONG or null otherwise.
Returns:
The value

getDateValue

public java.util.Date getDateValue()
Get the property value if the type is PropertyType.DATE or null otherwise.
Returns:
The value

getStringValue

public java.lang.String getStringValue()
Get the property value if the type is PropertyType.STRING or PropertyType.XML, or null otherwise.
Returns:
The value

getValues

public java.util.List getValues()
                         throws WcmException
Returns a list of property values if the property is defined as multi-valued, null otherwise
Returns:
values
Throws:
WcmException - Exception raised in failure situation

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.