gran.app.adapter.kernel.longtext
Class BaseLongtextAdapter

java.lang.Object
  extended bygran.app.adapter.kernel.longtext.BaseLongtextAdapter
All Implemented Interfaces:
Adapter, KernelAdapter, LongtextAdapter

public class BaseLongtextAdapter
extends java.lang.Object
implements LongtextAdapter


Constructor Summary
BaseLongtextAdapter()
           
 
Method Summary
 java.lang.String createLongtextImpl(java.lang.String longText, java.lang.String ret)
           
 java.lang.String getDescription()
          Get description of adapter as plain text
 java.lang.String getLongtextImpl(java.lang.String id, java.lang.String ret)
           
 boolean init()
          Initialize adapter.
 void removeLongtextImpl(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseLongtextAdapter

public BaseLongtextAdapter()
Method Detail

init

public boolean init()
Description copied from interface: Adapter
Initialize adapter. TrackStudio calls this method during startup.

Specified by:
init in interface Adapter
Returns:
true when adapter initialized, false otherwise.

getDescription

public java.lang.String getDescription()
Description copied from interface: Adapter
Get description of adapter as plain text

Specified by:
getDescription in interface Adapter

createLongtextImpl

public java.lang.String createLongtextImpl(java.lang.String longText,
                                           java.lang.String ret)
                                    throws GranException
Specified by:
createLongtextImpl in interface LongtextAdapter
Throws:
GranException

removeLongtextImpl

public void removeLongtextImpl(java.lang.String id)
                        throws GranException
Specified by:
removeLongtextImpl in interface LongtextAdapter
Throws:
GranException

getLongtextImpl

public java.lang.String getLongtextImpl(java.lang.String id,
                                        java.lang.String ret)
                                 throws GranException
Specified by:
getLongtextImpl in interface LongtextAdapter
Throws:
GranException


Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.