Package org.b3log.solo.util

Examples of org.b3log.solo.util.Users$SingletonHolder


        final JSONObject ret = new JSONObject();

        try {
            final JSONObject requestJSONObject = AbstractAction.parseRequestJSONObject(request, response);

            final Users users = Users.getInstance();
            final JSONObject currentUser = users.getCurrentUser(request);

            requestJSONObject.getJSONObject(Article.ARTICLE).
                    put(Article.ARTICLE_AUTHOR_EMAIL, currentUser.getString(User.USER_EMAIL));

            final String articleId = articleMgmtService.addArticle(requestJSONObject);
View Full Code Here

TOP

Related Classes of org.b3log.solo.util.Users$SingletonHolder

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.