com.sapportals.wcm.repository.service.timebasedpublish

Class TimebasedPublishConstants

java.lang.Object
  extended bycom.sapportals.wcm.repository.service.timebasedpublish.TimebasedPublishConstants

public class TimebasedPublishConstants
extends Object

The class provides access to the property names which the time-based publishing service uses. Some service-specific application properties are needed for the time-based publishing service to work. These properties are accessed with the methods IResource.getProperties() and IResource.getProperty(IPropertyName PropName) . The IPropertyName objects for these properties can be accessed by the different methods defined in this class.


Field Summary
static String CONNECTIONPOOLID_PROP_KEY
           
static String VALIDITYNAMESPACE
           
 
Constructor Summary
TimebasedPublishConstants()
           
 
Method Summary
static IPropertyName getDisplayValidFromPropName()
          Gets the name of the property which is displayed as the 'valid from' property for a resource.
static IPropertyName getDisplayValidToPropName()
          Gets the name of the property which is to be displayed as the 'valid until' property for a resource.
static IPropertyName getTimebasePublishEnabledName()
          Gets the name of the property which determines if time-based publishing is enabled for a resource.
static IPropertyName getValidFromPropName()
          Gets the name of the property which determines the point in time at which a resource is to be made visible by the scheduler task.
static IPropertyName getValidToPropName()
          Gets the name of the property which determines the point in time at which a resource is to be made invisible by the scheduler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONNECTIONPOOLID_PROP_KEY

public static final String CONNECTIONPOOLID_PROP_KEY
See Also:
Constant Field Values

VALIDITYNAMESPACE

public static final String VALIDITYNAMESPACE
See Also:
Constant Field Values
Constructor Detail

TimebasedPublishConstants

public TimebasedPublishConstants()
Method Detail

getTimebasePublishEnabledName

public static IPropertyName getTimebasePublishEnabledName()
                                                   throws ResourceException
Gets the name of the property which determines if time-based publishing is enabled for a resource. This IPropertyName defines a property which is normally set for collections to define whether the visiblity of all children that belong to this collection is controlled by the time-based publishing service.

Returns:
the TimebasePublishEnabledName value
Throws:
ResourceException - exception raised in failure situation

getValidFromPropName

public static IPropertyName getValidFromPropName()
                                          throws ResourceException
Gets the name of the property which determines the point in time at which a resource is to be made visible by the scheduler task. This property is used by the method ITimebasedPublishServiceManager.handleVisibleResources() to find all resources which have to be made visible at a certain point in time. The method deletes this property for each resource it finds in order to make it visible.

Returns:
the ValidFromPropName value
Throws:
ResourceException - exception raised in failure situation

getValidToPropName

public static IPropertyName getValidToPropName()
                                        throws ResourceException
Gets the name of the property which determines the point in time at which a resource is to be made invisible by the scheduler. This property is used by the method ITimebasedPublishServiceManager.handleInvisibleResources() to find all resources which have to be hidden at a certain point in time. The method deletes this property for each resource it finds in order to hide it.

Returns:
the ValidToPropName value
Throws:
ResourceException - exception raised in failure situation

getDisplayValidFromPropName

public static IPropertyName getDisplayValidFromPropName()
                                                 throws ResourceException
Gets the name of the property which is displayed as the 'valid from' property for a resource. This property has no direct influence on the visibility of a resource. It is a copy of the property that controls visibility.

Returns:
the DisplayValidFromPropName value
Throws:
ResourceException - exception raised in failure situation

getDisplayValidToPropName

public static IPropertyName getDisplayValidToPropName()
                                               throws ResourceException
Gets the name of the property which is to be displayed as the 'valid until' property for a resource. This property has no direct influence on the visibility of a resource. It is a copy of the property that controls visibility.

Returns:
the DisplayValidToPropName value
Throws:
ResourceException - 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.