Class DocumentFolderSqlCreator.FolderCreate
java.lang.Object
ch.tocco.nice2.dms.impl.dbrefactoring.DocumentFolderSqlCreator.FolderCreate
- All Implemented Interfaces:
DocumentFolderSqlCreator.SqlFunction<Void>
- Direct Known Subclasses:
BasicEntityFolderCreate
,BusinessunitEntityFolderUpdate
- Enclosing class:
DocumentFolderSqlCreator
public abstract static class DocumentFolderSqlCreator.FolderCreate
extends Object
implements DocumentFolderSqlCreator.SqlFunction<Void>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
createFkName
(String entityModel) protected boolean
folderExists
(Connection conn, String name) Looks up a folder row by its name.protected long
getCurrVal
(Connection conn) makeCreator
(EntityId entity, EntityId parent, EntityId domain) protected String
makeTableName
(String entityModel) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.dms.impl.dbrefactoring.DocumentFolderSqlCreator.SqlFunction
run
-
Constructor Details
-
FolderCreate
public FolderCreate()
-
-
Method Details
-
makeCreator
public static DocumentFolderSqlCreator.FolderCreate makeCreator(EntityId entity, EntityId parent, EntityId domain) -
createFkName
-
getCurrVal
- Throws:
SQLException
-
folderExists
Looks up a folder row by its name.- Throws:
SQLException
-
makeTableName
-