Uses of Interface
com.im.df.api.ddl.DFSchema
-
Packages that use DFSchema Package Description com.im.df.api API Status: 1 - Stable com.im.df.api.* and subpackages provide the core Discovery Informatics Framework (DIF) interfaces.com.im.df.api.ddl API Status: 1 - Stablecom.im.df.api.dml API Status: 2 - Pretty stable Provides the interfaces that provide data access (create, read, update, delete) for the items in the data model of Discovery Informatics Framework.com.im.df.api.support API Status: 1 - Stable Provides various support classes used by the Discovery Informatics Framework API (com.im.df.api.*).com.im.df.api.util API Status: 2 - Pretty stable Provides various utilities and convenience methods to be used on top of DIF objects. -
-
Uses of DFSchema in com.im.df.api
Methods in com.im.df.api that return DFSchema Modifier and Type Method Description static DFSchemaDFSchemaProviders. connectAutomatically(DFSchemaProvider schemaProvider, com.im.commons.progress.DFFeedback aFeedback)Automatically goes through schema connect process and returns fully-initialized schema.static DFSchemaDFSchemaProviders. connectWithUpgrades(DFSchemaProvider provider, com.im.commons.progress.DFFeedback feedback)Connects to the schema performing all schema upgrade if necessary.DFSchemaDFSchemaProvider.State. getSchema()Gets the IJC schema, if available. -
Uses of DFSchema in com.im.df.api.ddl
Methods in com.im.df.api.ddl that return DFSchema Modifier and Type Method Description static DFSchemaDFSchemas. find(DFItem item)Utility method finding parent schema for anyDFItemtype.DFSchemaDFDataTree. getSchema()Get owner of this datatree.DFSchemaDFEntity. getSchema()Gets the IJC schema that this entity belongs to.DFSchemaDFScriptParent. getSchema()Methods in com.im.df.api.ddl with parameters of type DFSchema Modifier and Type Method Description static DFEntityDFEntities. createJChemEntity(DFSchema schema, java.lang.String entityName, int jchemTableType, com.im.commons.progress.DFEnvironmentRW env)A convenience method to create a new jchem base entity named `entityName' in a parent Schema.static DFEntityDFEntities. createJChemEntity(DFSchema schema, java.lang.String entityName, com.im.commons.progress.DFEnvironmentRW env)A convenience method to create a new jchem base entity named `entityName' in a parent Schema.static DFEntityDFEntities. createStandardEntity(DFSchema schema, java.lang.String entityName, com.im.commons.progress.DFEnvironmentRW env)A convenience method to create a new standard database entity named `entityName' in a parent Schema.static booleanDFSchemas. isSampleProject(DFSchema schema)Tests if given schema is the Sample project schema. -
Uses of DFSchema in com.im.df.api.dml
Methods in com.im.df.api.dml that return DFSchema Modifier and Type Method Description DFSchemaDFSchemaDataProvider. getSchema() -
Uses of DFSchema in com.im.df.api.support
Methods in com.im.df.api.support with parameters of type DFSchema Modifier and Type Method Description static DerivedNamesDerivedNames. getInstance(DFSchema schema)default voidDFSchemaInitHandler. onConnect(DFSchema schema, java.lang.String userName)Called on schema connect.default voidDFSchemaInitHandler. onDisconnect(DFSchema schema, java.lang.String userName)Called on schema disconnect. -
Uses of DFSchema in com.im.df.api.util
Methods in com.im.df.api.util that return DFSchema Modifier and Type Method Description static DFSchemaDIFUtilities. connectAutomatically(DFSchemaProvider schemaProvider, com.im.commons.progress.DFFeedback aFeedback)static DFSchemaDIFUtilities. findSchema(DFItem item)Deprecated.useDFSchemas.find(DFItem)instead.Methods in com.im.df.api.util with parameters of type DFSchema Modifier and Type Method Description static booleanDIFUtilities. checkAmIOwner(DFSchema schema, java.lang.String owner)static DFEntityDIFUtilities. createSchemaEntity(DFSchema parent, java.lang.String entityName, java.lang.String entityType, com.im.commons.progress.DFEnvironmentRW env)A convenience method to create a entity named `entityName' of type `entityType' in a parent Schema.static com.im.commons.db.ddl.DBForeignKeyInfoDIFUtilities. findForeignKey(DFSchema ijcSchema, com.im.commons.db.util.SchemaQualifiedName fkName)Finds the named Foreign Key.static com.im.commons.db.ddl.DBForeignKeyInfoDIFUtilities. findForeignKey(DFSchema ijcSchema, com.im.commons.db.util.SchemaQualifiedName table, java.lang.String[] columnNames, DIFUtilities.FKSearchType pkfk)Finds a foreign key, which references the named columns as its PK or FK columns, depending on parametersstatic java.lang.StringDIFUtilities. getDefaultSchemaName(DFSchema schema)static java.util.Collection<com.im.commons.db.ddl.DBForeignKeyInfo>DIFUtilities. getForeignKeys(DFSchema ijcSchema)Collects are FKs defined in the database schema, regardless of whether the FK is mapped to a Relationship or not.static java.lang.StringDIFUtilities. getIJCUsername(DFSchema schema)Get the username of the IJC user or null if the user has not yet logged in.static com.im.commons.progress.DFLockableDIFUtilities. getLockable(DFSchema item)abstract voidDIFUtilities.SchemaReadyRunnable. schemaReady(DFSchemaProvider schemaProvider, DFSchema schema)This method is invoked when schema is ready.
-