mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9156 Start on the backing ibatis/sql for the Calendar multi-site event listing canned query
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -43,6 +43,9 @@ public class CalendarEntity
|
||||
// Supplemental query-related parameters
|
||||
private Long parentNodeId;
|
||||
private Long nameQNameId;
|
||||
private Long contentTypeQNameId;
|
||||
private Long fromDateQNameId;
|
||||
private Long toDateQNameId;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
@@ -51,10 +54,14 @@ public class CalendarEntity
|
||||
{
|
||||
}
|
||||
|
||||
public CalendarEntity(Long parentNodeId, Long nameQNameId)
|
||||
public CalendarEntity(Long parentNodeId, Long nameQNameId, Long contentTypeQNameId,
|
||||
Long fromDateQNameId, Long toDateQNameId)
|
||||
{
|
||||
this.parentNodeId = parentNodeId;
|
||||
this.nameQNameId = nameQNameId;
|
||||
this.contentTypeQNameId = contentTypeQNameId;
|
||||
this.fromDateQNameId = fromDateQNameId;
|
||||
this.toDateQNameId = toDateQNameId;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
@@ -127,6 +134,7 @@ public class CalendarEntity
|
||||
this.toDate = toISO8061;
|
||||
}
|
||||
|
||||
|
||||
// Supplemental query-related parameters
|
||||
|
||||
public Long getParentNodeId()
|
||||
@@ -138,4 +146,19 @@ public class CalendarEntity
|
||||
{
|
||||
return nameQNameId;
|
||||
}
|
||||
|
||||
public Long getContentTypeQNameId()
|
||||
{
|
||||
return contentTypeQNameId;
|
||||
}
|
||||
|
||||
public Long getFromDateQNameId()
|
||||
{
|
||||
return fromDateQNameId;
|
||||
}
|
||||
|
||||
public Long getToDateQNameId()
|
||||
{
|
||||
return toDateQNameId;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user