@Test public void removeAuthority() { assertTrue(repo.removeAuthority(19)); }
public Boolean removeAuthority(Integer id) { return delete("deleteAuthority", id) == 1 ? true : false; }
AuthorityRepositoryIbatis extends SqlMapClientTemplate implements AuthorityRepository { public Boolean removeAuthority(Integer id) { return delete("deleteAuthority", id) == 1 ? true : false; } }
AuthorityRepositoryIbatis extends SqlMapClientTemplate implements AuthorityRepository { public Boolean removeAuthority(Integer id) { return delete("deleteAuthority", id) == 1 ? true : false; }  }
AuthorityRepositoryIbatis extends SqlMapClientTemplate implements AuthorityRepository { public Boolean removeAuthority(Integer id) { return delete("deleteAuthority", id) == 1 ? true : false; }  @Autowired @Override void setSqlMapClient(@Qualifier("sqlMapClient") SqlMapClient sqlMapClient); Boolean removeGroupFromAuthorities(Integer id); @SuppressWarnings("unchecked") List<AuthorityDTO> getAuthorities(); @SuppressWarnings("unchecked") List<AuthorityDTO> getUserAuthorities(String username); @SuppressWarnings("unchecked") List<AuthorityDTO> getFreeAuthorities(String username); @SuppressWarnings("unchecked") List<AuthorityDTO> getFreeAuthoritiesForGroup(); @SuppressWarnings("unchecked") List<Integer> getIdItemsAuthority(Integer id); @SuppressWarnings("unchecked") List<AuthorityDTO> getGroupAuthorities(Integer id); Boolean saveAuthorities(final Integer groupId, final List<Integer> authorities); Integer getAuthoritiesNumber(); AuthorityDTO getAuthority(Integer id); @SuppressWarnings("unchecked") List<AuthorityDTO> getAuthorities(Pager pager); Boolean removeAuthority(Integer id); Boolean deleteUserGroups(String username); Boolean save(AuthorityDTO authority); }
AuthorityRepositoryIbatis extends SqlMapClientTemplate implements AuthorityRepository { public Boolean removeAuthority(Integer id) { return delete("deleteAuthority", id) == 1 ? true : false; }  @Autowired @Override void setSqlMapClient(@Qualifier("sqlMapClient") SqlMapClient sqlMapClient); Boolean removeGroupFromAuthorities(Integer id); @SuppressWarnings("unchecked") List<AuthorityDTO> getAuthorities(); @SuppressWarnings("unchecked") List<AuthorityDTO> getUserAuthorities(String username); @SuppressWarnings("unchecked") List<AuthorityDTO> getFreeAuthorities(String username); @SuppressWarnings("unchecked") List<AuthorityDTO> getFreeAuthoritiesForGroup(); @SuppressWarnings("unchecked") List<Integer> getIdItemsAuthority(Integer id); @SuppressWarnings("unchecked") List<AuthorityDTO> getGroupAuthorities(Integer id); Boolean saveAuthorities(final Integer groupId, final List<Integer> authorities); Integer getAuthoritiesNumber(); AuthorityDTO getAuthority(Integer id); @SuppressWarnings("unchecked") List<AuthorityDTO> getAuthorities(Pager pager); Boolean removeAuthority(Integer id); Boolean deleteUserGroups(String username); Boolean save(AuthorityDTO authority);  }