public class SubRepoParentJdbc
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ChildFkIdx |
static java.lang.String |
ColChildFkName |
static java.lang.String |
ColDepthName |
static java.lang.String |
ColParentFkName |
static int |
DepthIdx |
static int |
ParentFkIdx |
static java.lang.String |
TableName |
| Constructor and Description |
|---|
SubRepoParentJdbc() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteRow(java.sql.Connection connection,
long parentPid,
long childPid,
int depth,
boolean close) |
static SubRepoParentRow |
find(java.sql.Connection connection,
java.lang.String parent,
java.lang.String child,
boolean close) |
static java.util.List<SubRepoParentRow> |
getChildren(java.sql.Connection connection,
int parentPid,
boolean close) |
static void |
insertRow(java.sql.Connection connection,
org.opendof.tools.repository.interfaces.da.SubRepoRelationship relationship,
boolean close) |
public static final java.lang.String TableName
public static final java.lang.String ColParentFkName
public static final java.lang.String ColChildFkName
public static final java.lang.String ColDepthName
public static final int ParentFkIdx
public static final int ChildFkIdx
public static final int DepthIdx
public static java.util.List<SubRepoParentRow> getChildren(java.sql.Connection connection, int parentPid, boolean close) throws java.sql.SQLException
java.sql.SQLExceptionpublic static SubRepoParentRow find(java.sql.Connection connection, java.lang.String parent, java.lang.String child, boolean close) throws org.opendof.tools.repository.interfaces.da.NotFoundException, java.sql.SQLException
org.opendof.tools.repository.interfaces.da.NotFoundExceptionjava.sql.SQLExceptionpublic static void insertRow(java.sql.Connection connection,
org.opendof.tools.repository.interfaces.da.SubRepoRelationship relationship,
boolean close)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void deleteRow(java.sql.Connection connection,
long parentPid,
long childPid,
int depth,
boolean close)
throws java.sql.SQLException
java.sql.SQLException