TaskDefinitionMixIn.java revision 4cb6ef8da83ed001d8087b68aaccb6f6b6b2bc09
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl/*
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl *
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * Copyright © 2012 ForgeRock Inc. All rights reserved.
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl *
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * The contents of this file are subject to the terms
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * of the Common Development and Distribution License
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * (the License). You may not use this file except in
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * compliance with the License.
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl *
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * You can obtain a copy of the License at
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * http://forgerock.org/license/CDDLv1.0.html
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * See the License for the specific language governing
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * permission and limitations under the License.
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl *
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * When distributing Covered Code, include this CDDL
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * Header Notice in each file and include the License file
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * at http://forgerock.org/license/CDDLv1.0.html
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * If applicable, add the following below the CDDL Header,
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * with the fields enclosed by brackets [] replaced by
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * your own identifying information:
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * "Portions Copyrighted [year] [name of copyright owner]"
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl */
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichlpackage org.forgerock.openidm.workflow.activiti.impl.mixin;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichlimport java.util.Set;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichlimport org.activiti.engine.delegate.Expression;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichlimport org.codehaus.jackson.annotate.JsonIgnoreProperties;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichlimport org.codehaus.jackson.annotate.JsonProperty;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichlimport org.forgerock.openidm.workflow.activiti.impl.ActivitiConstants;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl/**
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl *
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl * @author orsolyamebold
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl */
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl@JsonIgnoreProperties({"persistentState"})
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichlpublic class TaskDefinitionMixIn {
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl @JsonProperty(ActivitiConstants.ID)
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl protected String key;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl @JsonProperty(ActivitiConstants.ACTIVITI_NAME)
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl protected Expression nameExpression;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl @JsonProperty(ActivitiConstants.ACTIVITI_ASSIGNEE)
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl protected Expression assigneeExpression;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl @JsonProperty(ActivitiConstants.ACTIVITI_CANDIDATEUSER)
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl protected Set<Expression> candidateUserIdExpressions;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl @JsonProperty(ActivitiConstants.ACTIVITI_CANDIDATEGROUP)
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl protected Set<Expression> candidateGroupIdExpressions;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl @JsonProperty(ActivitiConstants.ACTIVITI_DUEDATE)
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl protected Expression dueDateExpression;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl @JsonProperty(ActivitiConstants.ACTIVITI_PRIORITY)
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl protected Expression priorityExpression;
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl}
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichl