Package org.apache.marmotta.platform.core.model.user

Examples of org.apache.marmotta.platform.core.model.user.MarmottaUser


                        URI webId = conn.getValueFactory().createURI(webId_str);

                        log.info("creating user with webId: {} ", webId.stringValue());

                        if (!login.equals(ANONYMOUS_LOGIN) && !login.equals(ADMIN_LOGIN)) {
                            MarmottaUser u = FacadingFactory.createFacading(conn).createFacade(webId, MarmottaUser.class);
                            u.setFirstName(firstName);
                            u.setLastName(lastName);
                            u.setNick(login);
                        }

                        if(login.equals(ANONYMOUS_LOGIN)) {
                            anonUser = webId;
                        }
View Full Code Here


                    try {
                        conn.begin();
                        URI webId = conn.getValueFactory().createURI(webId_str);

                        if (!login.equals(ANONYMOUS_LOGIN) && !login.equals(ADMIN_LOGIN)) {
                            MarmottaUser u = FacadingFactory.createFacading(conn).createFacade(webId, MarmottaUser.class);
                            u.setFirstName(firstName);
                            u.setLastName(lastName);
                            u.setNick(login);
                        }

                        if(login.equals(ANONYMOUS_LOGIN)) {
                            anonUser = webId;
                        }
View Full Code Here

                    URI webId = conn.getValueFactory().createURI(webId_str);

                    log.info("creating user with webId: {} ", webId.stringValue());

                    if (!login.equals(ANONYMOUS_LOGIN) && !login.equals(ADMIN_LOGIN)) {
                        MarmottaUser u = FacadingFactory.createFacading(conn).createFacade(webId, MarmottaUser.class);
                        u.setFirstName(firstName);
                        u.setLastName(lastName);
                        u.setNick(login);
                    }

                    if(login.equals(ANONYMOUS_LOGIN)) {
                        anonUser = webId;
                    }
View Full Code Here

TOP

Related Classes of org.apache.marmotta.platform.core.model.user.MarmottaUser

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.