| java.lang.Object org.apache.lenya.cms.observation.RepositoryEventFactory
RepositoryEventFactory | public class RepositoryEventFactory (Code) | | Factory to create repository events.
|
Method Summary | |
final public static RepositoryEvent | createEvent(ServiceManager manager, Session session, Logger logger, Object descriptor) Creates a repository event for a node.
Parameters: manager - The service manager. Parameters: session - The session. Parameters: logger - The logger. Parameters: descriptor - The descriptor. | final public static RepositoryEvent | createEvent(ServiceManager manager, Document doc, Logger logger, Object descriptor) Creates a repository event for a node.
Parameters: manager - The service manager. Parameters: doc - The document. Parameters: logger - The logger. Parameters: descriptor - The descriptor. | final public static RepositoryEvent | createEvent(ServiceManager manager, Node node, Logger logger, Object descriptor) Creates a repository event for a node.
Parameters: manager - The service manager. Parameters: node - The node. Parameters: logger - The logger. Parameters: descriptor - The descriptor. | final protected static Document | getDocument(ServiceManager manager, Node node, Logger logger) Parameters: manager - The service manager. Parameters: node - The node. Parameters: logger - The logger. |
createEvent | final public static RepositoryEvent createEvent(ServiceManager manager, Session session, Logger logger, Object descriptor)(Code) | | Creates a repository event for a node.
Parameters: manager - The service manager. Parameters: session - The session. Parameters: logger - The logger. Parameters: descriptor - The descriptor. An event. |
createEvent | final public static RepositoryEvent createEvent(ServiceManager manager, Document doc, Logger logger, Object descriptor)(Code) | | Creates a repository event for a node.
Parameters: manager - The service manager. Parameters: doc - The document. Parameters: logger - The logger. Parameters: descriptor - The descriptor. An event. |
createEvent | final public static RepositoryEvent createEvent(ServiceManager manager, Node node, Logger logger, Object descriptor)(Code) | | Creates a repository event for a node.
Parameters: manager - The service manager. Parameters: node - The node. Parameters: logger - The logger. Parameters: descriptor - The descriptor. An event. |
getDocument | final protected static Document getDocument(ServiceManager manager, Node node, Logger logger)(Code) | | Parameters: manager - The service manager. Parameters: node - The node. Parameters: logger - The logger. The document represented by the node or null ifthe node doesn't represent a document. |
|
|