Class DataModel
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.dataModel.DataModel
-
public class DataModel extends Object
-
-
Constructor Summary
Constructors Constructor Description DataModel(@NotNull PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceDataItem
findResourceItem(@NotNull String resourceOid, @Nullable ShadowKindType kind, @Nullable String intent, QName objectClassName, @NotNull ItemPath path)
@NotNull Set<DataItem>
getDataItems()
ResourceSchema
getRefinedResourceSchema(String resourceOid)
@NotNull List<Relation>
getRelations()
@NotNull PrismObject<ResourceType>
getResource(@NotNull String resourceOid)
@NotNull Map<String,PrismObject<ResourceType>>
getResources()
void
registerDataItem(ResourceDataItem item)
void
registerMappingRelation(@NotNull List<DataItem> sources, @Nullable DataItem target, @NotNull MappingType mapping)
void
registerResource(PrismObject<ResourceType> resource)
RepositoryDataItem
resolveRepositoryItem(Class<? extends ObjectType> aClass, ItemPath path)
-
-
-
Constructor Detail
-
DataModel
public DataModel(@NotNull @NotNull PrismContext prismContext)
-
-
Method Detail
-
registerResource
public void registerResource(PrismObject<ResourceType> resource)
-
registerDataItem
public void registerDataItem(ResourceDataItem item)
-
getRefinedResourceSchema
public ResourceSchema getRefinedResourceSchema(String resourceOid)
-
findResourceItem
public ResourceDataItem findResourceItem(@NotNull @NotNull String resourceOid, @Nullable @Nullable ShadowKindType kind, @Nullable @Nullable String intent, QName objectClassName, @NotNull @NotNull ItemPath path)
-
resolveRepositoryItem
public RepositoryDataItem resolveRepositoryItem(Class<? extends ObjectType> aClass, ItemPath path)
-
registerMappingRelation
public void registerMappingRelation(@NotNull @NotNull List<DataItem> sources, @Nullable @Nullable DataItem target, @NotNull @NotNull MappingType mapping)
-
getResources
@NotNull public @NotNull Map<String,PrismObject<ResourceType>> getResources()
-
getResource
@NotNull public @NotNull PrismObject<ResourceType> getResource(@NotNull @NotNull String resourceOid)
-
-