|
1 | | -/** |
2 | | - * Licensed to EsupPortail under one or more contributor license |
3 | | - * agreements. See the NOTICE file distributed with this work for |
4 | | - * additional information regarding copyright ownership. |
5 | | - * |
6 | | - * EsupPortail licenses this file to you under the Apache License, |
7 | | - * Version 2.0 (the "License"); you may not use this file except in |
8 | | - * compliance with the License. You may obtain a copy of the License at: |
9 | | - * |
10 | | - * http://www.apache.org/licenses/LICENSE-2.0 |
11 | | - * |
12 | | - * Unless required by applicable law or agreed to in writing, software |
13 | | - * distributed under the License is distributed on an "AS IS" BASIS, |
14 | | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
15 | | - * See the License for the specific language governing permissions and |
16 | | - * limitations under the License. |
17 | | - */ |
18 | | -package org.esupportail.portlet.filemanager.beans; |
19 | | - |
20 | | -import java.util.List; |
21 | | - |
22 | | -import org.apache.commons.logging.Log; |
23 | | -import org.apache.commons.logging.LogFactory; |
24 | | -import org.springframework.context.annotation.Scope; |
25 | | -import org.springframework.stereotype.Service; |
26 | | - |
27 | | -@Service("basketSession") |
28 | | -@Scope("session") |
29 | | -public class BasketSession { |
30 | | - |
31 | | - protected static final Log log = LogFactory.getLog(BasketSession.class); |
32 | | - |
33 | | - private List<String> dirsToCopy; |
34 | | - |
35 | | - private String goal; |
36 | | - |
37 | | - public List<String> getDirsToCopy() { |
38 | | - return dirsToCopy; |
39 | | - } |
40 | | - |
41 | | - public void setDirsToCopy(List<String> dirsToCopy) { |
42 | | - this.dirsToCopy = dirsToCopy; |
43 | | - } |
44 | | - |
45 | | - public String getGoal() { |
46 | | - return goal; |
47 | | - } |
48 | | - |
49 | | - public void setGoal(String goal) { |
50 | | - this.goal = goal; |
51 | | - } |
52 | | - |
53 | | -} |
| 1 | +/** |
| 2 | + * Licensed to EsupPortail under one or more contributor license |
| 3 | + * agreements. See the NOTICE file distributed with this work for |
| 4 | + * additional information regarding copyright ownership. |
| 5 | + * |
| 6 | + * EsupPortail licenses this file to you under the Apache License, |
| 7 | + * Version 2.0 (the "License"); you may not use this file except in |
| 8 | + * compliance with the License. You may obtain a copy of the License at: |
| 9 | + * |
| 10 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + * |
| 12 | + * Unless required by applicable law or agreed to in writing, software |
| 13 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + * See the License for the specific language governing permissions and |
| 16 | + * limitations under the License. |
| 17 | + */ |
| 18 | +package org.esupportail.portlet.filemanager.beans; |
| 19 | + |
| 20 | +import java.util.List; |
| 21 | + |
| 22 | +import org.apache.commons.logging.Log; |
| 23 | +import org.apache.commons.logging.LogFactory; |
| 24 | +import org.springframework.context.annotation.Scope; |
| 25 | +import org.springframework.stereotype.Service; |
| 26 | + |
| 27 | +@Service("basketSession") |
| 28 | +@Scope("session") |
| 29 | +public class BasketSession { |
| 30 | + |
| 31 | + protected static final Log log = LogFactory.getLog(BasketSession.class); |
| 32 | + |
| 33 | + private List<String> dirsToCopy; |
| 34 | + |
| 35 | + private String goal; |
| 36 | + |
| 37 | + public List<String> getDirsToCopy() { |
| 38 | + return dirsToCopy; |
| 39 | + } |
| 40 | + |
| 41 | + public void setDirsToCopy(List<String> dirsToCopy) { |
| 42 | + this.dirsToCopy = dirsToCopy; |
| 43 | + } |
| 44 | + |
| 45 | + public String getGoal() { |
| 46 | + return goal; |
| 47 | + } |
| 48 | + |
| 49 | + public void setGoal(String goal) { |
| 50 | + this.goal = goal; |
| 51 | + } |
| 52 | + |
| 53 | +} |
0 commit comments