Package de.danet.an.workflow.rmsimpls.eisrms.aci

Examples of de.danet.an.workflow.rmsimpls.eisrms.aci.RmsEntry


        if (props.containsKey(user)) {
            String val = props.getProperty(user);
            for (StringTokenizer st = new StringTokenizer(val, ",");
                 st.hasMoreTokens();) {
                String entry = st.nextToken().trim();
                res.add(new RmsEntry(type, prefix + entry, entry));
            }
        }
        return res;
    }
View Full Code Here


        res.addAll
            (listEntries(keys, RmsEntry.RESOURCE_TYPE_GROUP, groupsProps));
        res.addAll(listEntries(keys, RmsEntry.RESOURCE_TYPE_ROLE, rolesProps));
        for (Iterator i = keys.iterator(); i.hasNext();) {
            String user = (String)i.next();
            res.add (new RmsEntry
                     (RmsEntry.RESOURCE_TYPE_USER, "M:" + user, user));
        }
        return res;
    }
View Full Code Here

        }
        Collection res = new ArrayList ();
        for (Iterator i = entries.iterator(); i.hasNext();) {
            String entry = (String)i.next();
            String prefix = (type==RmsEntry.RESOURCE_TYPE_GROUP ? "G:" : "R:");
            res.add(new RmsEntry(type, prefix + entry, entry));
        }
        return res;
    }
View Full Code Here

    public Collection selectResources(Object resSel) throws ResourceException {
        Collection res = new ArrayList ();
        if (!(resSel instanceof String)) {
            return res;
        }
        RmsEntry entry = findResource((String)resSel);
        if (entry != null) {
            res.add(entry);
        }
        return res;
    }
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.rmsimpls.eisrms.aci.RmsEntry

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.