Package de.fu_berlin.inf.dpp.accountManagement

Examples of de.fu_berlin.inf.dpp.accountManagement.XMPPAccount


            username = jid.getBase();
        }

        boolean hasActiveAccount = accountStore.hasActiveAccount();

        XMPPAccount account = accountStore.createNewAccount(username, password,
            server);
        accountStore.saveAccounts();

        /*
         * If an active account has already been set, the user created already
View Full Code Here


            updateList();
        }
    }

    protected int getSelectedEntryID() {
        XMPPAccount account = accountStore.getAllAccounts().get(
            this.selectedEntryId);
        return account.getId();
    }
View Full Code Here

        return account.getId();
    }

    public XMPPAccount getSelectedAccount() {
        int selectedEntryId = getSelectedEntryID();
        XMPPAccount selectedAccount = this.accountStore
            .getAccount(selectedEntryId);
        return selectedAccount;
    }
View Full Code Here

            .openCreateXMPPAccountWizard(false);
        if (createXMPPAccountWizard != null
            && createXMPPAccountWizard.getCreatedXMPPAccount() != null) {
            this.isXMPPAccountCreated = true;

            XMPPAccount account = createXMPPAccountWizard
                .getCreatedXMPPAccount();

            String server = account.getServer();
            String username = account.getUsername();
            String password = account.getPassword();

            String jid;
            if (username.contains("@")) { //$NON-NLS-1$
                jid = username;
            } else {
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.accountManagement.XMPPAccount

Copyright © 2018 www.massapicom. 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.