com.sapportals.wcm.repository.service.appproperties

Interface IAppProperty

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
 Boolean getBooleanValue()
          Get the property value if the type is PropertyType.BOOLEAN or null otherwise.
 Date getDateValue()
          Get the property value if the type is PropertyType.DATE or null otherwise.
 Integer getIntegerValue()
          Get the property value if the type is PropertyType.INTEGER or null otherwise.
 Long getLongValue()
          Get the property value if the type is PropertyType.LONG or null otherwise.
 IPropertyName getPropertyName()
          Returns the property name
 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
 String getUserID()
          Returns the user ID if the property is personalized, null otherwise
 String getValueAsString()
          Get the property value converted to a string.
 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 String getUserID()
Returns the user ID if the property is personalized, null otherwise

Returns:
The user ID

getValueAsString

public 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 Boolean getBooleanValue()
Get the property value if the type is PropertyType.BOOLEAN or null otherwise.

Returns:
The value

getIntegerValue

public Integer getIntegerValue()
Get the property value if the type is PropertyType.INTEGER or null otherwise.

Returns:
The value

getLongValue

public Long getLongValue()
Get the property value if the type is PropertyType.LONG or null otherwise.

Returns:
The value

getDateValue

public Date getDateValue()
Get the property value if the type is PropertyType.DATE or null otherwise.

Returns:
The value

getStringValue

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

Returns:
The value

getValues

public 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


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. 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.