|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.ajax.JcmsJSONUtil
public class JcmsJSONUtil
This class provides AJAX access for utility methods.
Field Summary | |
---|---|
static String |
REVISION
|
Constructor Summary | |
---|---|
JcmsJSONUtil()
|
Method Summary | |
---|---|
static String |
checkDataSourceConnection(String jcmsdb,
String dataSource)
Check a DataSource connection. |
static String |
checkJDBCConnection(String jcmsdb,
String url,
String user,
String password)
Check a JDBC connection. |
static boolean |
checkLDAPConnection(String hostname,
String port,
String isSSL,
String bindDN,
String bindPassword)
Check a LDAP connection. |
static void |
trackRss(String channelSource,
String itemId)
process rss tracking event |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
Constructor Detail |
---|
public JcmsJSONUtil()
Method Detail |
---|
public static String checkJDBCConnection(String jcmsdb, String url, String user, String password)
jcmsdb
- the database model (eg mysql, oracle, ...)url
- a database url of the form jdbc:subprotocol:subnameuser
- the database user on whose behalf the connection is being madepassword
- the user's password
public static String checkDataSourceConnection(String jcmsdb, String dataSource)
jcmsdb
- the database model (eg mysql, oracle, ...)dataSource
- the Data Source
public static void trackRss(String channelSource, String itemId)
channelSource
- the url of the channelitemId
- the item IDpublic static boolean checkLDAPConnection(String hostname, String port, String isSSL, String bindDN, String bindPassword)
hostname
- the hostname of the ldap server to connect to.port
- the port of the ldap server to connect to.isSSL
- whether the connection should be made using SSL.bindDN
- the Distinguished Name to use to bind to the ldap server to
connect to.bindPassword
- the password to use to bind to the ldap server to connect to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |