com.sapportals.wcm.repository

Class PropertyName

java.lang.Object
  extended bycom.sapportals.wcm.util.name.Name
      extended bycom.sapportals.wcm.repository.PropertyName
All Implemented Interfaces:
IName, IPropertyName, Serializable
Direct Known Subclasses:
ProviderPrioPropertyName, ShowChildrenPropertyName

public class PropertyName
extends Name
implements IPropertyName, Serializable

The name of a resource's property.

Copyright (c) SAP AG 2001-2002

See Also:
Serialized Form

Constructor Summary
PropertyName(Name name)
          Constructs a new name from a Name instance.
PropertyName(String namespace, String name)
          Construct a new name.
 
Method Summary
static IPropertyName createCollection()
           
static IPropertyName createContentLanguage()
           
static IPropertyName createContentLength()
           
static IPropertyName createContentType()
           
static IPropertyName createCreatedBy()
           
static IPropertyName createCreationDate()
           
static IPropertyName createDescription()
           
static IPropertyName createDisplayname()
           
static IPropertyName createEnhancedCollection()
           
static IPropertyName createETag()
           
static IPropertyName createExtension()
           
static IPropertyName createFollowLinks()
          The property with this name has the following semantics: If this property is present on a resource, has type boolean and evaluates to FALSE, then pointers from this resource to others should not be followed.
static IPropertyName createHidden()
           
static IPropertyName createIndexContent()
          The property with this name has the following semantics: If this property is present on a resource, has type boolean and evaluates to FALSE, then the content of this resource is not suitable for indexing.
static IPropertyName createLastModified()
           
static IPropertyName createLastModifiedBy()
           
static IPropertyName createLinkType()
           
static IPropertyName createReadOnly()
           
static IPropertyName createResourceType()
           
static IPropertyName createVersioned()
           
 
Methods inherited from class com.sapportals.wcm.util.name.Name
equals, equalsNode, getName, getNamespace, getNamespaceOrNull, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sapportals.wcm.util.name.IName
getName, getNamespace, getNamespaceOrNull
 

Constructor Detail

PropertyName

public PropertyName(String namespace,
                    String name)
             throws ResourceException
Construct a new name.

Parameters:
namespace - The namespace string
name - The name of the property. It must not contains whiltespaces and must not start with a digit ('0'...'9') character.
Throws:
ResourceException - If the property name is invalid

PropertyName

public PropertyName(Name name)
             throws ResourceException
Constructs a new name from a Name instance.

Parameters:
name - TBD: Description of the incoming method parameter
Throws:
ResourceException - Exception raised in failure situation
Method Detail

createVersioned

public static IPropertyName createVersioned()

createCreatedBy

public static IPropertyName createCreatedBy()

createLastModifiedBy

public static IPropertyName createLastModifiedBy()

createCreationDate

public static IPropertyName createCreationDate()

createHidden

public static IPropertyName createHidden()

createIndexContent

public static IPropertyName createIndexContent()
The property with this name has the following semantics: If this property is present on a resource, has type boolean and evaluates to FALSE, then the content of this resource is not suitable for indexing. Any crawler visiting this resource shall, under normal operations, not add the content of this resource to any searchable database.

Returns:
name of index-content property

createFollowLinks

public static IPropertyName createFollowLinks()
The property with this name has the following semantics: If this property is present on a resource, has type boolean and evaluates to FALSE, then pointers from this resource to others should not be followed. Any crawler visiting this resource shall, under normal operations, not follow any pointers to other resources. For collection resources this property indicates that the children of this collection should not be crawled. For non-hierarchical resources the intention is that any embedded-links property shall be ignored.

Returns:
name of follow-links property

createExtension

public static IPropertyName createExtension()

createLastModified

public static IPropertyName createLastModified()

createDescription

public static IPropertyName createDescription()

createDisplayname

public static IPropertyName createDisplayname()

createReadOnly

public static IPropertyName createReadOnly()

createContentLength

public static IPropertyName createContentLength()

createContentType

public static IPropertyName createContentType()

createETag

public static IPropertyName createETag()

createEnhancedCollection

public static IPropertyName createEnhancedCollection()

createContentLanguage

public static IPropertyName createContentLanguage()

createResourceType

public static IPropertyName createResourceType()

createCollection

public static IPropertyName createCollection()

createLinkType

public static IPropertyName createLinkType()


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.