@Test public void testDeleteStringWithAccess() { SecurityContextHolder.getContext().setAuthentication(getAuthentication()); systemCodesService.delete("1"); verify(systemCodesDao).deleteEntityModel(new Long(1l)); }
@Override public final void delete(String sid) { delete(sid, false); }
BaseCrudServiceImpl extends
		BaseServiceDefaultImpl implements BaseCrudService<T> { @Override public final void delete(String sid) { delete(sid, false); } }
BaseCrudServiceImpl extends
		BaseServiceDefaultImpl implements BaseCrudService<T> { @Override public final void delete(String sid) { delete(sid, false); }  }
BaseCrudServiceImpl extends
		BaseServiceDefaultImpl implements BaseCrudService<T> { @Override public final void delete(String sid) { delete(sid, false); }  @Override List<T> findByNamedQuery(String name, Map<String, Object> params); @Override List<T> findByNamedQuery(String name, Map<String, Object> params,
			int start, int total); @Override List<T> findByNamedQuery(String name, Map<String, Object> params, 
			int start, int total, boolean bypassSecurity); @Override List<T> findByNamedQuery(String name, int start, int total, 
			boolean bypassSecurity, Object... params); @Override T findSingleResultByNamedQuery(String name,
			Map<String, Object> params); @Override T findSingleResultByNamedQuery(String name,
			Map<String, Object> params, boolean bypassSecurity); @Override T findSingleResultByNamedQuery(String name, Object... params); @Override T findSingleResultByNamedQuery(String name, boolean bypassSecurity, Object... params); @Override int executeByNamedQuery(String name, Map<String, Object> params); @Override int executeByNamedQuery(String name, Object... params); @Override final List<T> findAll(); @Override List<T> findAll(final boolean bypassSecurity); @Override final List<T> findAll(final int start, final int total); @Override List<T> findAll(final int start, final int total, final boolean bypassSecurity); @Override final List<T> findByExample(final T example); @Override final List<T> findByExample(final T example, final int start, final int total); @Override List<T> findByExample(final T example, final int start, final int total,
			final boolean bypassSecurity); @Override final List<T> findByExample(T example, boolean exactMatch); @Override List<T> findByExample(T example, boolean exactMatch,
			boolean bypassSecurity); @Override final List<T> findByExample(T example, boolean exactMatch,
			int start, int total); @Override List<T> findByExample(T example, boolean exactMatch, int start,
			int total, boolean bypassSecurity); @Override final SearchResults<T> search(T command, int page); @Override final long countAll(); @Override final long countByExample(T example); @Override final long countByExample(T example, boolean exactMatch); @Override final T load(String sid); @Override final T load(Long id); @Override final T load(String sid, boolean filter); @Override T load(String sid, boolean filter, boolean bypassSecurity); @Override final T load(Long id, boolean filter); @Override T load(Long id, boolean filter, boolean bypassSecurity); @Override final void save(T entity); @Override void save(T entity, boolean bypassSecurity); @Override final void delete(String sid); @Override void delete(String sid, boolean bypassSecurity); @Override final void delete(Long id); @Override void delete(Long id, boolean bypassSecurity); @PostConstruct @SuppressWarnings("unchecked") final void afterPropertiesSet(); BaseEntityDao<T, Long> getDao(); @Override final void setPageSize(Integer pageSize); }
BaseCrudServiceImpl extends
		BaseServiceDefaultImpl implements BaseCrudService<T> { @Override public final void delete(String sid) { delete(sid, false); }  @Override List<T> findByNamedQuery(String name, Map<String, Object> params); @Override List<T> findByNamedQuery(String name, Map<String, Object> params,
			int start, int total); @Override List<T> findByNamedQuery(String name, Map<String, Object> params, 
			int start, int total, boolean bypassSecurity); @Override List<T> findByNamedQuery(String name, int start, int total, 
			boolean bypassSecurity, Object... params); @Override T findSingleResultByNamedQuery(String name,
			Map<String, Object> params); @Override T findSingleResultByNamedQuery(String name,
			Map<String, Object> params, boolean bypassSecurity); @Override T findSingleResultByNamedQuery(String name, Object... params); @Override T findSingleResultByNamedQuery(String name, boolean bypassSecurity, Object... params); @Override int executeByNamedQuery(String name, Map<String, Object> params); @Override int executeByNamedQuery(String name, Object... params); @Override final List<T> findAll(); @Override List<T> findAll(final boolean bypassSecurity); @Override final List<T> findAll(final int start, final int total); @Override List<T> findAll(final int start, final int total, final boolean bypassSecurity); @Override final List<T> findByExample(final T example); @Override final List<T> findByExample(final T example, final int start, final int total); @Override List<T> findByExample(final T example, final int start, final int total,
			final boolean bypassSecurity); @Override final List<T> findByExample(T example, boolean exactMatch); @Override List<T> findByExample(T example, boolean exactMatch,
			boolean bypassSecurity); @Override final List<T> findByExample(T example, boolean exactMatch,
			int start, int total); @Override List<T> findByExample(T example, boolean exactMatch, int start,
			int total, boolean bypassSecurity); @Override final SearchResults<T> search(T command, int page); @Override final long countAll(); @Override final long countByExample(T example); @Override final long countByExample(T example, boolean exactMatch); @Override final T load(String sid); @Override final T load(Long id); @Override final T load(String sid, boolean filter); @Override T load(String sid, boolean filter, boolean bypassSecurity); @Override final T load(Long id, boolean filter); @Override T load(Long id, boolean filter, boolean bypassSecurity); @Override final void save(T entity); @Override void save(T entity, boolean bypassSecurity); @Override final void delete(String sid); @Override void delete(String sid, boolean bypassSecurity); @Override final void delete(Long id); @Override void delete(Long id, boolean bypassSecurity); @PostConstruct @SuppressWarnings("unchecked") final void afterPropertiesSet(); BaseEntityDao<T, Long> getDao(); @Override final void setPageSize(Integer pageSize);  }