View Javadoc
1   /*
2    * The Kuali Financial System, a comprehensive financial management system for higher education.
3    * 
4    * Copyright 2005-2014 The Kuali Foundation
5    * 
6    * This program is free software: you can redistribute it and/or modify
7    * it under the terms of the GNU Affero General Public License as
8    * published by the Free Software Foundation, either version 3 of the
9    * License, or (at your option) any later version.
10   * 
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Affero General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Affero General Public License
17   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   */
19  package org.kuali.kfs.sec.businessobject;
20  
21  import java.util.LinkedHashMap;
22  
23  import org.kuali.kfs.sec.SecPropertyConstants;
24  import org.kuali.rice.krad.bo.TransientBusinessObjectBase;
25  
26  
27  /**
28   * Holds information regarding an access restriction that was found. Used by AccessSecurityService to provide information back when checking access
29   */
30  public class AccessSecurityRestrictionInfo extends TransientBusinessObjectBase {
31      private String securityAttributeName;
32      private String propertyName;
33      private String propertyLabel;
34      private String retrictedValue;
35      private String documentNumber;
36  
37      public AccessSecurityRestrictionInfo() {
38  
39      }
40  
41      /**
42       * Gets the securityAttributeName attribute.
43       * 
44       * @return Returns the securityAttributeName.
45       */
46      public String getSecurityAttributeName() {
47          return securityAttributeName;
48      }
49  
50  
51      /**
52       * Sets the securityAttributeName attribute value.
53       * 
54       * @param securityAttributeName The securityAttributeName to set.
55       */
56      public void setSecurityAttributeName(String securityAttributeName) {
57          this.securityAttributeName = securityAttributeName;
58      }
59  
60  
61      /**
62       * Gets the propertyName attribute.
63       * 
64       * @return Returns the propertyName.
65       */
66      public String getPropertyName() {
67          return propertyName;
68      }
69  
70  
71      /**
72       * Sets the propertyName attribute value.
73       * 
74       * @param propertyName The propertyName to set.
75       */
76      public void setPropertyName(String propertyName) {
77          this.propertyName = propertyName;
78      }
79  
80  
81      /**
82       * Gets the retrictedValue attribute.
83       * 
84       * @return Returns the retrictedValue.
85       */
86      public String getRetrictedValue() {
87          return retrictedValue;
88      }
89  
90  
91      /**
92       * Sets the retrictedValue attribute value.
93       * 
94       * @param retrictedValue The retrictedValue to set.
95       */
96      public void setRetrictedValue(String retrictedValue) {
97          this.retrictedValue = retrictedValue;
98      }
99  
100 
101     /**
102      * Gets the propertyLabel attribute.
103      * 
104      * @return Returns the propertyLabel.
105      */
106     public String getPropertyLabel() {
107         return propertyLabel;
108     }
109 
110     /**
111      * Sets the propertyLabel attribute value.
112      * 
113      * @param propertyLabel The propertyLabel to set.
114      */
115     public void setPropertyLabel(String propertyLabel) {
116         this.propertyLabel = propertyLabel;
117     }
118 
119 
120     /**
121      * Gets the documentNumber attribute.
122      * 
123      * @return Returns the documentNumber.
124      */
125     public String getDocumentNumber() {
126         return documentNumber;
127     }
128 
129     /**
130      * Sets the documentNumber attribute value.
131      * 
132      * @param documentNumber The documentNumber to set.
133      */
134     public void setDocumentNumber(String documentNumber) {
135         this.documentNumber = documentNumber;
136     }
137 
138     
139     protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
140         LinkedHashMap m = new LinkedHashMap();
141 
142         m.put(SecPropertyConstants.SECURITY_ATTRIBUTE_NAME, this.securityAttributeName);
143 
144         return m;
145     }
146 
147 }