Examples of addExec()


Examples of org.apache.syncope.core.persistence.beans.NotificationTask.addExec()

     * @param execution task execution.
     * @return merged task execution.
     */
    public TaskExec storeExec(final TaskExec execution) {
        NotificationTask task = taskDAO.find(execution.getTask().getId());
        task.addExec(execution);
        task.setExecuted(true);
        task = taskDAO.save(task);
        // NotificationTasks always have a single execution at most
        return task.getExecs().get(0);
    }
View Full Code Here

Examples of org.apache.syncope.core.persistence.beans.NotificationTask.addExec()

     * @param execution task execution.
     * @return merged task execution.
     */
    public TaskExec storeExec(final TaskExec execution) {
        NotificationTask task = taskDAO.find(execution.getTask().getId());
        task.addExec(execution);
        task.setExecuted(true);
        task = taskDAO.save(task);
        // NotificationTasks always have a single execution at most
        return task.getExecs().get(0);
    }
View Full Code Here

Examples of org.apache.syncope.core.persistence.beans.NotificationTask.addExec()

     * @param execution task execution.
     * @return merged task execution.
     */
    public TaskExec storeExecAndUpdateLatestExecStatus(final TaskExec execution) {
        NotificationTask task = taskDAO.find(execution.getTask().getId());
        task.addExec(execution);
        task.setLatestExecStatus(execution.getStatus());
        task = taskDAO.save(task);
        // NotificationTasks always have a single execution at most
        return task.getExecs().get(0);
    }
View Full Code Here

Examples of org.apache.syncope.core.persistence.beans.NotificationTask.addExec()

     * @param execution task execution.
     * @return merged task execution.
     */
    public TaskExec storeExec(final TaskExec execution) {
        NotificationTask task = taskDAO.find(execution.getTask().getId());
        task.addExec(execution);
        task.setExecuted(true);
        taskDAO.save(task);
        // this flush call is needed to generate a value for the execution id
        taskDAO.flush();
        return execution;
View Full Code Here

Examples of org.apache.syncope.core.persistence.beans.NotificationTask.addExec()

     * @param execution task execution.
     * @return merged task execution.
     */
    public TaskExec storeExec(final TaskExec execution) {
        NotificationTask task = taskDAO.find(execution.getTask().getId());
        task.addExec(execution);
        task.setExecuted(true);
        taskDAO.save(task);
        // this flush call is needed to generate a value for the execution id
        taskDAO.flush();
        return execution;
View Full Code Here

Examples of org.apache.syncope.core.persistence.beans.NotificationTask.addExec()

     * @param execution task execution.
     * @return merged task execution.
     */
    public TaskExec storeExec(final TaskExec execution) {
        NotificationTask task = taskDAO.find(execution.getTask().getId());
        task.addExec(execution);
        task.setExecuted(true);
        taskDAO.save(task);
        // this flush call is needed to generate a value for the execution id
        taskDAO.flush();
        return execution;
View Full Code Here

Examples of org.apache.syncope.core.persistence.beans.NotificationTask.addExec()

     * @param execution task execution.
     * @return merged task execution.
     */
    public TaskExec storeExec(final TaskExec execution) {
        NotificationTask task = taskDAO.find(execution.getTask().getId());
        task.addExec(execution);
        task.setExecuted(true);
        task = taskDAO.save(task);
        // NotificationTasks always have a single execution at most
        return task.getExecs().get(0);
    }
View Full Code Here

Examples of org.apache.syncope.core.persistence.beans.NotificationTask.addExec()

     * @param execution task execution.
     * @return merged task execution.
     */
    public TaskExec storeExec(final TaskExec execution) {
        NotificationTask task = taskDAO.find(execution.getTask().getId());
        task.addExec(execution);
        task.setExecuted(true);
        task = taskDAO.save(task);
        // NotificationTasks always have a single execution at most
        return task.getExecs().get(0);
    }
View Full Code Here

Examples of org.apache.syncope.core.persistence.beans.NotificationTask.addExec()

     * @param execution task execution.
     * @return merged task execution.
     */
    public TaskExec storeExecAndUpdateLatestExecStatus(final TaskExec execution) {
        NotificationTask task = taskDAO.find(execution.getTask().getId());
        task.addExec(execution);
        task.setLatestExecStatus(execution.getStatus());
        task = taskDAO.save(task);
        // NotificationTasks always have a single execution at most
        return task.getExecs().get(0);
    }
View Full Code Here

Examples of org.apache.syncope.core.persistence.beans.NotificationTask.addExec()

     * @param execution task execution.
     * @return merged task execution.
     */
    public TaskExec storeExecAndUpdateLatestExecStatus(final TaskExec execution) {
        NotificationTask task = taskDAO.find(execution.getTask().getId());
        task.addExec(execution);
        task.setLatestExecStatus(execution.getStatus());
        task = taskDAO.save(task);
        // NotificationTasks always have a single execution at most
        return task.getExecs().get(0);
    }
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.