org.olat.core.util.notifications
Class SubscriptionContext
java.lang.Object
org.olat.core.util.notifications.SubscriptionContext
public class SubscriptionContext
- extends java.lang.Object
Description:
Initial Date: 25.10.2004
- Author:
- Felix Jost
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SubscriptionContext
public SubscriptionContext(java.lang.String resName,
java.lang.Long resId,
java.lang.String subidentifier)
- Create a new subscription context
- Parameters:
resName - not null, unique identifier for this context use something like: OresHelper.calculateTypeName(DropboxController.class);resId - not null, resource id like OLATResourcable.getResourceId()subidentifier - not null, when context is from course use CourseNode.getIdent()
SubscriptionContext
public SubscriptionContext(OLATResourceable ores,
java.lang.String subidentifier)
- Create a new subscription context.
Calls the other constructor by calculating the unique name and the resource id out of the OLATResourcable
- Parameters:
ores, - subidentifier - not null, when context is from course use CourseNode.getIdent()
getResId
public java.lang.Long getResId()
- Returns:
- resId
getResName
public java.lang.String getResName()
- Returns:
- resName
getSubidentifier
public java.lang.String getSubidentifier()
- Returns:
- subidentifier
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- See Also:
Object.toString()