01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/osp/tags/sakai_2-4-1/common/api/src/java/org/theospi/portfolio/list/intf/ListService.java $
03: * $Id: ListService.java 21798 2007-02-21 16:27:08Z chmaurer@iupui.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2005, 2006, 2007 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.theospi.portfolio.list.intf;
21:
22: import java.util.List;
23:
24: import org.theospi.portfolio.list.model.ListConfig;
25:
26: public interface ListService {
27:
28: public List getList();
29:
30: public String getEntryLink(Object entry);
31:
32: public List getCurrentDisplayColumns();
33:
34: public String getDefaultSortColumn();
35:
36: public List getSortableColumns();
37:
38: public List getBundleLookupColumns();
39:
40: public ListGenerator getListGenerator(String name);
41:
42: public ListConfig getCurrentConfig();
43:
44: public void saveOptions(ListConfig currentConfig);
45:
46: public boolean isNewWindow(Object entry);
47:
48: public void register(String id, ListGenerator listGenerator);
49:
50: public List getSiteTypeList();
51: }
|