Uses of Interface
com.im.df.api.ddl.DFItem
-
Packages that use DFItem Package Description com.im.df.api.capabilities API Status: 1 - Stable Provides the interfaces that allow extension of the the core data model of Discovery Informatics Framework (DIF).com.im.df.api.ddl API Status: 1 - Stablecom.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 DFItem in com.im.df.api.capabilities
Methods in com.im.df.api.capabilities with parameters of type DFItem Modifier and Type Method Description booleanDFDataEditCapability.Type. isValidForItem(DFItem item) -
Uses of DFItem in com.im.df.api.ddl
Classes in com.im.df.api.ddl with type parameters of type DFItem Modifier and Type Interface Description interfaceDFContainer<E extends DFItem>Generic container for anyDFItems list.static interfaceDFItem.Handle<T extends DFItem>Represents a handle-like identifier of the item.Subinterfaces of DFItem in com.im.df.api.ddl Modifier and Type Interface Description interfaceDFDataTreeInterface representing data tree.interfaceDFEntityThe definition of an entity that contains fields.interfaceDFExportTemplateObject representation of persistent export template.interfaceDFFieldThe definition of a field which has a type, a name etc.interfaceDFListList of values stored in the model.interfaceDFQueryPersistent query definition in the system.interfaceDFRelationshipRepresents a foreign key relationship.interfaceDFSchemainterfaceDFScriptRepresentation of the script.interfaceDFScriptParentParent item of the script.interfaceDFUserItemThe root item and super-interface of all user-specific DDL items in DIF.interfaceDFViewInterface representing view (visual window/component) presenting data ofDFDataTree.interfaceDFVisibilityRestrictionProvides user roles that have have access to thisDFItem.Methods in com.im.df.api.ddl with type parameters of type DFItem Modifier and Type Method Description static <T extends DFItem>
java.util.List<T>DFItems. alphabeticallySortedCopy(java.lang.Iterable<T> items)Returns alphabetically sorted copy of the given items by their names, ignoring case differences.static <T extends DFItem>
TDFItems. findItemById(java.lang.Iterable<T> items, java.lang.String id)Finds aDFItemby its ID.<E extends DFItem>
EDFSchema. findItemById(java.lang.String id, java.lang.Class<E> type)Find an item of the specified type by its id.static <T extends DFItem>
java.lang.Iterable<T>DFItems. findItemsByIds(java.lang.Iterable<T> items, java.lang.Iterable<? extends java.lang.String> ids)FindsDFItems with specific IDs.static <T extends DFItem>
java.lang.Iterable<T>DFItems. findItemsByIds(java.lang.Iterable<T> items, java.lang.String... ids)FindsDFItems with specific IDs.static <T extends DFItem,C extends DFCapability>
java.util.List<T>DFItems. findItemsWithCapability(java.util.List<T> items, java.lang.Class<C> capabilityClass)Filter the specified items so that only those with the specified capability are returned.static <T extends DFItem>
com.google.common.base.Predicate<T>DFItems.Predicates. isValid()static <T extends DFItem>
voidDFItems. onInvalidate(T item, com.im.commons.Callback<? super T> callback)Registers the callback to be performed on item invalidation.Methods in com.im.df.api.ddl that return types with arguments of type DFItem Modifier and Type Method Description DFItem.Handle<? extends DFItem>DFItem. getHandle()Returns a handle to the Item.static com.google.common.base.Function<DFItem,java.lang.String>DFItems.Functions. toIDs()static com.google.common.base.Function<DFItem,? extends java.lang.String>DFItems.Functions. toNames()Methods in com.im.df.api.ddl with parameters of type DFItem Modifier and Type Method Description static DFSchemaDFSchemas. find(DFItem item)Utility method finding parent schema for anyDFItemtype.Method parameters in com.im.df.api.ddl with type arguments of type DFItem Modifier and Type Method Description static voidDFItems. prettyPrint(DFContainer<? extends DFItem> items)CallsDFItems.prettyPrint(DFContainer, boolean)with second parameter asfalse.static voidDFItems. prettyPrint(DFContainer<? extends DFItem> items, boolean details)Utility method supposed to be used during IJC development only. -
Uses of DFItem in com.im.df.api.support
Classes in com.im.df.api.support with type parameters of type DFItem Modifier and Type Interface Description interfaceDFNewType<E extends DFItem>NewType is the object with the ability to create new items.Methods in com.im.df.api.support that return DFItem Modifier and Type Method Description DFItemIllegalItemStateException. getItem()Constructors in com.im.df.api.support with parameters of type DFItem Constructor Description IllegalItemStateException(DFItem item, java.lang.String s)IllegalItemStateException(DFItem item, java.lang.String message, java.lang.Throwable cause) -
Uses of DFItem in com.im.df.api.util
Classes in com.im.df.api.util with type parameters of type DFItem Modifier and Type Interface Description interfaceExtraDFItemProperty<T extends DFItem,S>Allows to edit Extra attributes for items in schema editor.Methods in com.im.df.api.util with type parameters of type DFItem Modifier and Type Method Description static <T extends DFItem>
java.util.List<DFNewType<T>>DIFUtilities. findAllAppropriateNewTypes(java.util.List<DFNewType<T>> allNewTypes, boolean existingItem, java.lang.Class[] requiredCapabilities, java.lang.Class[] excludeCapabilities)Find all the appropriate DFNewType object in the list.static <T extends DFItem>
DFNewType<T>DIFUtilities. findAppropriateNewType(java.util.List<DFNewType<T>> allNewTypes, boolean existingItem, java.lang.String type)Find the first the appropriate DFNewType object in the list.static <T extends DFItem>
DFNewType<T>DIFUtilities. findFirstAppropriateNewType(java.util.List<DFNewType<T>> allNewTypes, boolean existingItem, java.lang.Class[] requiredCapabilities, java.lang.Class[] excludeCapabilities)Find the first the appropriate DFNewType object in the list.static <T extends DFItem>
DFNewType<T>DIFUtilities. findNewTypeWithOptions(java.util.List<DFNewType<T>> allNewTypes, boolean existingItem, java.lang.Class optionsClass)Find the appropriate DFNewType object in the list.static <T extends DFItem,V>
VExtraDFItemProperties. getExtraPropertyValue(T item, java.lang.Class<? extends ExtraDFItemProperty<T,V>> extraProp)Gets the value of an extra property.Methods in com.im.df.api.util with parameters of type DFItem Modifier and Type Method Description static booleanDIFUtilities. canDestroy(DFItem item)static <T extends DFCapability>
TDIFUtilities. findCapability(DFItem item, java.lang.Class<T> capabilityClass)Find the capability which is instance of the given class.static DFSchemaDIFUtilities. findSchema(DFItem item)Deprecated.useDFSchemas.find(DFItem)instead.static java.lang.StringDIFUtilities. getExtraProperty(DFItem item, java.lang.Class<? extends ExtraDFItemProperty<?,?>> extraProp)Deprecated.Since 5.10.static java.lang.StringExtraDFItemProperties. getExtraProperty(DFItem item, java.lang.Class<? extends ExtraDFItemProperty<?,?>> extraProp)Gets the value of an extra property.booleanExtraDFItemProperty. isCompatible(DFItem item)Check if this property can be applied to the input item.static booleanDIFUtilities. isItemActionEnabled(DFItem item, java.lang.String actionName)Tests if specific action is enabled for givenDFItemusingEnabledItemActionCapability.
-