gran.app.adapter.external.tsinfo
Class BaseSecuredTSInfoAdapter

java.lang.Object
  extended bygran.app.adapter.external.tsinfo.BaseSecuredTSInfoAdapter
All Implemented Interfaces:
Adapter, SecuredAdapter, SecuredTSInfoAdapter

public class BaseSecuredTSInfoAdapter
extends java.lang.Object
implements SecuredTSInfoAdapter


Constructor Summary
BaseSecuredTSInfoAdapter()
           
 
Method Summary
 java.lang.String getDescription()
          Get description of adapter as plain text
 long getSupportExpireDateImpl(SessionContext sc, long chainResult)
           
 java.lang.String getTSVersionDescriptionImpl(SessionContext sc, java.lang.String chainResult)
           
 java.lang.String getTSVersionImpl(SessionContext sc, java.lang.String chainResult)
           
 boolean init()
          Initialize adapter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSecuredTSInfoAdapter

public BaseSecuredTSInfoAdapter()
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

getTSVersionImpl

public java.lang.String getTSVersionImpl(SessionContext sc,
                                         java.lang.String chainResult)
Specified by:
getTSVersionImpl in interface SecuredTSInfoAdapter

getTSVersionDescriptionImpl

public java.lang.String getTSVersionDescriptionImpl(SessionContext sc,
                                                    java.lang.String chainResult)
Specified by:
getTSVersionDescriptionImpl in interface SecuredTSInfoAdapter

getSupportExpireDateImpl

public long getSupportExpireDateImpl(SessionContext sc,
                                     long chainResult)
                              throws GranException
Specified by:
getSupportExpireDateImpl in interface SecuredTSInfoAdapter
Throws:
GranException


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