public class JCRTasksList extends DefaultTraversableAmetysObject<JCRTasksListFactory> implements ModifiableTasksList
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_ID
application id for resources collections.
|
private static String |
METADATA_DESCRIPTION |
Constructor and Description |
---|
JCRTasksList(Node node,
String parentPath,
JCRTasksListFactory factory)
Default constructor for the JCRTasksList
|
Modifier and Type | Method and Description |
---|---|
String |
getApplicationId()
Returns the application id corresponding to this Node.
|
String |
getDescription()
Get the tasks list description
|
String |
getExplorerPath()
Returns the path of this explorer node in the explorer hierarchy (which is a subset of the whole repository).
If this collection is the root explorer node, "" is returned. |
String |
getIconCls()
Returns the icon css class for this Node.
|
List<Task> |
getTasks()
Get the list of tasks
|
List<Task> |
getTasks(Date startDate,
Date endDate)
Get the list of tasks, delimited by start and end date
|
boolean |
hasChildExplorerNodes()
Returns true if this explorer node contains child explorer nodes.
|
void |
setDescription(String description)
Set the list description
|
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, createChild, getAllowedGroups, getAllowedProfilesForAnonymous, getAllowedProfilesForAnyConnectedUser, getAllowedProfilesForGroups, getAllowedProfilesForUser, getAllowedProfilesForUsers, getAllowedUsers, getChild, getChildren, getDeniedGroups, getDeniedProfilesForAnonymous, getDeniedProfilesForAnyConnectedUser, getDeniedProfilesForGroups, getDeniedProfilesForUser, getDeniedProfilesForUsers, getDeniedUsers, hasChild, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsers
_getFactory, _invalidateName, _invalidateParentPath, getId, getMetadataHolder, getName, getNode, getParent, getParentPath, getPath, needsSave, remove, rename, revertChanges, saveChanges
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
remove
needsSave, rename, revertChanges, saveChanges
equals, getId, getName, getParent, getParentPath, getPath, hashCode
getNode
getMetadataHolder
getChildAt, getChildPosition
public static final String APPLICATION_ID
private static final String METADATA_DESCRIPTION
public JCRTasksList(Node node, String parentPath, JCRTasksListFactory factory)
node
- The JCR nodeparentPath
- The JCR parent pathfactory
- The factorypublic String getDescription()
TasksList
getDescription
in interface ExplorerNode
getDescription
in interface TasksList
public List<Task> getTasks()
TasksList
public List<Task> getTasks(Date startDate, Date endDate)
TasksList
public String getIconCls()
ExplorerNode
getIconCls
in interface ExplorerNode
public String getApplicationId()
ExplorerNode
getApplicationId
in interface ExplorerNode
public String getExplorerPath()
ExplorerNode
getExplorerPath
in interface ExplorerNode
public boolean hasChildExplorerNodes() throws AmetysRepositoryException
ExplorerNode
hasChildExplorerNodes
in interface ExplorerNode
AmetysRepositoryException
- if an error occurs.public void setDescription(String description)
ModifiableTasksList
setDescription
in interface ModifiableExplorerNode
setDescription
in interface ModifiableTasksList
description
- The description