@Component(value="blSandBoxHelper") public class DefaultSandBoxHelper extends Object implements SandBoxHelper
SandBoxHelper.QueryHints| Constructor and Description |
|---|
DefaultSandBoxHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
archiveObject(Object start,
javax.persistence.EntityManager em) |
Long |
getOriginalId(javax.persistence.EntityManager em,
Class<?> type,
Long id) |
String[] |
getSandBoxDiscriminatorFieldList() |
Long |
getSandBoxVersionId(javax.persistence.EntityManager entityManager,
Class<?> linkedObjectType,
Long requestedParent) |
boolean |
isPromote() |
boolean |
isReject() |
boolean |
isSandBoxable(String className) |
List<Long> |
mergeCloneIds(javax.persistence.EntityManager em,
Class<?> type,
Long... originalIds) |
void |
optionallyIncludeDeletedItemsInQueriesAndCollections(Runnable runnable,
boolean includeDeleted) |
void |
setupSandBoxState(Object clone,
javax.persistence.EntityManager em) |
public Long getSandBoxVersionId(javax.persistence.EntityManager entityManager, Class<?> linkedObjectType, Long requestedParent)
getSandBoxVersionId in interface SandBoxHelperpublic List<Long> mergeCloneIds(javax.persistence.EntityManager em, Class<?> type, Long... originalIds)
mergeCloneIds in interface SandBoxHelperpublic Long getOriginalId(javax.persistence.EntityManager em, Class<?> type, Long id)
getOriginalId in interface SandBoxHelperpublic void setupSandBoxState(Object clone, javax.persistence.EntityManager em)
setupSandBoxState in interface SandBoxHelperpublic void archiveObject(Object start, javax.persistence.EntityManager em)
archiveObject in interface SandBoxHelperpublic String[] getSandBoxDiscriminatorFieldList()
getSandBoxDiscriminatorFieldList in interface SandBoxHelperpublic boolean isSandBoxable(String className)
isSandBoxable in interface SandBoxHelperpublic boolean isPromote()
isPromote in interface SandBoxHelperpublic boolean isReject()
isReject in interface SandBoxHelperpublic void optionallyIncludeDeletedItemsInQueriesAndCollections(Runnable runnable, boolean includeDeleted)
optionallyIncludeDeletedItemsInQueriesAndCollections in interface SandBoxHelperCopyright © 2014. All Rights Reserved.