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:
@@ -36,21 +36,24 @@ import org.alfresco.service.namespace.QName;
|
||||
public class CalendarEntryImpl extends CalendarEntryDTO
|
||||
{
|
||||
private NodeRef nodeRef;
|
||||
private NodeRef containerNodeRef;
|
||||
private String systemName;
|
||||
|
||||
/**
|
||||
* Wraps an existing Calendar Entry node
|
||||
*/
|
||||
protected CalendarEntryImpl(NodeRef nodeRef, String systemName)
|
||||
protected CalendarEntryImpl(NodeRef nodeRef, NodeRef containerNodeRef, String systemName)
|
||||
{
|
||||
this.nodeRef = nodeRef;
|
||||
this.systemName = systemName;
|
||||
this.containerNodeRef = containerNodeRef;
|
||||
}
|
||||
|
||||
protected void recordStorageDetails(NodeRef nodeRef, String systemName)
|
||||
protected void recordStorageDetails(NodeRef nodeRef, NodeRef containerNodeRef, String systemName)
|
||||
{
|
||||
this.nodeRef = nodeRef;
|
||||
this.systemName = systemName;
|
||||
this.containerNodeRef = containerNodeRef;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -59,6 +62,12 @@ public class CalendarEntryImpl extends CalendarEntryDTO
|
||||
return nodeRef;
|
||||
}
|
||||
|
||||
@Override
|
||||
public NodeRef getContainerNodeRef()
|
||||
{
|
||||
return containerNodeRef;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSystemName()
|
||||
{
|
||||
|
Reference in New Issue
Block a user