Package edu.stanford.bmir.protege.web.client.rpc

Examples of edu.stanford.bmir.protege.web.client.rpc.NotificationType


    public Map<NotificationType, NotificationInterval> getNotificationDelays(final String user) {
        //FIXME: everything on this path can be null
        final Collection<PropertyValue> valueCollection = MetaProjectManager.getManager().getMetaProject().getUser(user).getPropertyValues();
        final Map<NotificationType, NotificationInterval> returnValue = new HashMap<NotificationType, NotificationInterval>();
        for (PropertyValue propertyValue : valueCollection) {
            final NotificationType type = NotificationType.fromString(propertyValue.getPropertyName());
            if (type != null) {
                returnValue.put(type, NotificationInterval.fromString(propertyValue.getPropertyValue()));
            }
        }
        return returnValue;
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.client.rpc.NotificationType

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.