Package org.eurekastreams.server.service.actions.strategies.activity

Examples of org.eurekastreams.server.service.actions.strategies.activity.ActivityValidator


        if (verbValidators.containsKey(currentActivity.getVerb().name())
                && objectValidators.containsKey(currentActivity.getBaseObjectType().name()))
        {
            try
            {
                ActivityValidator currentVerbVal = verbValidators.get(currentActivity.getVerb().name());
                currentVerbVal.validate(currentActivity);

                ActivityValidator currentObjectVal = objectValidators.get(currentActivity.getBaseObjectType().name());
                currentObjectVal.validate(currentActivity);
            }
            catch (ValidationException vex)
            {
                log.error("ActivityValidators failed for this activity.", vex);
                for (Entry<String, String> validationError : vex.getErrors().entrySet())
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.service.actions.strategies.activity.ActivityValidator

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.