com.sapportals.wcm.command

Class SubscriptionCommandUtil

java.lang.Object
  extended by com.sapportals.wcm.command.SubscriptionCommandUtil

Deprecated. since NetWeaver 7.1

public class SubscriptionCommandUtil
extends Object

Describe here.

Copyright 2004 SAP AG


Field Summary
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 Summary
SubscriptionCommandUtil()
          Deprecated.  
 
Method Summary
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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_CONDITION_EVENT

public static final String KEY_CONDITION_EVENT
Deprecated. 
See Also:
Constant Field Values

KEY_CONDITION_INTERVAL

public static final String KEY_CONDITION_INTERVAL
Deprecated. 
See Also:
Constant Field Values

KEY_CONDITION_RECURSION

public static final String KEY_CONDITION_RECURSION
Deprecated. 
See Also:
Constant Field Values

KEY_ANNOTATION

public static final String KEY_ANNOTATION
Deprecated. 
See Also:
Constant Field Values

KEY_NAME

public static final String KEY_NAME
Deprecated. 
See Also:
Constant Field Values

KEY_EXPIRY

public static final String KEY_EXPIRY
Deprecated. 
See Also:
Constant Field Values

KEY_SUBSCRIPTION

public static final String KEY_SUBSCRIPTION
Deprecated. 
See Also:
Constant Field Values

KEY_CHANNEL

public static final String KEY_CHANNEL
Deprecated. 
See Also:
Constant Field Values

DATE_ONEWEEK

public static final String DATE_ONEWEEK
Deprecated. 
See Also:
Constant Field Values

DATE_ONEMONTH

public static final String DATE_ONEMONTH
Deprecated. 
See Also:
Constant Field Values

DATE_SIXMONTH

public static final String DATE_SIXMONTH
Deprecated. 
See Also:
Constant Field Values

DATE_ONEYEAR

public static final String DATE_ONEYEAR
Deprecated. 
See Also:
Constant Field Values

DATE_NEVER

public static final String DATE_NEVER
Deprecated. 
See Also:
Constant Field Values

DATE_SET

public static final String DATE_SET
Deprecated. 
See Also:
Constant Field Values

MSG_NO_PERMISSION

public static final String MSG_NO_PERMISSION
Deprecated. 
See Also:
Constant Field Values

MSG_NOT_AVAILABLE

public static final String MSG_NOT_AVAILABLE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SubscriptionCommandUtil

public SubscriptionCommandUtil()
Deprecated. 
Method Detail

getInvalidRecipientsForChannel

public IRecipientList getInvalidRecipientsForChannel()
Deprecated. 

checkForRecipientGiven

public void checkForRecipientGiven(SelectionUserManager sum)
                            throws ValidationException
Deprecated. 
Throws:
ValidationException

readExpiryDate

public Date readExpiryDate(String aDate,
                           long expiryDate)
Deprecated. 

canCreateSubscription

public static boolean canCreateSubscription(IResource res,
                                            String permission)
Deprecated. 

canDeleteSubscription

public static boolean canDeleteSubscription(IResource res)
Deprecated. 

isRecipient

public static boolean isRecipient(IResource res)
                           throws WcmException
Deprecated. 
Checks if a user is recipient of any subscription on the resource.

Returns:
false if the user isn't recipient of any subscription true if the user is recipient of any subscription
Throws:
WcmException

doUnsubscribeRecipient

public static boolean doUnsubscribeRecipient(IResource res)
                                      throws WcmException
Deprecated. 
Unsubscribes the resources' context user from all subscriptions of the resource.
If the context user is the last user to unsubscribe and also the owner of the subscription, the subscription will be deleted.

Returns:
false if the user wasn't unsubscribed from any subscription true if the user was at last unsubscribed from one subscription.
Throws:
WcmException

createDefaultSubscription

public static String createDefaultSubscription(IResource res)
                                        throws WcmException
Deprecated. 
Throws:
WcmException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice