gran.app.adapter.kernel.license
Class BaseLicenseAdapter

java.lang.Object
  extended bygran.app.adapter.kernel.license.BaseLicenseAdapter
All Implemented Interfaces:
Adapter, KernelAdapter, LicenseAdapter

public class BaseLicenseAdapter
extends java.lang.Object
implements LicenseAdapter


Constructor Summary
BaseLicenseAdapter()
           
 
Method Summary
 boolean canCreateUserImpl(java.lang.String userid)
           
 boolean canUploadFileImpl(gran.model.User user)
           
 void expireTestImpl()
           
 java.lang.String getDescription()
          Get description of adapter as plain text
 java.lang.String getVersionDescriptionImpl()
           
 boolean init()
          Initialize adapter.
 boolean isHostedImpl()
           
 void setMaximumChildsAllowedImpl(java.lang.String userid, java.lang.Integer count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseLicenseAdapter

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

expireTestImpl

public void expireTestImpl()
                    throws gran.exception.GranException
Specified by:
expireTestImpl in interface LicenseAdapter
Throws:
gran.exception.GranException

canCreateUserImpl

public boolean canCreateUserImpl(java.lang.String userid)
                          throws gran.exception.GranException
Specified by:
canCreateUserImpl in interface LicenseAdapter
Throws:
gran.exception.GranException

canUploadFileImpl

public boolean canUploadFileImpl(gran.model.User user)
                          throws gran.exception.GranException
Specified by:
canUploadFileImpl in interface LicenseAdapter
Throws:
gran.exception.GranException

setMaximumChildsAllowedImpl

public void setMaximumChildsAllowedImpl(java.lang.String userid,
                                        java.lang.Integer count)
                                 throws gran.exception.GranException
Specified by:
setMaximumChildsAllowedImpl in interface LicenseAdapter
Throws:
gran.exception.GranException

isHostedImpl

public boolean isHostedImpl()
                     throws gran.exception.GranException
Specified by:
isHostedImpl in interface LicenseAdapter
Throws:
gran.exception.GranException

getVersionDescriptionImpl

public java.lang.String getVersionDescriptionImpl()
                                           throws gran.exception.GranException
Specified by:
getVersionDescriptionImpl in interface LicenseAdapter
Throws:
gran.exception.GranException


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