com.fullspan.kat.service
Class KatServiceBase

java.lang.Object
  extended bycom.fullspan.kat.service.KatServiceBase
Direct Known Subclasses:
KatDeleteEntryService, KatDeleteUserService, KatExportEntryService, KatFetchAppSettingsService, KatFetchEntryListService, KatFetchEntryService, KatFetchEntryShrubService, KatFetchEntryTreeService, KatFetchUserListService, KatFetchUserService, KatFetchVisitedItemsService, KatGoEntryUrlService, KatImportEntryService, KatLoginService, KatMoveEntryBatchService, KatResetPasswordService, KatSaveAppSettingsService, KatSaveEntryService, KatSaveUserService, KatUpdateEntryBatchService

public abstract class KatServiceBase
extends java.lang.Object

Author:
Mitch Stuart

Field Summary
protected  boolean m_executed
           
protected  boolean m_isAdminSession
           
protected  IKatRequest m_katRequest
           
 
Constructor Summary
protected KatServiceBase(IKatRequest katRequest)
           
 
Method Summary
protected  void checkAccessToService()
           
protected  void checkExecuted()
           
protected  void checkThrowErrors()
           
 KatServiceBase execute()
           
 boolean getExecuted()
           
protected  void init()
           
protected abstract  void postServiceCheckAccess()
           
protected abstract  void preServiceCheckAccess()
           
protected abstract  void service()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_isAdminSession

protected final boolean m_isAdminSession

m_katRequest

protected final IKatRequest m_katRequest

m_executed

protected boolean m_executed
Constructor Detail

KatServiceBase

protected KatServiceBase(IKatRequest katRequest)
Method Detail

checkAccessToService

protected void checkAccessToService()

init

protected void init()

preServiceCheckAccess

protected abstract void preServiceCheckAccess()

postServiceCheckAccess

protected abstract void postServiceCheckAccess()

service

protected abstract void service()
                         throws KatServiceException
Throws:
KatServiceException

execute

public KatServiceBase execute()
                       throws KatServiceException
Throws:
KatServiceException

getExecuted

public boolean getExecuted()

checkExecuted

protected void checkExecuted()

checkThrowErrors

protected void checkThrowErrors()
                         throws KatServiceException
Throws:
KatServiceException