protected AbstractUserGroupStore() { helper = new UserGroupStoreHelper(); }
/** internal use, clear the maps */ protected void clearMaps() { helper.clearMaps(); }
public GeoServerUserGroup getGroupByGroupname(String groupname) throws IOException { return helper.getGroupByGroupname(groupname); }
@Override public int getUserCountHavingProperty(String propname) throws IOException { return helper.getUserCountHavingProperty(propname); }
@Override public int getUserCountHavingPropertyValue(String propname, String propvalue) throws IOException { return helper.getUserCountHavingPropertyValue(propname, propvalue); } }
public GeoServerUser getUserByUsername(String username) throws IOException { return helper.getUserByUsername(username); }
@Override public int getUserCountNotHavingProperty(String propname) throws IOException { return helper.getUserCountNotHavingProperty(propname); }
public SortedSet<GeoServerUserGroup> getGroupsForUser(GeoServerUser user) throws IOException { return helper.getGroupsForUser(user); }
public int getUserCount() throws IOException { return helper.getUserCount(); }
public int getGroupCount() throws IOException { return helper.getGroupCount(); }
@Override public int getUserCountHavingProperty(String propname) throws IOException { return helper.getUserCountHavingProperty(propname); }
@Override public int getUserCountHavingPropertyValue(String propname, String propvalue) throws IOException { return helper.getUserCountHavingPropertyValue(propname, propvalue); } }
public GeoServerUser getUserByUsername(String username) throws IOException { return helper.getUserByUsername(username); }
@Override public int getUserCountNotHavingProperty(String propname) throws IOException { return helper.getUserCountNotHavingProperty(propname); }
public SortedSet<GeoServerUserGroup> getGroupsForUser(GeoServerUser user) throws IOException { return helper.getGroupsForUser(user); }
public int getUserCount() throws IOException { return helper.getUserCount(); }
public int getGroupCount() throws IOException { return helper.getGroupCount(); }
int getUserCountNotHavingProperty(String propname) throws IOException { if (StringUtils.hasLength(propname) == false) return userMap.size(); return userMap.size() - getUserCountHavingProperty(propname); }
/** internal use, clear the maps */ protected void clearMaps() { helper.clearMaps(); }
protected AbstractUserGroupService() { helper = new UserGroupStoreHelper(); }