|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.hsr.bieridee.models.AbstractModel
ch.hsr.bieridee.models.TimelineModel
public final class TimelineModel
Timeline helper model.
Constructor Summary | |
---|---|
TimelineModel()
|
Method Summary | |
---|---|
static java.util.List<AbstractActionModel> |
getAll()
Gets all actions. |
static java.util.List<AbstractActionModel> |
getAll(int maxNumber)
Gets a limited number of actions. |
static java.util.List<AbstractActionModel> |
getAll(int maxNumber,
int skipCount)
Gets a limited number of actions. |
static java.util.List<AbstractActionModel> |
getAllForUser(java.lang.String username)
Gets the actions filtered by a username. |
static java.util.List<AbstractActionModel> |
getAllForUser(java.lang.String username,
int maxNumber)
Gets a limited number of actions filtered by a username. |
static java.util.List<AbstractActionModel> |
getAllForUser(java.lang.String username,
int maxNumber,
int skipCount)
Gets a limited number of actions filtered by a username. |
IDomain |
getDomainObject()
|
Methods inherited from class ch.hsr.bieridee.models.AbstractModel |
---|
getNode |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimelineModel()
Method Detail |
---|
public static java.util.List<AbstractActionModel> getAll() throws org.neo4j.graphdb.NotFoundException, WrongNodeTypeException
org.neo4j.graphdb.NotFoundException
- Thrown if a node is not existing
WrongNodeTypeException
- Thrown if a node is not of the desired typepublic static java.util.List<AbstractActionModel> getAllForUser(java.lang.String username) throws org.neo4j.graphdb.NotFoundException, WrongNodeTypeException
username
- username the timeline to be filtered with.
WrongNodeTypeException
- Thrown if a node is not existing.
org.neo4j.graphdb.NotFoundException
- Thrown if a node is not of the desired type.public static java.util.List<AbstractActionModel> getAllForUser(java.lang.String username, int maxNumber) throws org.neo4j.graphdb.NotFoundException, WrongNodeTypeException
username
- username the timeline to be filtered with.maxNumber
- Count of actions to retrieve
org.neo4j.graphdb.NotFoundException
- Thrown if a node is not of the desired type.
WrongNodeTypeException
- Thrown if a node is not existing.public static java.util.List<AbstractActionModel> getAllForUser(java.lang.String username, int maxNumber, int skipCount) throws org.neo4j.graphdb.NotFoundException, WrongNodeTypeException
username
- username the timeline to be filtered with.maxNumber
- Count of actions to retrieveskipCount
- Count of results to skip
org.neo4j.graphdb.NotFoundException
- Thrown if a node is not of the desired type.
WrongNodeTypeException
- Thrown if a node is not existing.public static java.util.List<AbstractActionModel> getAll(int maxNumber) throws org.neo4j.graphdb.NotFoundException, WrongNodeTypeException
maxNumber
- Count of actions to retrieve
org.neo4j.graphdb.NotFoundException
- Thrown if a node is not existing
WrongNodeTypeException
- Thrown if a node is not of the desired typepublic static java.util.List<AbstractActionModel> getAll(int maxNumber, int skipCount) throws org.neo4j.graphdb.NotFoundException, WrongNodeTypeException
maxNumber
- Count of actions to retrieveskipCount
- Count of results to skip
org.neo4j.graphdb.NotFoundException
- Thrown if a node is not existing
WrongNodeTypeException
- Thrown if a node is not of the desired typepublic IDomain getDomainObject()
getDomainObject
in class AbstractModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |