View Javadoc
1   package org.kuali.ole.select.bo;
2   
3   import org.kuali.rice.krad.bo.PersistableBusinessObject;
4   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
5   
6   import java.util.ArrayList;
7   import java.util.Collection;
8   import java.util.List;
9   
10  /**
11   * Created by hemalathas on 12/19/14.
12   */
13  public class OLEAccessActivationConfiguration extends PersistableBusinessObjectBase {
14  
15      private String accessActivationConfigurationId;
16      private String workflowName;
17      private String workflowType;
18      private String workflowCompletionStatus;
19      private boolean mailNotification;
20      private String mailId;
21      private String mailContent;
22      private String recipientUserId;
23      private String recipientUserName;
24      private String recipientRoleId;
25      private String recipientRoleName;
26      private List<OLEAccessActivationWorkFlow> accessActivationWorkflowList = new ArrayList<OLEAccessActivationWorkFlow>();
27      private boolean active;
28      private String selector;
29      private String notificationSelector;
30  
31      public String getAccessActivationConfigurationId() {
32          return accessActivationConfigurationId;
33      }
34  
35      public void setAccessActivationConfigurationId(String accessActivationConfigurationId) {
36          this.accessActivationConfigurationId = accessActivationConfigurationId;
37      }
38  
39      public String getWorkflowName() {
40          return workflowName;
41      }
42  
43      public void setWorkflowName(String workflowName) {
44          this.workflowName = workflowName;
45      }
46  
47      public boolean isActive() {
48          return active;
49      }
50  
51      public void setActive(boolean active) {
52          this.active = active;
53      }
54  
55      public List<OLEAccessActivationWorkFlow> getAccessActivationWorkflowList() {
56          return accessActivationWorkflowList;
57      }
58  
59      public void setAccessActivationWorkflowList(List<OLEAccessActivationWorkFlow> accessActivationWorkflowList) {
60          this.accessActivationWorkflowList = accessActivationWorkflowList;
61      }
62  
63      public String getWorkflowType() {
64          return workflowType;
65      }
66  
67      public void setWorkflowType(String workflowType) {
68          this.workflowType = workflowType;
69      }
70  
71      public String getWorkflowCompletionStatus() {
72          return workflowCompletionStatus;
73      }
74  
75      public void setWorkflowCompletionStatus(String workflowCompletionStatus) {
76          this.workflowCompletionStatus = workflowCompletionStatus;
77      }
78  
79      @Override
80      public List<Collection<PersistableBusinessObject>> buildListOfDeletionAwareLists() {
81          List<Collection<PersistableBusinessObject>> collectionList = new ArrayList<>();
82          collectionList.add((Collection)getAccessActivationWorkflowList());
83          return collectionList;
84      }
85  
86      public String getSelector() {
87          return selector;
88      }
89  
90      public void setSelector(String selector) {
91          this.selector = selector;
92      }
93  
94      public String getMailId() {
95          return mailId;
96      }
97  
98      public void setMailId(String mailId) {
99          this.mailId = mailId;
100     }
101 
102     public String getMailContent() {
103         return mailContent;
104     }
105 
106     public void setMailContent(String mailContent) {
107         this.mailContent = mailContent;
108     }
109 
110     public String getRecipientUserId() {
111         return recipientUserId;
112     }
113 
114     public void setRecipientUserId(String recipientUserId) {
115         this.recipientUserId = recipientUserId;
116     }
117 
118     public String getRecipientUserName() {
119         return recipientUserName;
120     }
121 
122     public void setRecipientUserName(String recipientUserName) {
123         this.recipientUserName = recipientUserName;
124     }
125 
126     public String getRecipientRoleId() {
127         return recipientRoleId;
128     }
129 
130     public void setRecipientRoleId(String recipientRoleId) {
131         this.recipientRoleId = recipientRoleId;
132     }
133 
134     public String getRecipientRoleName() {
135         return recipientRoleName;
136     }
137 
138     public void setRecipientRoleName(String recipientRoleName) {
139         this.recipientRoleName = recipientRoleName;
140     }
141 
142     public boolean isMailNotification() {
143         return mailNotification;
144     }
145 
146     public void setMailNotification(boolean mailNotification) {
147         this.mailNotification = mailNotification;
148     }
149 
150     public String getNotificationSelector() {
151         return notificationSelector;
152     }
153 
154     public void setNotificationSelector(String notificationSelector) {
155         this.notificationSelector = notificationSelector;
156     }
157 }