<commit_before>/*
 * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * WSO2 Inc. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.wso2.carbon.identity.user.mgt.store.impl;

import org.wso2.carbon.identity.user.mgt.model.GroupModel;
import org.wso2.carbon.identity.user.mgt.model.UserModel;
import org.wso2.carbon.identity.user.mgt.store.PrivilegedIdentityStore;
import org.wso2.carbon.security.caas.user.core.bean.Group;
import org.wso2.carbon.security.caas.user.core.bean.User;
import org.wso2.carbon.security.caas.user.core.claim.Claim;
import org.wso2.carbon.security.caas.user.core.exception.IdentityStoreException;
import org.wso2.carbon.security.caas.user.core.store.IdentityStoreImpl;

import java.util.List;

/**
 * Implementation of the {@link PrivilegedIdentityStore} which provides write capability
 *
 * @since 1.0.0
 */
public class PrivilegedIdentityStoreImpl extends IdentityStoreImpl implements PrivilegedIdentityStore {

    @Override
    public User addUser(UserModel users) throws IdentityStoreException {
        return null;
    }

    @Override
    public User addUser(UserModel users, String domain) throws IdentityStoreException {
        return null;
    }

    @Override
    public List<User> addUsers(List<UserModel> users) throws IdentityStoreException {
        return null;
    }

    @Override
    public List<User> addUsers(List<UserModel> users, String domain) throws IdentityStoreException {
        return null;
    }

    @Override
    public void updateUserClaims(String userId, List<Claim> userClaims) throws IdentityStoreException {

    }

    @Override
    public void updateUserClaims(String userId, List<Claim> userClaims, String domain) throws IdentityStoreException {

    }

    @Override
    public void updateUserClaims(String userId, List<Claim> userClaimsToUpdate, List<Claim> userClaimsToRemove)
            throws IdentityStoreException {

    }

    @Override
    public void updateUserClaims(String userId, List<Claim> userClaimsToUpdate, List<Claim> userClaimsToRemove,
                                 String domain) throws IdentityStoreException {

    }

    @Override
    public void deleteUser(String userId) throws IdentityStoreException {

    }

    @Override
    public void deleteUser(String userId, String domain) throws IdentityStoreException {

    }

    @Override
    public void updateGroupsOfUser(String userId, List<GroupModel> groups) throws IdentityStoreException {

    }

    @Override
    public void updateGroupsOfUser(String userId, List<GroupModel> groups, String domain) throws
            IdentityStoreException {

    }

    @Override
    public void updateGroupsOfUser(String userId, List<GroupModel> groupsToUpdate, List<GroupModel> groupsToRemove)
            throws IdentityStoreException {

    }

    @Override
    public void updateGroupsOfUser(String userId, List<GroupModel> groupsToUpdate, List<GroupModel> groupsToRemove,
                                   String domain) throws IdentityStoreException {

    }

    @Override
    public Group addGroup(GroupModel groupModel) throws IdentityStoreException {
        return null;
    }

    @Override
    public Group addGroup(GroupModel groupModel, String domain) throws IdentityStoreException {
        return null;
    }

    @Override
    public List<Group> addGroups(List<GroupModel> groups) throws IdentityStoreException {
        return null;
    }

    @Override
    public List<Group> addGroups(List<GroupModel> groups, String domain) throws IdentityStoreException {
        return null;
    }

    @Override
    public Group updateGroupClaims(String groupId, List<Claim> groupClaims) throws IdentityStoreException {
        return null;
    }

    @Override
    public Group updateGroupClaims(String groupId, List<Claim> groupClaims, String domain) throws
            IdentityStoreException {
        return null;
    }

    @Override
    public Group updateGroupClaims(String groupId, List<Claim> groupClaimsToUpdate, List<Claim> groupClaimsToRemove)
            throws IdentityStoreException {
        return null;
    }

    @Override
    public Group updateGroupClaims(String groupId, List<Claim> groupClaimsToUpdate, List<Claim> groupClaimsToRemove,
                                   String domain) throws IdentityStoreException {
        return null;
    }

    @Override
    public void deleteGroup(String groupId) throws IdentityStoreException {

    }

    @Override
    public void deleteGroup(String groupId, String domain) throws IdentityStoreException {

    }

