-
-
Method Summary
Add an activity to the activity holder
Add an activity to the activity holder
Returns the activities stored by this activity holder
Returns the activity holder holding the activities
-
Method Details
-
getActivityHolder
Returns the activity holder holding the activities
- Returns:
- the activity holder
- Throws:
javax.jcr.RepositoryException
- if failed to get activity holder node
-
getActivities
Returns the activities stored by this activity holder
- Specified by:
getActivities
in interface ActivityHolder
- Returns:
- The activities
- Throws:
javax.jcr.RepositoryException
- if failed to get activity nodes
-
addActivity
Add an activity to the activity holder
- Specified by:
addActivity
in interface ActivityHolder
- Parameters:
type
- the type
parameters
- the parameters
eventId
- the id of the event
- Returns:
- the activity
- Throws:
javax.jcr.RepositoryException
- when an error occurred
-
addActivity
Add an activity to the activity holder
- Specified by:
addActivity
in interface ActivityHolder
- Parameters:
date
- the date
type
- the type
parameters
- the parameters
author
- the author
eventId
- the id of the event
- Returns:
- the activity
- Throws:
javax.jcr.RepositoryException
- when an error occurred