Package de.uplanet.lucy.server.portlet

Provides tools for general portlet managment.

See:
          Description

Class Summary
MainPortalManager Singelton class to manage more than one main portal pages The class use the table LCMAINPORTAL and the PortletManager
PortletManager Manages portlets on portals.
 

Package de.uplanet.lucy.server.portlet Description

Provides tools for general portlet managment.

Overview

Documentation

The classes operate on the LCPORTLETXXX tables:

CREATE TABLE LCPORTLETCLASS
(
    GUIDPORTLETCLASS VARCHAR(40) NOT NULL,
    STRIMPLCLASS VARCHAR(255),
    INTFLAGS INTEGER NOT NULL
    PRIMARY KEY (GUIDPORTLETCLASS)
)

CREATE INDEX IX_LCPORTLETCLASS0 ON LCPORTLETCLASS(STRIMPLCLASS)

CREATE TABLE LCPORTLETINSTANCE
(
    GUIDPORTLET VARCHAR(40) NOT NULL,
    GUIDPORTLETCLASS VARCHAR(40) NOT NULL,
    PRIMARY KEY (GUIDPORTLET),
    FOREIGN KEY (GUIDPORTLETCLASS) REFERENCES LCPORTLETCLASS(GUIDPORTLETCLASS)
)

CREATE TABLE LCPORTLETSET
(
    GUIDPORTLET VARCHAR(40) NOT NULL,
    GUIDPORTAL VARCHAR(40) NOT NULL,
    GUIDUSER VARCHAR(40) NOT NULL,
    INTCOLUMN INTEGER NOT NULL,
    INTPOSITION INTEGER NOT NULL,
    INTMANDATORY INTEGER NOT NULL,
    INTFLAGS INTEGER NOT NULL
    PRIMARY KEY (GUIDPORTLET, GUIDPORTAL, GUIDUSER),
    FOREIGN KEY (GUIDPORTLET) REFERENCES LCPORTLETINSTANCE(GUIDPORTLET)
)

CREATE INDEX IX_LCPORTLETSET0 ON LCPORTLETSET(INTCOLUMN)
CREATE INDEX IX_LCPORTLETSET1 ON LCPORTLETSET(INTPOSITION)

CREATE TABLE LCPORTLETNAME
(
    GUIDPORTLET VARCHAR(40) NOT NULL,
    STRLANGID VARCHAR(16) NOT NULL,
    STRNAME VARCHAR(255) NOT NULL,
    PRIMARY KEY (guidportlet, strlangid),
    FOREIGN KEY (guidportlet) REFERENCES LCPORTLETINSTANCE(guidportlet)
)

CREATE TABLE LCPORTLETPROP
(
    GUIDPORTLET VARCHAR(40) NOT NULL,
    GUIDUSER VARCHAR(40) NOT NULL,
    STRNAME VARCHAR(255) NOT NULL,
    INTTYPEID INTEGER NOT NULL,
    INTVERSION INTEGER NOT NULL,
    TXTVALUE TEXT,
    PRIMARY KEY (GUIDPORTLET, GUIDUSER, STRNAME),
    FOREIGN KEY (GUIDPORTLET) REFERENCES LCPORTLETINSTANCE(GUIDPORTLET)
)

CREATE TABLE LCPORTLETREF
(
    GUIDREF VARCHAR(40) NOT NULL,
    GUIDPORTLET VARCHAR(40) NOT NULL,
    PRIMARY KEY (GUIDREF, GUIDPORTLET),
    FOREIGN KEY (GUIDPORTLET) REFERENCES LCPORTLETINSTANCE(GUIDPORTLET)
)



Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.