Examples of user()


Examples of com.anzsoft.client.iJabConstants.user()

          HasHorizontalAlignment.ALIGN_CENTER);
  */
      // Add some standard form options
      final TextBox userBox = new TextBox();
      userBox.setText("imdev");
      layout.setHTML(0, 0, constants.user());
      layout.setWidget(0, 1, userBox);
      final PasswordTextBox  passBox = new PasswordTextBox ();
      passBox.setText("imdev631");
     
      layout.setHTML(1, 0, constants.password());
View Full Code Here

Examples of com.aragost.javahg.commands.CommitCommand.user()

            } finally {
                repo.unlock();
            }
        } else {
            CommitCommand cmd = CommitCommand.on(repo);
            cmd.user(this.rollbackChangeset.getUser());
            cmd.date(this.rollbackChangeset.getTimestamp());
            cmd.message(this.rollbackChangeset.getMessage());
            cmd.extra("source", getSource().getNode());
            return cmd.execute();
        }
View Full Code Here

Examples of com.aragost.javahg.commands.CommitCommand.user()

    public void testClone() throws IOException {
        Repository src = Repository.open(createMercurialRepository());
        Files.write("q", new File(src.getDirectory(), "xxx"), utf8());
        AddCommand.on(src).execute();
        CommitCommand commit = CommitCommand.on(src);
        commit.user("test").message("m");
        commit.execute();
        File tgt = Files.createTempDir();
        Repository clone = Repository.clone(tgt, src.getDirectory().getAbsolutePath());
        File xxx = new File(tgt, "xxx");
        Assert.assertTrue(xxx.exists());
View Full Code Here

Examples of com.sissi.context.JID.user()

  }

  private Roster prepare(JIDContext context, Roster roster) {
    for (Relation each : super.myRelations(context.jid())) {
      JID to = super.build(each.jid());
      roster.add(new GroupItem(each.cast(RosterRelation.class)).nickname(this.vcardContext.pull(to, VCardContext.FIELD_NICK).getValue(), to.user()));
    }
    return roster;
  }
}
View Full Code Here

Examples of com.sissi.context.JID.user()

  }

  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    JID group = super.build(protocol.parent().getTo());
    protocol.cast(DiscoInfo.class).data(this.vcardContext.pull(group, new XData().setType(XDataType.RESULT).add(this.form))).add(this.identity.clone().setName(group.user())).add(this.feature);
    context.write(protocol.parent().setType(ProtocolType.RESULT).reply());
    return true;
  }
}
View Full Code Here

Examples of org.dbwiki.data.provenance.Provenance.user()

   
    // FIXME #provenance: Should really put this code into Provenance or Version classes
    Provenance provenance = version.provenance();
   
    statement.setShort(3, provenance.type());
    if (provenance.user() != null) {
      statement.setInt(4, provenance.user().id());
    } else {
      statement.setInt(4, User.UnknownUserID);
    }
    if (provenance.identifier() != null) {
View Full Code Here

Examples of org.dbwiki.data.provenance.Provenance.user()

    // FIXME #provenance: Should really put this code into Provenance or Version classes
    Provenance provenance = version.provenance();
   
    statement.setShort(3, provenance.type());
    if (provenance.user() != null) {
      statement.setInt(4, provenance.user().id());
    } else {
      statement.setInt(4, User.UnknownUserID);
    }
    if (provenance.identifier() != null) {
      statement.setInt(5, ((NodeIdentifier)provenance.identifier()).nodeID());
View Full Code Here

Examples of org.jboss.errai.workspaces.client.icons.ErraiImageBundle.user()

    infoPanel.setSpacing(5);
    infoPanel.setStyleName("bpm-header-right");

    // account info
    ErraiImageBundle icons = GWT.create(ErraiImageBundle.class);
    Image img = new Image(icons.user());
    img.addClickHandler(
        new ClickHandler()
        {

          public void onClick(ClickEvent clickEvent)
View Full Code Here

Examples of org.jclouds.domain.LoginCredentials.Builder.user()

      if (spec != null) {
         template = TemplateBuilderSpec.parse(spec);
         if (template.getLoginUser() != null) {
            Iterable<String> userPass = Splitter.on(':').split(template.getLoginUser());
            Builder loginCredentialsBuilder = LoginCredentials.builder();
            loginCredentialsBuilder.user(Iterables.get(userPass, 0));
            if (Iterables.size(userPass) == 2)
               loginCredentialsBuilder.password(Iterables.get(userPass, 1));
            if (template.getAuthenticateSudo() != null)
               loginCredentialsBuilder.authenticateSudo(template.getAuthenticateSudo());
            loginCredentials = loginCredentialsBuilder.build();
View Full Code Here

Examples of org.jclouds.domain.LoginCredentials.Builder.user()

      if (spec != null) {
         template = TemplateBuilderSpec.parse(spec);
         if (template.getLoginUser() != null) {
            Iterable<String> userPass = Splitter.on(':').split(template.getLoginUser());
            Builder loginCredentialsBuilder = LoginCredentials.builder();
            loginCredentialsBuilder.user(Iterables.get(userPass, 0));
            if (Iterables.size(userPass) == 2)
               loginCredentialsBuilder.password(Iterables.get(userPass, 1));
            if (template.getAuthenticateSudo() != null)
               loginCredentialsBuilder.authenticateSudo(template.getAuthenticateSudo());
            loginCredentials = loginCredentialsBuilder.build();
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.