37 lines
1.1 KiB
Java
Executable File
37 lines
1.1 KiB
Java
Executable File
/*
|
|
* Copyright (C) 2001 ArsDigita Corporation. All Rights Reserved.
|
|
*
|
|
* The contents of this file are subject to the ArsDigita Public
|
|
* License (the "License"); you may not use this file except in
|
|
* compliance with the License. You may obtain a copy of
|
|
* the License at http://www.arsdigita.com/ADPL.txt
|
|
*
|
|
* Software distributed under the License is distributed on an "AS
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing
|
|
* rights and limitations under the License.
|
|
*
|
|
*/
|
|
|
|
|
|
package com.arsdigita.london.rss.ui.admin;
|
|
|
|
import com.arsdigita.bebop.PageState;
|
|
import com.arsdigita.london.rss.Feed;
|
|
import com.arsdigita.kernel.ui.ACSObjectSelectionModel;
|
|
import com.arsdigita.bebop.parameters.BigDecimalParameter;
|
|
|
|
|
|
public class FeedSelectionModel extends ACSObjectSelectionModel {
|
|
|
|
public FeedSelectionModel(BigDecimalParameter param) {
|
|
super(Feed.class.getName(),
|
|
Feed.BASE_DATA_OBJECT_TYPE,
|
|
param);
|
|
}
|
|
|
|
public Feed getSelectedFeed(PageState state) {
|
|
return (Feed)getSelectedObject(state);
|
|
}
|
|
}
|