Package org.opencms.db.userpublishlist
Class CmsUserPublishListEntry
java.lang.Object
org.opencms.db.userpublishlist.CmsUserPublishListEntry
User publish list entry.
-
Constructor Summary
ConstructorsConstructorDescriptionCmsUserPublishListEntry
(CmsUUID userId, CmsUUID structureId, long dateChanged) Creates a new user publish list entry. -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the modification date of the user publish list entry.Gets the structure id of the resource in the publish list.Gets the id of the user to whom the publish list entry belongs.
-
Constructor Details
-
CmsUserPublishListEntry
Creates a new user publish list entry.- Parameters:
userId
- the user id of the owner of the entry (if this field is null, and this object is passed to a method which deletes user publsih list entries, this is interpreted as deleting user publish list entries for all users)structureId
- the structure id of the publish list entry resourcedateChanged
- the date at which the publish list entry was updated
-
-
Method Details
-
getDateChanged
Gets the modification date of the user publish list entry.- Returns:
- the date changed
-
getStructureId
Gets the structure id of the resource in the publish list.- Returns:
- the structure id of the resource in the publish list
-
getUserId
Gets the id of the user to whom the publish list entry belongs.- Returns:
- the user id of the publish list entry
-