|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.opencms.notification.CmsNotificationCause
public class CmsNotificationCause
Objects of this class are serialized in the additional infos of a user to store, which resources were
already confirmed by the user.
This class is the counterpart to , to be used
for serialization in the AdditionalInfos of a CmsExtendedNotificationCause, and therefore only
contains the essential information
CmsUser
| Constructor Summary | |
|---|---|
CmsNotificationCause(CmsUUID resource,
int cause)
Creates a new CmsNotificationResourceInfo. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Returns true if the Object equals to the corresponding CmsNotificationCause, that means a notification cause with the same resource and cause. |
int |
getCause()
Returns the cause. |
CmsUUID |
getResourceId()
Returns the resource. |
int |
hashCode()
|
void |
setCause(int cause)
Sets the cause. |
void |
setResourceId(CmsUUID resourceId)
Sets the resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsNotificationCause(CmsUUID resource,
int cause)
resource - the specific resourcecause - that the resource occures in the notification| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to check for equality
CmsExtendedNotificationCause.equals(java.lang.Object)public int getCause()
public CmsUUID getResourceId()
public void setCause(int cause)
cause - the cause to setpublic void setResourceId(CmsUUID resourceId)
resourceId - the resource to set
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||