01: /*
02: * Copyright 2006 Luca Garulli (luca.garulli@assetdata.it)
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.romaframework.module.users.view.domain.baseprofile;
18:
19: import java.util.ArrayList;
20: import java.util.List;
21:
22: import org.romaframework.module.crud.CRUDSelect;
23:
24: public class BaseProfileSelect extends CRUDSelect<BaseProfileListable> {
25: public BaseProfileSelect() {
26: super (BaseProfileListable.class, BaseProfileInstance.class,
27: BaseProfileInstance.class, BaseProfileInstance.class);
28: filter = new BaseProfileFilter();
29: result = new ArrayList<BaseProfileListable>();
30: }
31:
32: @Override
33: public BaseProfileFilter getFilter() {
34: return filter;
35: }
36:
37: @Override
38: public List<BaseProfileListable> getResult() {
39: return result;
40: }
41:
42: @Override
43: public void setResult(Object iValue) {
44: result = (List<BaseProfileListable>) iValue;
45: }
46:
47: protected BaseProfileFilter filter;
48:
49: protected List<BaseProfileListable> result;
50: }
|