Examples of ListAccessImpl


Examples of org.exoplatform.commons.utils.ListAccessImpl

        org.picketlink.idm.api.User gtnUser = service_.getIdentitySession().getPersistenceManager()
                .findUser(user.getUserName());

        if (gtnUser == null) {
            log.log(LogLevel.ERROR, "Internal ERROR. Cannot obtain user: " + user.getUserName());
            return new ListAccessImpl(Membership.class, Collections.emptyList());
        }
        return new IDMMembershipListAccess(gtnUser, !orgService.getConfiguration().isSkipPaginationInMembershipQuery());
    }
View Full Code Here

Examples of org.exoplatform.commons.utils.ListAccessImpl

        org.picketlink.idm.api.Group gtnGroup = service_.getIdentitySession().getPersistenceManager().findGroupByKey(gid);

        if (gtnGroup == null) {
            log.log(LogLevel.ERROR, "Internal ERROR. Cannot obtain group: " + group.getId());
            return new ListAccessImpl(Membership.class, Collections.emptyList());
        }
        return new IDMMembershipListAccess(gtnGroup, !orgService.getConfiguration().isSkipPaginationInMembershipQuery());
    }
View Full Code Here

Examples of org.exoplatform.commons.utils.ListAccessImpl

        org.picketlink.idm.api.User gtnUser = service_.getIdentitySession().getPersistenceManager()
                .findUser(user.getUserName());

        if (gtnUser == null) {
            log.log(LogLevel.ERROR, "Internal ERROR. Cannot obtain user: " + user.getUserName());
            return new ListAccessImpl(Membership.class, Collections.emptyList());
        }
        return new IDMMembershipListAccess(gtnUser, !orgService.getConfiguration().isSkipPaginationInMembershipQuery());
    }
View Full Code Here

Examples of org.exoplatform.commons.utils.ListAccessImpl

        org.picketlink.idm.api.Group gtnGroup = service_.getIdentitySession().getPersistenceManager().findGroupByKey(gid);

        if (gtnGroup == null) {
            log.log(LogLevel.ERROR, "Internal ERROR. Cannot obtain group: " + group.getId());
            return new ListAccessImpl(Membership.class, Collections.emptyList());
        }
        return new IDMMembershipListAccess(gtnGroup, !orgService.getConfiguration().isSkipPaginationInMembershipQuery());
    }
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.