01: /***************************************************************
02: * This file is part of the [fleXive](R) project.
03: *
04: * Copyright (c) 1999-2008
05: * UCS - unique computing solutions gmbh (http://www.ucs.at)
06: * All rights reserved
07: *
08: * The [fleXive](R) project is free software; you can redistribute
09: * it and/or modify it under the terms of the GNU General Public
10: * License as published by the Free Software Foundation;
11: * either version 2 of the License, or (at your option) any
12: * later version.
13: *
14: * The GNU General Public License can be found at
15: * http://www.gnu.org/copyleft/gpl.html.
16: * A copy is found in the textfile GPL.txt and important notices to the
17: * license from the author are found in LICENSE.txt distributed with
18: * these libraries.
19: *
20: * This library is distributed in the hope that it will be useful,
21: * but WITHOUT ANY WARRANTY; without even the implied warranty of
22: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23: * GNU General Public License for more details.
24: *
25: * For further information about UCS - unique computing solutions gmbh,
26: * please see the company website: http://www.ucs.at
27: *
28: * For further information about [fleXive](R), please see the
29: * project website: http://www.flexive.org
30: *
31: *
32: * This copyright notice MUST APPEAR in all copies of the file!
33: ***************************************************************/package com.flexive.shared.workflow;
34:
35: import java.io.Serializable;
36:
37: /**
38: * Editable workflow step.
39: *
40: * @author Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
41: */
42: public class StepEdit extends Step implements Serializable {
43: private static final long serialVersionUID = 7604922500076818L;
44:
45: /**
46: * Constructor from a Step
47: * @param step the source step
48: */
49: public StepEdit(Step step) {
50: super (step);
51: }
52:
53: /**
54: * Default constructor
55: */
56: public StepEdit() {
57: }
58:
59: /**
60: * Sets the ACL ID to be used for this step.
61: * @param aclId the ACL ID to be used for this step.
62: */
63: public void setAclId(long aclId) {
64: this .aclId = aclId;
65: }
66:
67: /**
68: * Sets the ID for this step.
69: * @param id the ID for this step.
70: */
71: public void setId(long id) {
72: this .id = id;
73: }
74:
75: /**
76: * Sets the step definition ID to be used for this step.
77: * @param stepDefinitionId the step definition ID to be used for this step.
78: */
79: public void setStepDefinitionId(long stepDefinitionId) {
80: this .stepDefinitionId = stepDefinitionId;
81: }
82:
83: /**
84: * Sets the workflow ID for this step.
85: * @param workflowId the workflow ID for this step.
86: */
87: public void setWorkflowId(long workflowId) {
88: this.workflowId = workflowId;
89: }
90: }
|