Package org.silverpeas.core.variables
Interface VariablesRepository
-
- All Superinterfaces:
EntityRepository<Variable>
- All Known Implementing Classes:
DefaultVariablesRepository
public interface VariablesRepository extends EntityRepository<Variable>
The repository in which are persisted the variables.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static VariablesRepository
get()
Gets an instance of aVariablesRepository
.List<Variable>
getAllCurrentVariables()
Gets all the variables that are currently active.List<Variable>
getAllVariables()
Gets all the variables that are persisted into this repository.-
Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.EntityRepository
contains, delete, delete, deleteByComponentInstanceId, deleteById, deleteById, findByCriteria, flush, getAll, getById, getById, getById, save, save, save
-
-
-
-
Method Detail
-
get
static VariablesRepository get()
Gets an instance of aVariablesRepository
.- Returns:
- a
VariablesRepository
instance.
-
getAllVariables
List<Variable> getAllVariables()
Gets all the variables that are persisted into this repository.- Returns:
- a list of all of the persisted variables.
-
-