public class SubscriptionCommandUtil extends Object
Copyright 2004 SAP AG
Modifier and Type | Field and Description |
---|---|
static String |
DATE_NEVER
Deprecated.
|
static String |
DATE_ONEMONTH
Deprecated.
|
static String |
DATE_ONEWEEK
Deprecated.
|
static String |
DATE_ONEYEAR
Deprecated.
|
static String |
DATE_SET
Deprecated.
|
static String |
DATE_SIXMONTH
Deprecated.
|
static String |
KEY_ANNOTATION
Deprecated.
|
static String |
KEY_CHANNEL
Deprecated.
|
static String |
KEY_CONDITION_EVENT
Deprecated.
|
static String |
KEY_CONDITION_INTERVAL
Deprecated.
|
static String |
KEY_CONDITION_RECURSION
Deprecated.
|
static String |
KEY_EXPIRY
Deprecated.
|
static String |
KEY_NAME
Deprecated.
|
static String |
KEY_SUBSCRIPTION
Deprecated.
|
static String |
MSG_NO_PERMISSION
Deprecated.
|
static String |
MSG_NOT_AVAILABLE
Deprecated.
|
Constructor and Description |
---|
SubscriptionCommandUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
canCreateSubscription(IResource res,
String permission)
Deprecated.
|
static boolean |
canDeleteSubscription(IResource res)
Deprecated.
|
void |
checkForRecipientGiven(SelectionUserManager sum)
Deprecated.
|
static String |
createDefaultSubscription(IResource res)
Deprecated.
|
static boolean |
doUnsubscribeRecipient(IResource res)
Deprecated.
Unsubscribes the resources' context user from all subscriptions of the resource.
|
IRecipientList |
getInvalidRecipientsForChannel()
Deprecated.
|
static boolean |
isRecipient(IResource res)
Deprecated.
Checks if a user is recipient of any subscription on the resource.
|
Date |
readExpiryDate(String aDate,
long expiryDate)
Deprecated.
|
public static final String KEY_CONDITION_EVENT
public static final String KEY_CONDITION_INTERVAL
public static final String KEY_CONDITION_RECURSION
public static final String KEY_ANNOTATION
public static final String KEY_NAME
public static final String KEY_EXPIRY
public static final String KEY_SUBSCRIPTION
public static final String KEY_CHANNEL
public static final String DATE_ONEWEEK
public static final String DATE_ONEMONTH
public static final String DATE_SIXMONTH
public static final String DATE_ONEYEAR
public static final String DATE_NEVER
public static final String DATE_SET
public static final String MSG_NO_PERMISSION
public static final String MSG_NOT_AVAILABLE
public IRecipientList getInvalidRecipientsForChannel()
public void checkForRecipientGiven(SelectionUserManager sum) throws ValidationException
ValidationException
public static boolean canCreateSubscription(IResource res, String permission)
public static boolean canDeleteSubscription(IResource res)
public static boolean isRecipient(IResource res) throws WcmException
false
if the user isn't recipient of any subscription
true
if the user is recipient of any subscriptionWcmException
public static boolean doUnsubscribeRecipient(IResource res) throws WcmException
false
if the user wasn't unsubscribed from any subscription
true
if the user was at last unsubscribed from one subscription.WcmException
public static String createDefaultSubscription(IResource res) throws WcmException
WcmException
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
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