Package org.geogrid.aist.tsukubagama.services.request

Examples of org.geogrid.aist.tsukubagama.services.request.AccountRequest


            this.accountRequestDao.getAccountRequestsByUsername(username);
        if ( result.isEmpty() ) {
            return false;
        }
        for (Iterator itr = result.iterator(); itr.hasNext(); ) {
            AccountRequest request = (AccountRequest) itr.next();
            AccountRequest.Status status = request.status();
            if (   (status.equals(AccountRequest.Status.NEW))
                || (status.equals(AccountRequest.Status.APPROVED))) {
                foundDup = true;
                break;
            }
View Full Code Here


            this.accountRequestDao.getAccountRequestsByEmailAddress(email);
        if ( result.isEmpty() ) {
            return false;
        }
        for (Iterator itr = result.iterator(); itr.hasNext(); ) {
            AccountRequest request = (AccountRequest) itr.next();
            AccountRequest.Status status = request.status();
            if ( ! status.equals(AccountRequest.Status.REJECTED) ) {
                foundDup = true;
                break;
            }
        }
View Full Code Here

            if ( "ADMIN".equals(sendRenewalNoticeTo) ) {
                accountRequestMail.sendRenewalNoticeToAdministrator(result);
                log.info("Sent Renewal Notice to administrator.");
            } else {
                for (Iterator itr = result.iterator(); itr.hasNext();) {
                    AccountRequest accountRequest = (AccountRequest)itr.next();
                    sendRenewalNotice(accountRequest, param);
                }
            }
        } catch (Exception e) {
            log.error(e.getMessage(), e);
View Full Code Here

TOP

Related Classes of org.geogrid.aist.tsukubagama.services.request.AccountRequest

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.