lumis.portal.structure.sync.model.common
Class AccessControlList.AddAccessControlListChannelTemplateLinkTask

Package class diagram package AccessControlList.AddAccessControlListChannelTemplateLinkTask
java.lang.Object
  extended by lumis.portal.structure.sync.model.common.AccessControlList.AddAccessControlListChannelTemplateLinkTask
All Implemented Interfaces:
ParallelExecutor.IDatabaseTask
Direct Known Subclasses:
AccessControlList.AddChannelAccessControlListChannelTemplateLinkTask, AccessControlList.AddGroupAccessControlListChannelTemplateLinkTask, AccessControlList.AddPageAccessControlListChannelTemplateLinkTask, AccessControlList.AddServiceInstanceAccessControlListChannelTemplateLinkTask
Enclosing class:
AccessControlList

public abstract static class AccessControlList.AddAccessControlListChannelTemplateLinkTask
extends Object
implements ParallelExecutor.IDatabaseTask


Method Summary
 void call(org.hibernate.Session session)
          Executes the task.
protected abstract  String getSelectSourceIdHql()
          Returns the HQL for selecting the channel template source identifier.
 boolean mustRun()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mustRun

public boolean mustRun()

call

public final void call(org.hibernate.Session session)
                throws Exception
Description copied from interface: ParallelExecutor.IDatabaseTask
Executes the task.

Specified by:
call in interface ParallelExecutor.IDatabaseTask
Parameters:
session - the session for database access.
Throws:
Exception - if unable to execute the task.

getSelectSourceIdHql

protected abstract String getSelectSourceIdHql()
Returns the HQL for selecting the channel template source identifier.

The HQL will receive the parameter aclId with the ACL identifier.

Returns:
the HQL.
Since:
6.2.0


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