|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use OperationContext | |
---|---|
org.silverpeas.persistence.repository | |
org.silverpeas.persistence.repository.jpa |
Uses of OperationContext in org.silverpeas.persistence.repository |
---|
Methods in org.silverpeas.persistence.repository that return OperationContext | |
---|---|
static OperationContext |
OperationContext.createInstance()
Creates an empty instance. |
static OperationContext |
OperationContext.fromUser(String userId)
Creates an instance from the given identifier which aims a user. |
static OperationContext |
OperationContext.fromUser(UserDetail user)
Creates an instance from the given user. |
static OperationContext |
OperationContext.getFromCache()
Get the current instance of the transaction from a cache (thread cache (request cache exactly)). |
OperationContext |
OperationContext.setUpdatingInCaseOfCreation()
Calling this method to indicates that the current data update is performed in a case of a creation. |
OperationContext |
OperationContext.setUpdatingInCaseOfCreation(boolean updatingInCaseOfCreation)
Calling this method to indicates that the current data update is performed in a case of a creation or not. |
Methods in org.silverpeas.persistence.repository with parameters of type OperationContext | |
---|---|
List<ENTITY> |
EntityRepository.save(OperationContext context,
ENTITY... entities)
Persists entities : create (if id is null or empty) or update. |
ENTITY |
EntityRepository.save(OperationContext context,
ENTITY entity)
Persists entity : create (if id is null or empty) or update. |
List<ENTITY> |
EntityRepository.save(OperationContext context,
List<ENTITY> entities)
Persists entities : create (if id is null or empty) or update. |
Uses of OperationContext in org.silverpeas.persistence.repository.jpa |
---|
Methods in org.silverpeas.persistence.repository.jpa with parameters of type OperationContext | |
---|---|
List<ENTITY> |
SilverpeasJpaEntityManager.save(OperationContext context,
ENTITY... entities)
|
ENTITY |
SilverpeasJpaEntityManager.save(OperationContext context,
ENTITY entity)
|
List<ENTITY> |
SilverpeasJpaEntityManager.save(OperationContext context,
List<ENTITY> entities)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |