mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9156 Tweaks to the calendar listing, to return better empty results where needed, and to include the container noderef too
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29038 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -37,6 +37,11 @@ public interface CalendarEntry extends Serializable, PermissionCheckValue {
|
||||
*/
|
||||
NodeRef getNodeRef();
|
||||
|
||||
/**
|
||||
* @return the NodeRef of the site container this belongs to
|
||||
*/
|
||||
NodeRef getContainerNodeRef();
|
||||
|
||||
/**
|
||||
* @return the System generated name for the event
|
||||
*/
|
||||
|
@@ -33,7 +33,10 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
* @since 4.0
|
||||
*/
|
||||
public class CalendarEntryDTO implements CalendarEntry, Serializable {
|
||||
private static final long serialVersionUID = -7997650453677545845L;
|
||||
|
||||
private NodeRef nodeRef;
|
||||
private NodeRef containerNodeRef;
|
||||
private String systemName;
|
||||
|
||||
private String title;
|
||||
@@ -76,6 +79,14 @@ public class CalendarEntryDTO implements CalendarEntry, Serializable {
|
||||
return nodeRef;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the NodeRef of the calendar's container in the site
|
||||
*/
|
||||
public NodeRef getContainerNodeRef()
|
||||
{
|
||||
return containerNodeRef;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the System generated name for the event
|
||||
*/
|
||||
|
Reference in New Issue
Block a user