@Component(value="blAdminPermissionCustomPersistenceHandler") public class AdminPermissionCustomPersistenceHandler extends CustomPersistenceHandlerAdapter
DEFAULT_ORDER
Constructor and Description |
---|
AdminPermissionCustomPersistenceHandler() |
Modifier and Type | Method and Description |
---|---|
Entity |
add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
protected void |
addDefaultSort(CriteriaTransferObject cto) |
protected void |
addFriendlyRestriction(CriteriaTransferObject cto) |
Boolean |
canHandleAdd(PersistencePackage persistencePackage)
Is this persistence handler capable of dealing with an add request from the admin
|
Boolean |
canHandleFetch(PersistencePackage persistencePackage)
Is this persistence handler capable of dealing with an fetch request from the admin
|
Boolean |
canHandleUpdate(PersistencePackage persistencePackage)
Is this persistence handler capable of dealing with an update request from the admin
|
protected Entity |
checkPermissionName(PersistencePackage persistencePackage) |
DynamicResultSet |
fetch(PersistencePackage persistencePackage,
CriteriaTransferObject cto,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
canHandleInspect, canHandleRemove, getClassForName, getMetadata, getOrder, getPolymorphicClasses, getResultSet, inspect, isAdornedListOperation, isAssignableFrom, isBasicOperation, isMapOperation, meetsCustomCriteria, remove, willHandleSecurity
public AdminPermissionCustomPersistenceHandler()
public Boolean canHandleAdd(PersistencePackage persistencePackage)
CustomPersistenceHandler
canHandleAdd
in interface CustomPersistenceHandler
canHandleAdd
in class CustomPersistenceHandlerAdapter
persistencePackage
- details about the add operationpublic Boolean canHandleUpdate(PersistencePackage persistencePackage)
CustomPersistenceHandler
canHandleUpdate
in interface CustomPersistenceHandler
canHandleUpdate
in class CustomPersistenceHandlerAdapter
persistencePackage
- details about the update operationpublic Boolean canHandleFetch(PersistencePackage persistencePackage)
CustomPersistenceHandler
canHandleFetch
in interface CustomPersistenceHandler
canHandleFetch
in class CustomPersistenceHandlerAdapter
persistencePackage
- details about the fetch operationpublic Entity add(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
add
in interface CustomPersistenceHandler
add
in class CustomPersistenceHandlerAdapter
ServiceException
protected Entity checkPermissionName(PersistencePackage persistencePackage) throws ServiceException
ServiceException
public Entity update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
update
in interface CustomPersistenceHandler
update
in class CustomPersistenceHandlerAdapter
ServiceException
public DynamicResultSet fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
fetch
in interface CustomPersistenceHandler
fetch
in class CustomPersistenceHandlerAdapter
ServiceException
protected void addFriendlyRestriction(CriteriaTransferObject cto)
protected void addDefaultSort(CriteriaTransferObject cto)
Copyright © 2022. All rights reserved.