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

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


        String currentUserPropertyValue = userProperties.getPropertyValue(notificationType.getValue());
        while (currentUserPropertyValue != null) {
            userProperties.removePropertyValue(notificationType.getValue(), currentUserPropertyValue);
            currentUserPropertyValue = userProperties.getPropertyValue(notificationType.getValue());
        }
        final NotificationTimestamp notificationTimestamp = NotificationTimestamp.fromType(notificationType);
        String currentUserTimestamp = userProperties.getPropertyValue(notificationTimestamp.getValue());
        if (currentUserTimestamp == null) {
            userProperties.addPropertyValue(notificationTimestamp.getValue(), Long.toString(new Date().getTime()));
        }
        userProperties.addPropertyValue(notificationType.getValue(), notificationInterval.getValue());
    }
View Full Code Here

TOP

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

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.