01: /*
02: * Copyright 2007 Paolo Spizzirri (paolo.spizzirri@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.schedulerquartz.view.domain.quartzschedulerevent;
18:
19: import java.util.ArrayList;
20: import java.util.List;
21:
22: import org.romaframework.module.crud.CRUDSelect;
23:
24: public class QuartzSchedulerEventSelect extends
25: CRUDSelect<QuartzSchedulerEventListable> {
26: public QuartzSchedulerEventSelect() {
27: super (QuartzSchedulerEventListable.class,
28: QuartzSchedulerEventInstance.class,
29: QuartzSchedulerEventInstance.class,
30: QuartzSchedulerEventInstance.class);
31: filter = new QuartzSchedulerEventFilter();
32: result = new ArrayList<QuartzSchedulerEventListable>();
33: }
34:
35: @Override
36: public QuartzSchedulerEventFilter getFilter() {
37: return filter;
38: }
39:
40: @Override
41: public List<QuartzSchedulerEventListable> getResult() {
42: return result;
43: }
44:
45: @Override
46: public void setResult(Object iValue) {
47: result = (List<QuartzSchedulerEventListable>) iValue;
48: }
49:
50: protected QuartzSchedulerEventFilter filter;
51:
52: protected List<QuartzSchedulerEventListable> result;
53: }
|