public class TimebasedPublishConstants extends Object
IResource.getProperties()
and
IResource.getProperty(IPropertyName PropName)
.
The IPropertyName
objects for these properties can be
accessed by the different methods defined in this class. getDisplayValidToXdaysPropName()
,
getValidToXdaysPropName()
Added fields: VALIDTOXDAYSPROPNAME
,
DISPLAY_VALIDTOXDAYSPROPNAME
,
validToXdaysPropName
,
displayValidToXdaysPropName
.Modifier and Type | Field and Description |
---|---|
static String |
CONNECTIONPOOLID_PROP_KEY |
static String |
VALIDITYNAMESPACE |
Constructor and Description |
---|
TimebasedPublishConstants() |
Modifier and Type | Method and Description |
---|---|
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 |
getDisplayValidToXdaysPropName()
Gets the name of the property which is to be displayed as the
'How many days before validity expires' when lifetime is activated on folder
|
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.
|
static IPropertyName |
getValidToXdaysPropName()
Gets the name of the property which determines how many days before the resource becomes invisible, the subscribed users should receive a notification.
|
public static final String CONNECTIONPOOLID_PROP_KEY
public static final String VALIDITYNAMESPACE
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 situationpublic 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 situationpublic 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 situationpublic static IPropertyName getDisplayValidFromPropName() throws ResourceException
ResourceException
- exception raised in failure situationpublic static IPropertyName getDisplayValidToPropName() throws ResourceException
ResourceException
- exception raised in failure situationpublic static IPropertyName getValidToXdaysPropName() throws ResourceException
ResourceException
- exception raised in failure situationpublic static IPropertyName getDisplayValidToXdaysPropName() throws ResourceException
ResourceException
- exception raised in failure situationAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice