Package de.uplanet.lucy.server.newsagent
Used to create and manage persistent Intrexx messages.
Overview
Documentation
The classes operate on the tablesLCMESSAGES
and LCRECIPIENTS
:
CREATE TABLE LCMESSAGES
(
GUIDMESSAGE VARCHAR(40) NOT NULL,
GUIDSENDER VARCHAR(40),
STRAPPGUID VARCHAR(40),
STRTARGETGUID VARCHAR(40),
INTRECID INTEGER NOT NULL,
DTCREATED DATETIME NOT NULL,
DTEXPIRE DATETIME,
STRSUBJECT VARCHAR(255),
TXTBODY TEXT
PRIMARY KEY (GUIDMESSAGE)
)
CREATE INDEX IX_LCMESSAGES0 ON LCMESSAGES(GUIDMESSAGE)
CREATE TABLE LCRECIPIENTS
(
GUIDMESSAGE VARCHAR(40) NOT NULL,
GUIDRECIPIENT VARCHAR(40) NOT NULL,
INTVISITED INTEGER NOT NULL,
INTDELETED INTEGER NOT NULL
PRIMARY KEY (GUIDMESSAGE, GUIDRECIPIENT),
FOREIGN KEY (GUIDMESSAGE) REFERENCES LCMESSAGES(GUIDMESSAGE)
)
CREATE INDEX IX_LCRECIPIENTS0 ON LCRECIPIENTS(GUIDRECIPIENT)
CREATE TABLE LCMAPAPP
(
STRAPPGUID VARCHAR(40),
STRTARGETGUID VARCHAR(40)
PRIMARY KEY (STRAPPGUID)
)
(
GUIDMESSAGE VARCHAR(40) NOT NULL,
GUIDSENDER VARCHAR(40),
STRAPPGUID VARCHAR(40),
STRTARGETGUID VARCHAR(40),
INTRECID INTEGER NOT NULL,
DTCREATED DATETIME NOT NULL,
DTEXPIRE DATETIME,
STRSUBJECT VARCHAR(255),
TXTBODY TEXT
PRIMARY KEY (GUIDMESSAGE)
)
CREATE INDEX IX_LCMESSAGES0 ON LCMESSAGES(GUIDMESSAGE)
CREATE TABLE LCRECIPIENTS
(
GUIDMESSAGE VARCHAR(40) NOT NULL,
GUIDRECIPIENT VARCHAR(40) NOT NULL,
INTVISITED INTEGER NOT NULL,
INTDELETED INTEGER NOT NULL
PRIMARY KEY (GUIDMESSAGE, GUIDRECIPIENT),
FOREIGN KEY (GUIDMESSAGE) REFERENCES LCMESSAGES(GUIDMESSAGE)
)
CREATE INDEX IX_LCRECIPIENTS0 ON LCRECIPIENTS(GUIDRECIPIENT)
CREATE TABLE LCMAPAPP
(
STRAPPGUID VARCHAR(40),
STRTARGETGUID VARCHAR(40)
PRIMARY KEY (STRAPPGUID)
)
-
Interface Summary Interface Description IFilter Used for news filtering on collection and / or database level.IOrder -
Class Summary Class Description AbstractFilter Base class for filters that implements some default behaviour.AppGuidFilter Filter by applications by GUIDs.AppGuidNullFilter A filter for messages that belong or do not belong to an application.AppIdFilter Deprecated. UseAppGuidFilter
instead.AppIdNullFilter Deprecated. UseAppGuidNullFilter
instead.ApplicationOrder Order messages by application GUID and creation time.CreationOrder Order messages by their creation timestamp.IdentityFilter This filter actually performs no filtering.Message Represents a message that is managed by aNewsAgent
.NewsAgent Handles messages that exist beyond application scope.NewsArchiveReceivedFilter NewsArchiveSentFilter NotExpiredFilter Filters messages that have not expired yet.RecipientFilter SingleAppGuidFilter Filter by application GUID.SingleAppIdFilter Deprecated. UseSingleAppGuidFilter
instead.