com.fullspan.kat.service
Class KatImportEntryService

java.lang.Object
  extended bycom.fullspan.kat.service.KatServiceBase
      extended bycom.fullspan.kat.service.KatImportEntryService

public class KatImportEntryService
extends KatServiceBase

Author:
Mitch Stuart

Nested Class Summary
static class KatImportEntryService.ImportStreamDescriptor
           
 
Field Summary
static int MAX_IMPORT_STREAMS
           
 
Fields inherited from class com.fullspan.kat.service.KatServiceBase
m_executed, m_isAdminSession, m_katRequest
 
Constructor Summary
KatImportEntryService(IKatRequest katRequest, KatEntryImportFormData importForm, java.util.List importStreamList)
           
 
Method Summary
protected  KatCategory getOrCreateCat(java.lang.String name)
           
protected  KatItem getOrCreateItem(java.lang.String name, java.lang.String url)
           
 KatCategory getParentCat()
           
protected  KatCategory getTopCat()
           
protected  void handleBookmark()
           
protected  void handleDescription()
           
protected  void handleEntry()
           
protected  void handleFolder()
           
protected  void handleFolderEnd()
           
protected  void importStream(KatImportEntryService.ImportStreamDescriptor impDesc)
           
protected  void importStreams()
           
protected  KatCategory popCat()
           
protected  void postServiceCheckAccess()
           
protected  void preServiceCheckAccess()
           
protected  void pushCat(KatCategory cat)
           
protected  void service()
           
 
Methods inherited from class com.fullspan.kat.service.KatServiceBase
checkAccessToService, checkExecuted, checkThrowErrors, execute, getExecuted, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_IMPORT_STREAMS

public static final int MAX_IMPORT_STREAMS
See Also:
Constant Field Values
Constructor Detail

KatImportEntryService

public KatImportEntryService(IKatRequest katRequest,
                             KatEntryImportFormData importForm,
                             java.util.List importStreamList)
                      throws KatServiceException
Method Detail

preServiceCheckAccess

protected void preServiceCheckAccess()
Specified by:
preServiceCheckAccess in class KatServiceBase

service

protected void service()
                throws KatServiceException
Specified by:
service in class KatServiceBase
Throws:
KatServiceException
See Also:
KatServiceBase.service()

postServiceCheckAccess

protected void postServiceCheckAccess()
Specified by:
postServiceCheckAccess in class KatServiceBase

getParentCat

public KatCategory getParentCat()

importStreams

protected void importStreams()
                      throws KatServiceException
Throws:
KatServiceException

importStream

protected void importStream(KatImportEntryService.ImportStreamDescriptor impDesc)
                     throws KatServiceException
Throws:
KatServiceException

handleEntry

protected void handleEntry()
                    throws KatServiceException
Throws:
KatServiceException

handleFolder

protected void handleFolder()
                     throws KatServiceException
Throws:
KatServiceException

handleFolderEnd

protected void handleFolderEnd()

handleBookmark

protected void handleBookmark()
                       throws KatServiceException
Throws:
KatServiceException

handleDescription

protected void handleDescription()

pushCat

protected void pushCat(KatCategory cat)

getTopCat

protected KatCategory getTopCat()

popCat

protected KatCategory popCat()

getOrCreateCat

protected KatCategory getOrCreateCat(java.lang.String name)
                              throws KatServiceException
Throws:
KatServiceException

getOrCreateItem

protected KatItem getOrCreateItem(java.lang.String name,
                                  java.lang.String url)
                           throws KatServiceException
Throws:
KatServiceException