|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.apelon.apelonserver.client.BasicQuery com.apelon.dts.client.DTSLicenseQuery
DTSCommonQuery
instead
public abstract class DTSLicenseQuery
This is the DTSLicenseQuery class for retreiving license information from the DTS Server. It obtains the license(s) for a given source/namespace.
Copyright (c) 2003
Company: Apelon, Inc.
Field Summary |
---|
Fields inherited from class com.apelon.apelonserver.client.BasicQuery |
---|
ADMIN, queryHeader |
Constructor Summary | |
---|---|
DTSLicenseQuery()
Deprecated. |
Method Summary | |
---|---|
static DTSLicenseQuery |
createInstance(ServerConnection sc)
Deprecated. Creates an instance of DTSLicenseQuery. |
String[] |
getAllLicenses(String condition)
Deprecated. Use DTSCommonQuery.getAllLicenses(String) instead |
String |
getLicense(String source)
Deprecated. Use DTSCommonQuery.getLicense(String) instead |
Methods inherited from class com.apelon.apelonserver.client.BasicQuery |
---|
executeQuery, executeQueryNoParse, getServerConnection, initializeDtds, initializeDtds, ping, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DTSLicenseQuery()
Method Detail |
---|
public static DTSLicenseQuery createInstance(ServerConnection sc) throws DTSException
sc
- the type of server connection
DTSException
- errorServerConnectionJDBC
,
ServerConnectionSocket
public String getLicense(String source) throws ApelonException, DTSException
DTSCommonQuery.getLicense(String)
instead
getLicense
in interface com.apelon.common.license.client.LicenseQuery
source
- the source for which the license is to be retreived
DTSException
- error
ApelonException
- errorpublic String[] getAllLicenses(String condition) throws ApelonException, DTSException
DTSCommonQuery.getAllLicenses(String)
instead
getAllLicenses
in interface com.apelon.common.license.client.LicenseQuery
condition
- condition - if none exists, pass empty
DTSException
- error
ApelonException
- error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |