lumis.portal.service
Class GenericServiceClock

Package class diagram package GenericServiceClock
java.lang.Object
  extended by lumis.portal.service.GenericServiceClock
All Implemented Interfaces:
IServiceClock
Direct Known Subclasses:
AuditEntryCleanerClock, ChatClock, ContentClock, ContentVersionCleanerClock, DeleteCreatedOrphanInterfaceInstances, DeleteExpiredDurableMessagesClock, ImportPrincipalClock, LockClock, MailMarketingClock, MonitorConsolidationClock, NewsletterClock, SendMailClock, SessionClock

@StableMinor(version="6.2",
             sinceVersion="4.0")
public abstract class GenericServiceClock
extends Object
implements IServiceClock

Generic implementation of the IServiceClock interface.

Implements the getNextScheduleTime(SessionConfig, ClockConfig, ITransaction) method of the IServiceClock interface, so that it obeys to the configuration values specified in the ClockConfig.

Since:
4.0.0

Field Summary
 
Fields inherited from interface lumis.portal.clock.IServiceClock
CLOCK_TICK_SERVICE, CLOCK_TICK_SERVICE_INSTANCE, CLOCK_TICK_SERVICE_INTERFACE, CLOCK_TICK_SERVICE_INTERFACE_INSTANCE
 
Constructor Summary
GenericServiceClock()
           
 
Method Summary
 Date getNextScheduleTime(SessionConfig sessionConfig, ClockConfig clockConfig, ITransaction transaction)
          Returns the scheduled date-time for the next execution of a clock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface lumis.portal.clock.IServiceClock
doTick
 

Constructor Detail

GenericServiceClock

public GenericServiceClock()
Method Detail

getNextScheduleTime

public Date getNextScheduleTime(SessionConfig sessionConfig,
                                ClockConfig clockConfig,
                                ITransaction transaction)
                         throws ServiceException,
                                PortalException
Description copied from interface: IServiceClock
Returns the scheduled date-time for the next execution of a clock.

Specified by:
getNextScheduleTime in interface IServiceClock
Parameters:
sessionConfig - the user session information.
clockConfig - the clock.
transaction - the transaction for persistence access.
Returns:
the date-time for next scheduled execution.
Throws:
ServiceException
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.