@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, willHandleSecuritypublic AdminPermissionCustomPersistenceHandler()
public Boolean canHandleAdd(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleAdd in interface CustomPersistenceHandlercanHandleAdd in class CustomPersistenceHandlerAdapterpersistencePackage - details about the add operationpublic Boolean canHandleUpdate(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleUpdate in interface CustomPersistenceHandlercanHandleUpdate in class CustomPersistenceHandlerAdapterpersistencePackage - details about the update operationpublic Boolean canHandleFetch(PersistencePackage persistencePackage)
CustomPersistenceHandlercanHandleFetch in interface CustomPersistenceHandlercanHandleFetch in class CustomPersistenceHandlerAdapterpersistencePackage - details about the fetch operationpublic Entity add(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
add in interface CustomPersistenceHandleradd in class CustomPersistenceHandlerAdapterServiceExceptionprotected Entity checkPermissionName(PersistencePackage persistencePackage) throws ServiceException
ServiceExceptionpublic Entity update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
update in interface CustomPersistenceHandlerupdate in class CustomPersistenceHandlerAdapterServiceExceptionpublic DynamicResultSet fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
fetch in interface CustomPersistenceHandlerfetch in class CustomPersistenceHandlerAdapterServiceExceptionprotected void addFriendlyRestriction(CriteriaTransferObject cto)
protected void addDefaultSort(CriteriaTransferObject cto)
Copyright © 2020. All rights reserved.