Package org.eurekastreams.commons.actions.context

Examples of org.eurekastreams.commons.actions.context.ActionContext


        // ---- run ----
        try
        {
            Principal principal = null;
            ActionContext innerContext = context.getActionContext();
            boolean sourceHasPrincipal = innerContext instanceof PrincipalActionContext;
            if (sourceHasPrincipal)
            {
                principal = ((PrincipalActionContext) innerContext).getPrincipal();
            }
View Full Code Here


     */
    public Serializable execute(final TaskHandlerExecutionStrategy execution, final Serializable params,
            final TaskHandlerActionContext< ? extends ActionContext> parentContext)
    {
        Principal principal = null;
        ActionContext parentInnerContext = parentContext.getActionContext();
        if (parentInnerContext instanceof PrincipalActionContext)
        {
            principal = ((PrincipalActionContext) parentInnerContext).getPrincipal();
        }
        return execute(execution, params, principal, parentContext.getUserActionRequests());
View Full Code Here

TOP

Related Classes of org.eurekastreams.commons.actions.context.ActionContext

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.