1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kew.actionitem; |
17 | |
|
18 | |
import javax.persistence.AttributeOverride; |
19 | |
import javax.persistence.AttributeOverrides; |
20 | |
import javax.persistence.Column; |
21 | |
import javax.persistence.Entity; |
22 | |
import javax.persistence.Table; |
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
@Entity |
31 | |
@Table(name="KREW_OUT_BOX_ITM_T") |
32 | |
@AttributeOverrides({ |
33 | |
@AttributeOverride(name="actionItemId", column=@Column(name="ACTN_ITM_ID")), |
34 | |
@AttributeOverride(name="principalId", column=@Column(name="PRNCPL_ID")), |
35 | |
@AttributeOverride(name="dateAssigned", column=@Column(name="ASND_DT")), |
36 | |
@AttributeOverride(name="actionRequestCd", column=@Column(name="RQST_CD")), |
37 | |
@AttributeOverride(name="actionRequestId", column=@Column(name="ACTN_RQST_ID")), |
38 | |
@AttributeOverride(name="documentId", column=@Column(name="DOC_HDR_ID")), |
39 | |
@AttributeOverride(name="responsibilityId", column=@Column(name="RSP_ID")), |
40 | |
@AttributeOverride(name="groupId", column=@Column(name="GRP_ID")), |
41 | |
@AttributeOverride(name="roleName", column=@Column(name="ROLE_NM")), |
42 | |
@AttributeOverride(name="docTitle", column=@Column(name="DOC_HDR_TTL")), |
43 | |
@AttributeOverride(name="docLabel", column=@Column(name="DOC_TYP_LBL")), |
44 | |
@AttributeOverride(name="docHandlerURL", column=@Column(name="DOC_HDLR_URL")), |
45 | |
@AttributeOverride(name="docName", column=@Column(name="DOC_TYP_NM")), |
46 | |
@AttributeOverride(name="delegatorWorkflowId", column=@Column(name="DLGN_PRNCPL_ID")), |
47 | |
@AttributeOverride(name="delegatorGroupId", column=@Column(name="DLGN_GRP_ID")), |
48 | |
@AttributeOverride(name="delegationType", column=@Column(name="DLGN_TYP")), |
49 | |
@AttributeOverride(name="lockVerNbr", column=@Column(name="VER_NBR")), |
50 | |
@AttributeOverride(name="requestLabel", column=@Column(name="RQST_LBL")) |
51 | |
}) |
52 | |
|
53 | |
public class OutboxItemActionListExtension extends ActionItemActionListExtension { |
54 | |
|
55 | |
private static final long serialVersionUID = 5776214610837858304L; |
56 | |
|
57 | 0 | public OutboxItemActionListExtension() {} |
58 | |
|
59 | 0 | public OutboxItemActionListExtension(ActionItem actionItem) { |
60 | 0 | this.setActionRequestCd(actionItem.getActionRequestCd()); |
61 | 0 | this.setActionRequestId(actionItem.getActionRequestId()); |
62 | 0 | this.setActionToTake(actionItem.getActionToTake()); |
63 | 0 | this.setDateAssigned(actionItem.getDateAssigned()); |
64 | 0 | this.setDelegationType(actionItem.getDelegationType()); |
65 | 0 | this.setDelegatorWorkflowId(actionItem.getDelegatorWorkflowId()); |
66 | 0 | this.setDelegatorGroupId(actionItem.getDelegatorGroupId()); |
67 | 0 | this.setDocHandlerURL(actionItem.getDocHandlerURL()); |
68 | 0 | this.setDocLabel(actionItem.getDocLabel()); |
69 | 0 | this.setDocName(actionItem.getDocName()); |
70 | 0 | this.setDocTitle(actionItem.getDocTitle()); |
71 | 0 | this.setResponsibilityId(actionItem.getResponsibilityId()); |
72 | 0 | this.setRoleName(actionItem.getRoleName()); |
73 | 0 | this.setDocumentId(actionItem.getDocumentId()); |
74 | 0 | this.setPrincipalId(actionItem.getPrincipalId()); |
75 | 0 | this.setGroupId(actionItem.getGroupId()); |
76 | 0 | this.setRequestLabel(actionItem.getRequestLabel()); |
77 | 0 | } |
78 | |
|
79 | |
} |