public class JavaDBDomainRoutines
extends java.lang.Object
| Constructor and Description |
|---|
JavaDBDomainRoutines() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAuthenticationNode(java.lang.String nodeID) |
static void |
addRemoteDomainNode(java.lang.String nodeID) |
static void |
addSecureGroupNode(java.lang.String nodeID) |
static void |
addToSecureGroup(java.lang.String nodeID,
java.lang.String groupNodeID) |
static void |
getAuthenticationNode(java.lang.String nodeID,
java.sql.ResultSet[] result) |
static void |
getAuthenticationNodeIDs(java.sql.ResultSet[] result) |
static void |
getAuthenticationNodeNS(java.lang.String nodeID,
java.sql.ResultSet[] result) |
static java.lang.String |
getDomainID() |
static void |
getGroups(java.lang.String nodeID,
java.sql.ResultSet[] result) |
static int |
getNodeType(java.lang.String nodeID) |
static java.lang.String |
getPrivateStorage(java.lang.String nodeID,
int credType) |
static void |
getRemoteDomainNode(java.lang.String nodeID,
java.sql.ResultSet[] result) |
static void |
getRemoteDomainNodeIDs(java.sql.ResultSet[] result) |
static void |
getRemoteDomainNodeNS(java.lang.String nodeID,
java.sql.ResultSet[] result) |
static void |
getSecureGroupNode(java.lang.String nodeID,
java.sql.ResultSet[] result) |
static void |
getSecureGroupNodeIDs(java.sql.ResultSet[] result) |
static void |
getSecureGroupNodeNS(java.lang.String nodeID,
java.sql.ResultSet[] result) |
static void |
grantPermission(java.lang.String nodeID,
int permType,
java.lang.String permissionValue,
int isTerminal,
int pgid) |
static int |
nodeEnabled(java.lang.String nodeID) |
static int |
nodeExists(java.lang.String nodeID) |
static java.sql.ResultSet |
queryResult(java.sql.Connection connection,
java.lang.String sql,
java.lang.Object... args) |
static void |
removeAuthenticationNode(java.lang.String nodeID) |
static void |
removeCredentials(java.lang.String nodeID,
int credType) |
static void |
removeFromSecureGroup(java.lang.String nodeID,
java.lang.String groupNodeID) |
static void |
removeRemoteDomainLocalNode(java.lang.String nodeID,
java.lang.String initiator) |
static void |
removeRemoteDomainNode(java.lang.String nodeID) |
static void |
removeSecureGroupNode(java.lang.String nodeID) |
static void |
revokePermission(java.lang.String nodeID,
java.lang.String permissionValue,
int pgid) |
static void |
setCredentials(java.lang.String nodeID,
int credType,
java.lang.String privateStorage) |
static void |
setEnabled(java.lang.String nodeID,
int enabled) |
static void |
setGroupConfig(java.lang.String nodeID,
java.lang.String securityMode,
int heartbeat,
int minKek,
int maxKek) |
static void |
setRemoteDomainLocalNode(java.lang.String nodeID,
java.lang.String initiator,
java.lang.String localNodeID) |
public static java.lang.String getDomainID()
throws java.sql.SQLException
java.sql.SQLExceptionpublic static int nodeExists(java.lang.String nodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static int nodeEnabled(java.lang.String nodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static int getNodeType(java.lang.String nodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void addAuthenticationNode(java.lang.String nodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void addSecureGroupNode(java.lang.String nodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void addRemoteDomainNode(java.lang.String nodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void removeAuthenticationNode(java.lang.String nodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void removeSecureGroupNode(java.lang.String nodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void removeRemoteDomainNode(java.lang.String nodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void setCredentials(java.lang.String nodeID,
int credType,
java.lang.String privateStorage)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void removeCredentials(java.lang.String nodeID,
int credType)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void grantPermission(java.lang.String nodeID,
int permType,
java.lang.String permissionValue,
int isTerminal,
int pgid)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void revokePermission(java.lang.String nodeID,
java.lang.String permissionValue,
int pgid)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void setGroupConfig(java.lang.String nodeID,
java.lang.String securityMode,
int heartbeat,
int minKek,
int maxKek)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void addToSecureGroup(java.lang.String nodeID,
java.lang.String groupNodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void removeFromSecureGroup(java.lang.String nodeID,
java.lang.String groupNodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void setRemoteDomainLocalNode(java.lang.String nodeID,
java.lang.String initiator,
java.lang.String localNodeID)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void removeRemoteDomainLocalNode(java.lang.String nodeID,
java.lang.String initiator)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void setEnabled(java.lang.String nodeID,
int enabled)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void getAuthenticationNodeNS(java.lang.String nodeID,
java.sql.ResultSet[] result)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void getSecureGroupNodeNS(java.lang.String nodeID,
java.sql.ResultSet[] result)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void getRemoteDomainNodeNS(java.lang.String nodeID,
java.sql.ResultSet[] result)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void getAuthenticationNode(java.lang.String nodeID,
java.sql.ResultSet[] result)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void getGroups(java.lang.String nodeID,
java.sql.ResultSet[] result)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void getSecureGroupNode(java.lang.String nodeID,
java.sql.ResultSet[] result)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void getRemoteDomainNode(java.lang.String nodeID,
java.sql.ResultSet[] result)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void getAuthenticationNodeIDs(java.sql.ResultSet[] result)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void getSecureGroupNodeIDs(java.sql.ResultSet[] result)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void getRemoteDomainNodeIDs(java.sql.ResultSet[] result)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static java.lang.String getPrivateStorage(java.lang.String nodeID,
int credType)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static java.sql.ResultSet queryResult(java.sql.Connection connection,
java.lang.String sql,
java.lang.Object... args)
throws java.sql.SQLException
java.sql.SQLException