|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IContextService
IContextService
| Method Summary | |
|---|---|
void |
create(Context context)
Create a new context |
void |
doReorderContexts()
Reorder all demand types |
void |
doReorderContextsGreaterPriority(int nCurrentPriority)
Reorder the contexts that are greater or equal to the nCurrentPriority. |
java.util.List<Context> |
findActiveContexts()
Find active contexts |
java.util.List<Context> |
findAll()
Find all contexts |
Context |
findByPrimaryKey(int nIdContext)
Find context by its primary key |
java.util.List<Context> |
findByRelativePriority(OperatorEnum operator,
int nPriority)
Find by relative priority |
boolean |
isWellOrdered()
Check if the list of contexts are well ordered |
void |
remove(int nIdContext)
Remove a context |
void |
update(Context context)
Update a context |
| Method Detail |
|---|
@Transactional(value="contextinclude.transactionManager") void create(Context context)
context - the context@Transactional(value="contextinclude.transactionManager") void update(Context context)
context - a context@Transactional(value="contextinclude.transactionManager") void remove(int nIdContext)
nIdContext - the id contextContext findByPrimaryKey(int nIdContext)
nIdContext - the id context
Contextjava.util.List<Context> findAll()
Contextjava.util.List<Context> findActiveContexts()
Context
java.util.List<Context> findByRelativePriority(OperatorEnum operator,
int nPriority)
operator - the operatornPriority - the priority to compare to
Contextboolean isWellOrdered()
void doReorderContexts()
void doReorderContextsGreaterPriority(int nCurrentPriority)
nCurrentPriority - the current priority
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||