@Override public ApplicationUser getAuthorObject() { return WorkflowFunctionUtils.getUserByKey(authorKey); }
@Override public ApplicationUser getUpdateAuthorObject() { return WorkflowFunctionUtils.getUserByKey(updateAuthorKey); }
@Override public ApplicationUser getAuthorObject() { return WorkflowFunctionUtils.getUserByKey(authorKey); }
@Override public ApplicationUser getUpdateAuthorObject() { return WorkflowFunctionUtils.getUserByKey(updateAuthorKey); }
/** * Get the {@link ApplicationUser} executing this condition. * * @param transientVars workflow context - parameters passed to workflow engine * @param args workflow's function arguments * @return The ApplicationUser, or null if run anonymously. */ public static ApplicationUser getCallerUserFromArgs(Map transientVars, Map args) { return getUserByKey(getCallerKey(transientVars, args)); }
/** * Given a map of transientVars from a Workflow Function, returns the {@link ApplicationUser} object of the caller. * * @param transientVars the "transientVars" from the workflow FunctionProvider * @return the username of the caller (can be null for anonymous). * @since 6.0 */ public static ApplicationUser getCallerUser(Map transientVars) { return WorkflowFunctionUtils.getUserByKey(getCallerKey(transientVars)); }
/** * Get the {@link ApplicationUser} executing this condition. * * @param transientVars workflow context - parameters passed to workflow engine * @param args workflow's function arguments * @return The ApplicationUser, or null if run anonymously. */ protected ApplicationUser getCallerUser(Map transientVars, Map args) { return getUserByKey(getCallerKey(transientVars, args)); }
public ApplicationUser getAuthorObject() { return WorkflowFunctionUtils.getUserByKey(getAuthorKey()); }