Package net.sf.archimede.model.content

Examples of net.sf.archimede.model.content.GroupContentPermissions


    public DataModel getGroupsContentPermissionsModel() {
        if (this.groupsContentPermissions.getWrappedData() == null) {
            List groupsContentPermissionsList = this.folder.getGroupsContentPermissions();
            List viewGroupsContentPermissionsList = new ArrayList(groupsContentPermissionsList.size());
            for (Iterator it = groupsContentPermissionsList.iterator(); it.hasNext(); ) {
                GroupContentPermissions perm = (GroupContentPermissions) it.next();
                GroupContentPermissions viewPerm = new GroupContentPermissions(perm.getContent(), new ViewGroup(perm.getGroup()));
                try {
                    BeanUtils.copyProperties(viewPerm, perm);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
View Full Code Here


    public DataModel getGroupsContentPermissionsModel() {
        if (this.groupsContentPermissions.getWrappedData() == null) {
            List groupsContentPermissionsList = this.storedFile.getGroupsContentPermissions();
            List viewGroupsContentPermissionsList = new ArrayList(groupsContentPermissionsList.size());
            for (Iterator it = groupsContentPermissionsList.iterator(); it.hasNext(); ) {
                GroupContentPermissions perm = (GroupContentPermissions) it.next();
                GroupContentPermissions viewPerm = new GroupContentPermissions(perm.getContent(), new ViewGroup(perm.getGroup()));
                try {
                    BeanUtils.copyProperties(viewPerm, perm);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
View Full Code Here

    public DataModel getGroupsContentPermissionsModel() {
        if (this.groupsContentPermissions.getWrappedData() == null) {
            List groupsContentPermissionsList = this.collection.getGroupsContentPermissions();
            List viewGroupsContentPermissionsList = new ArrayList(groupsContentPermissionsList.size());
            for (Iterator it = groupsContentPermissionsList.iterator(); it.hasNext(); ) {
                GroupContentPermissions perm = (GroupContentPermissions) it.next();
                GroupContentPermissions viewPerm = new GroupContentPermissions(perm.getContent(), new ViewGroup(perm.getGroup()));
                try {
                    BeanUtils.copyProperties(viewPerm, perm);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
View Full Code Here

TOP

Related Classes of net.sf.archimede.model.content.GroupContentPermissions

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.