|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.repository.service.timebasedpublish.TimebasedPublishConstants
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 |
public static final String CONNECTIONPOOLID_PROP_KEY
public static final String VALIDITYNAMESPACE
| Constructor Detail |
public TimebasedPublishConstants()
| Method Detail |
public static IPropertyName getTimebasePublishEnabledName()
throws ResourceException
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.
ResourceException - exception raised in failure situation
public static IPropertyName getValidFromPropName()
throws ResourceException
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.
ResourceException - exception raised in failure situation
public static IPropertyName getValidToPropName()
throws ResourceException
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.
ResourceException - exception raised in failure situation
public static IPropertyName getDisplayValidFromPropName()
throws ResourceException
ResourceException - exception raised in failure situation
public static IPropertyName getDisplayValidToPropName()
throws ResourceException
ResourceException - exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||