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

Examples of org.eurekastreams.server.service.actions.strategies.activity.ActivityValidator.validate()


                && 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)
View Full Code Here


            {
                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
Copyright © 2018 www.massapi.com. 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.