    @Override
    public void updateUsersOfGroup(String groupId, List<UserModel> users) throws IdentityStoreException {

    }

    @Override
    public void updateUsersOfGroup(String groupId, List<UserModel> users, String domain) throws IdentityStoreException {

    }

    @Override
    public void updateUsersOfGroup(String groupId, List<UserModel> usersToUpdate, List<UserModel> usersToRemove)
            throws IdentityStoreException {

    }

    @Override
    public void updateUsersOfGroup(String groupId, List<UserModel> usersToUpdate, List<UserModel> usersToRemove,
                                   String domain) throws IdentityStoreException {

    }
}
<commit_msg>Adding PrivilegedIdentityStoreConnector methods<commit_after>/*
 * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * WSO2 Inc. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.wso2.carbon.identity.user.mgt.store.impl;

import org.wso2.carbon.identity.user.mgt.model.GroupModel;
import org.wso2.carbon.identity.user.mgt.model.UserModel;
import org.wso2.carbon.identity.user.mgt.store.PrivilegedIdentityStore;
import org.wso2.carbon.security.caas.user.core.bean.Group;
import org.wso2.carbon.security.caas.user.core.bean.User;
import org.wso2.carbon.security.caas.user.core.claim.Claim;
import org.wso2.carbon.security.caas.user.core.exception.IdentityStoreException;
import org.wso2.carbon.security.caas.user.core.store.IdentityStoreImpl;

import java.util.List;

/**
 * Implementation of the {@link PrivilegedIdentityStore} which provides write capability
 *
 * @since 1.0.0
 */
public class PrivilegedIdentityStoreImpl extends IdentityStoreImpl implements PrivilegedIdentityStore {

    @Override
    public User addUser(UserModel user) throws IdentityStoreException {
        return null;
    }

    @Override
    public User addUser(UserModel user, String domain) throws IdentityStoreException {
        return null;
    }

    @Override
    public List<User> addUsers(List<UserModel> users) throws IdentityStoreException {
        return null;
    }

    @Override
    public List<User> addUsers(List<UserModel> users, String domain) throws IdentityStoreException {
        return null;
    }

    @Override
    public void updateUserClaims(String userId, List<Claim> userClaims) throws IdentityStoreException {

    }

    @Override
    public void updateUserClaims(String userId, List<Claim> userClaimsToUpdate, List<Claim> userClaimsToRemove)
            throws IdentityStoreException {

    }

    @Override
    public void deleteUser(String userId) throws IdentityStoreException {

    }

    @Override
    public void updateGroupsOfUser(String userId, List<String> groupIds) throws IdentityStoreException {

    }

    @Override
    public void updateGroupsOfUser(String userId, List<String> groupIdsToUpdate, List<String> groupIdsToRemove)
            throws IdentityStoreException {

    }

    @Override
    public Group addGroup(GroupModel groupModel) throws IdentityStoreException {
        return null;
    }

    @Override
    public Group addGroup(GroupModel groupModel, String domain) throws IdentityStoreException {
        return null;
    }

    @Override
    public List<Group> addGroups(List<GroupModel> groups) throws IdentityStoreException {
        return null;
    }

    @Override
    public List<Group> addGroups(List<GroupModel> groups, String domain) throws IdentityStoreException {
        return null;
    }

    @Override
    public Group updateGroupClaims(String groupId, List<Claim> groupClaims) throws IdentityStoreException {
        return null;
    }

    @Override
    public Group updateGroupClaims(String groupId, List<Claim> groupClaimsToUpdate, List<Claim> groupClaimsToRemove)
            throws IdentityStoreException {
        return null;
    }

    @Override
    public void deleteGroup(String groupId) throws IdentityStoreException {

    }

    @Override
    public void updateUsersOfGroup(String groupId, List<String> userIds) throws IdentityStoreException {

    }

    @Override
    public void updateUsersOfGroup(String groupId, List<String> userIdsToAdd, List<String> userIdsToRemove) throws
            IdentityStoreException {

    }
}

{'fraction_non_alphanumeric': 0.07316329641296616, 'fraction_numerical': 0.004674321715272838, 'mean_word_length': 3.529222273354809, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1096277', 'n_tokens_mistral': 2687, 'n_tokens_neox': 2596, 'n_words': 740}