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 boolean
DFDataEditCapability.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 interface
DFContainer<E extends DFItem>
Generic container for anyDFItem
s list.static interface
DFItem.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 interface
DFDataTree
Interface representing data tree.interface
DFEntity
The definition of an entity that contains fields.interface
DFExportTemplate
Object representation of persistent export template.interface
DFField
The definition of a field which has a type, a name etc.interface
DFList
List of values stored in the model.interface
DFQuery
Persistent query definition in the system.interface
DFRelationship
Represents a foreign key relationship.interface
DFSchema
interface
DFScript
Representation of the script.interface
DFScriptParent
Parent item of the script.interface
DFUserItem
The root item and super-interface of all user-specific DDL items in DIF.interface
DFView
Interface representing view (visual window/component) presenting data ofDFDataTree
.interface
DFVisibilityRestriction
Provides 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 aDFItem
by 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)
FindsDFItem
s with specific IDs.static <T extends DFItem>
java.lang.Iterable<T>DFItems. findItemsByIds(java.lang.Iterable<T> items, java.lang.String... ids)
FindsDFItem
s 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 DFSchema
DFSchemas. find(DFItem item)
Utility method finding parent schema for anyDFItem
type.Method parameters in com.im.df.api.ddl with type arguments of type DFItem Modifier and Type Method Description static void
DFItems. prettyPrint(DFContainer<? extends DFItem> items)
CallsDFItems.prettyPrint(DFContainer, boolean)
with second parameter asfalse
.static void
DFItems. 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 interface
DFNewType<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 DFItem
IllegalItemStateException. 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 interface
ExtraDFItemProperty<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 boolean
DIFUtilities. 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 DFSchema
DIFUtilities. findSchema(DFItem item)
Deprecated.useDFSchemas.find(DFItem)
instead.static java.lang.String
DIFUtilities. getExtraProperty(DFItem item, java.lang.Class<? extends ExtraDFItemProperty<?,?>> extraProp)
Deprecated.Since 5.10.static java.lang.String
ExtraDFItemProperties. getExtraProperty(DFItem item, java.lang.Class<? extends ExtraDFItemProperty<?,?>> extraProp)
Gets the value of an extra property.boolean
ExtraDFItemProperty. isCompatible(DFItem item)
Check if this property can be applied to the input item.static boolean
DIFUtilities. isItemActionEnabled(DFItem item, java.lang.String actionName)
Tests if specific action is enabled for givenDFItem
usingEnabledItemActionCapability
.
-