Examples of saveUser()


Examples of com.google.api.ads.dfa.axis.v1_19.UserRemote.saveUser()

    // advertiser filters. See the User class documentation for the names of
    // methods for other filters.
    user.setAdvertiserUserFilter(filterToAdd);

    // Save the changes made and display a success message.
    UserSaveResult userSaveResult = userService.saveUser(user);
    System.out.printf("User with ID \"%s\" was modified.", userSaveResult.getId());
  }

  public static void main(String[] args) throws Exception {
    // Generate a refreshable OAuth2 credential, which replaces legacy passwords
View Full Code Here

Examples of com.google.api.ads.dfa.axis.v1_20.UserRemote.saveUser()

    // advertiser filters. See the User class documentation for the names of
    // methods for other filters.
    user.setAdvertiserUserFilter(filterToAdd);

    // Save the changes made and display a success message.
    UserSaveResult userSaveResult = userService.saveUser(user);
    System.out.printf("User with ID \"%s\" was modified.", userSaveResult.getId());
  }

  public static void main(String[] args) throws Exception {
    // Generate a refreshable OAuth2 credential, which replaces legacy passwords
View Full Code Here

Examples of net.yura.lobby.database.impl.JPADatabase.saveUser()

        database.endTransaction();
       
        User user = new User();
       
        database.startTransaction();
        database.saveUser(user);
        database.endTransaction();
       
        GameRoom gameRoom = new GameRoom();
        gameRoom.setName("Test Game Room");
        gameRoom.setMaxPlayers(2);
View Full Code Here

Examples of net.yura.lobby.database.impl.JPADatabase.saveUser()

        database.endTransaction();

        User user2 = new User();
       
        database.startTransaction();
        database.saveUser(user2);
        database.endTransaction();

        gameRoom.getUsers().add(user2);
        user2.getGames().add(gameRoom);
View Full Code Here

Examples of org.activiti.engine.IdentityService.saveUser()

    // get a handle on the identity-service
    IdentityService identityService = activitiRule.getIdentityService();

    // create a new user to create a new request
    User requester = identityService.newUser("Micha Kops");
    identityService.saveUser(requester);

    // create group service and assign the user to it
    Group serviceGroup = identityService.newGroup("service");
    identityService.saveGroup(serviceGroup);
    identityService.createMembership(requester.getId(),
View Full Code Here

Examples of org.activiti.engine.IdentityService.saveUser()

    identityService.createMembership(requester.getId(),
        serviceGroup.getId());

    // create a new user for an it-support employee
    User itguy = identityService.newUser("itguy");
    identityService.saveUser(itguy);

    // create a group it-support for critical issues
    Group itSupportGroup = identityService.newGroup("itsupport-critical");
    itSupportGroup.setName("IT Support for Critical Issues");
    identityService.saveGroup(itSupportGroup);
View Full Code Here

Examples of org.activiti.engine.IdentityService.saveUser()

        }
        IdentityService identityService = getProcessEngine().getIdentityService();

        User user = identityService.newUser(id);
        user.setEmail(password);
        identityService.saveUser(user);

        identityService.createMembership(id, groupId);

        return null;
    }
View Full Code Here

Examples of org.activiti.engine.IdentityService.saveUser()

    public void testSkip() {

        // 建立用户与组的关系
        IdentityService identityService = activitiRule.getIdentityService();
        User user1 = identityService.newUser("user1");
        identityService.saveUser(user1);
        User user2 = identityService.newUser("user2");
        identityService.saveUser(user2);

        Group group1 = identityService.newGroup("group1");
        identityService.saveGroup(group1);
View Full Code Here

Examples of org.activiti.engine.IdentityService.saveUser()

        // 建立用户与组的关系
        IdentityService identityService = activitiRule.getIdentityService();
        User user1 = identityService.newUser("user1");
        identityService.saveUser(user1);
        User user2 = identityService.newUser("user2");
        identityService.saveUser(user2);

        Group group1 = identityService.newGroup("group1");
        identityService.saveGroup(group1);
        identityService.createMembership("user1", "group1");
View Full Code Here

Examples of org.apache.roller.business.UserManager.saveUser()

        assertNotNull(user);
        assertEquals(testUser, user);
       
        // modify user and save
        user.setFullName("testtesttest");
        mgr.saveUser(user);
        TestUtils.endSession(true);
       
        // make sure changes were saved
        user = null;
        user = mgr.getUser(id);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.