Interface CustomizedAccountPermissionRepository<D>
- 
- All Superinterfaces:
 com.broadleafcommerce.common.extension.DomainTypeAware
- All Known Subinterfaces:
 AccountPermissionRepository<D>,JpaAccountPermissionRepository<D>
- All Known Implementing Classes:
 JpaCustomizedAccountPermissionRepository
public interface CustomizedAccountPermissionRepository<D> extends com.broadleafcommerce.common.extension.DomainTypeAwareAdditional functionality necessary forAccountPermissionRepository.- Author:
 - Samarth Dhruva (samarthd), Chris Kittrell (ckittrell)
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexistsByNameAndIdNot(String name, String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Reports whether there exists a permission in the data store whoseAccountPermission.getName()is equal to the givennameand whoseAccountPermission.getId()is not equal to the givenid. 
 - 
 
- 
- 
Method Detail
- 
existsByNameAndIdNot
@Policy(operationTypes=READ) boolean existsByNameAndIdNot(String name, @Nullable String id, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Reports whether there exists a permission in the data store whoseAccountPermission.getName()is equal to the givennameand whoseAccountPermission.getId()is not equal to the givenid.- Parameters:
 name- the value that permission name must equal in order to matchid- (optional) the value that the permission's id must not equal in order to match. If this value isnull, then results will not be filtered by their id.contextInfo- The context of the user's request- Returns:
 trueif there exists a permission matching the given name and not matching the given id,falseotherwise
 
 - 
 
 -