1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.pluto.portalImpl.services.portletdefinitionregistry;
21
22 import org.apache.pluto.om.common.ObjectID;
23 import org.apache.pluto.om.portlet.PortletApplicationDefinitionList;
24 import org.apache.pluto.om.portlet.PortletDefinition;
25 import org.apache.pluto.portalImpl.services.Service;
26
27 /***
28 * <P>
29 * The <CODE>PortletRegistryService</CODE> interface represents all
30 * portlets and portlet applications available in the portal. It is accessed
31 * by the datastore layer to get information about the portlets and
32 * portlet applications.
33 * </P>
34 * <P>
35 * The interfaces defined in this package represent an abstract object
36 * model (OM) that is applicable for different implementations.
37 * The abstract OM defines only how the data is stored and accessed
38 * in the memory. Each implementation can store the data in different ways.
39 * </P>
40 * <P>
41 * This abstraction layer helps to generalize the portlet container from
42 * special implementations like data storage and moreover it is not bound
43 * to a special Application Server.
44 * </P>
45 *
46
47 */
48 public abstract class PortletDefinitionRegistryService extends Service
49 {
50
51
52 /***
53 * Returns a set containg all portlet application definitions
54 *
55 * @return the portlet application definition set
56 */
57 abstract public PortletApplicationDefinitionList getPortletApplicationDefinitionList();
58
59 /***
60 * Returns the portlet definition to the given object id
61 *
62 * @return the portlet definition
63 */
64 abstract public PortletDefinition getPortletDefinition(ObjectID id);
65 }