ModelUtils Class |
Namespace: PDTec.IceNet.Sdk.Utils
public static class ModelUtils
The ModelUtils type exposes the following members.
Name | Description | |
---|---|---|
MaxDescriptionLength |
Gets the maximum length of description texts.
| |
MaxStringAttributeLength |
Gets the maximum length of normal (non-bulk) string attribute values.
|
Name | Description | |
---|---|---|
Copy(IRepository, IFolder, IFolder, ModelUtils.CopyOptions, String) |
Copies a folder to a target folder.
| |
Copy(IRepository, IFolder, IFolder, ModelUtils.CopyOptions, String, List<AuthorizationEntry>, List<AuthorizationEntry>) |
Copies a folder to a target folder.
| |
Copy(IRepository, List<IFolder>, IFolder, ModelUtils.CopyOptions, String, List<AuthorizationEntry>, List<AuthorizationEntry>) |
Copies folders to a target folder.
| |
Copy(IRepository, List<IFolder>, List<IObject>, IFolder, ModelUtils.CopyOptions, String, List<AuthorizationEntry>, List<AuthorizationEntry>) |
Copies folders and objects to a target folder.
| |
DeleteAllObjectsOfType |
Deletes all objects of a specific type.
| |
DeleteFolderRecursively |
Recursively deletes a folder together with its subfolders and objects.
| |
DeleteObjectsOfPackage |
Deletes all objects of a specific package within a specific folder.
| |
DeleteObjectsOfType |
Deletes all objects of a specific type within a specific folder.
| |
ExistsAttrTypeName |
Detects if a specific attribute type exists.
| |
ExistsFolderId |
Detects if a specific folder exists.
| |
ExistsFolderKey |
Detects if a specific folder key exists.
| |
ExistsObjAttrDefName(IObjType, String) |
Detects if a specific attribute definition exists.
| |
ExistsObjAttrDefName(IRepository, String, String) |
Detects if a specific attribute definition exists.
| |
ExistsObjectId |
Detects if a specific object exists.
| |
ExistsObjectKey |
Detects if a specific object key exists.
| |
ExistsObjTypeName |
Detects if a specific object type exists.
| |
ExistsPackageName |
Detects if a specific package exists.
| |
ExistsRelationshipId |
Detects if a specific relationship exists.
| |
ExistsRelAttrDefName(IRelType, String) |
Detects if a specific relationship attribute definition exists.
| |
ExistsRelAttrDefName(IRepository, String, String) |
Detects if a specific relationship attribute definition exists.
| |
ExistsRelTypeName |
Detects if a specific relationship type exists.
| |
GetActualDependencies |
Calculates the actual dependencies of pPackage | |
GetAdditionalModelText |
Experimental: retrieve additional text from model resource.
| |
GetAllDependencies |
Calculates the dependencies of pPackage recursively (in no particular order)
| |
GetAllObjTypesOf(IObjType, Boolean) |
Gets all subtypes of the object type recursively, together with the object type itself.
| |
GetAllObjTypesOf(IObjType, Boolean, Comparison<IObjType>) |
Gets all subtypes of the object type recursively, together with the object type itself, sorted by a specific rule.
| |
GetAllObjTypesOf(IObjType, Boolean, Int32) |
Gets all subtypes of the object type recursively, together with the object type itself.
| |
GetAllSubtypes(IObjType) |
Gets all subtypes of the object type recursively.
| |
GetAllSubtypes(IObjType, Boolean) |
Gets all subtypes of the object type recursively.
| |
GetAllSubtypes(IObjType, Boolean, Comparison<IObjType>) |
Gets all subtypes of the object type recursively, sorted by a specific rule.
| |
GetAllSupertypes |
Gets all supertypes of the object type recursively.
| |
GetAttrDefs |
Retrieves all attribute definitions of given name for this object type.
| |
GetConnectionObjects(IRepository, IObject, IObject, IRelType, RelDirection, IRelType, RelDirection) |
Retrieves objects that serve as "connectors" between known object
instances.
[object_0] --rel_0-- [connection_object] --rel_1-- [object_1] | |
GetConnectionObjects<T>(IRepository, IObject, IObject, IRelType, RelDirection, IRelType, RelDirection, IObjType) |
Retrieves business objects that serve as "connectors" between known object
instances.
[object_0] --rel_0-- [connection_object] --rel_1-- [object_1] | |
GetDefaultValue |
Gets the default value for a specific attribute value type.
| |
GetDescription(IAttrDef) |
Gets the localized description of the attribute definition.
| |
GetDescription(IAttrType) |
Gets the localized description of the attribute type.
| |
GetDescription(IObjType) |
Gets the localized description of the object type.
| |
GetDescription(IPackage) |
Gets the localized description of the package.
| |
GetDescription(IRelAttrDef) |
Gets the localized description of the relationship attribute definition.
| |
GetDescription(IRelType) |
Gets the localized description of the relationship type.
| |
GetDescription(IAttrDef, CultureInfo) |
Gets the localized description of the attribute definition.
| |
GetDescription(IAttrType, CultureInfo) |
Gets the localized description of the attribute type.
| |
GetDescription(IObjType, CultureInfo) |
Gets the localized description of the object type.
| |
GetDescription(IPackage, CultureInfo) |
Gets the localized description of the package.
| |
GetDescription(IRelAttrDef, CultureInfo) |
Gets the localized description of the relationship attribute definition.
| |
GetDescription(IRelType, CultureInfo) |
Gets the localized description of the relationship type.
| |
GetDisplayName(IAttrDef) |
Gets the localized display name of the attribute definition.
| |
GetDisplayName(IAttrType) |
Gets the localized display name of the attribute type.
| |
GetDisplayName(IObjType) |
Gets the localized display name of the object type.
| |
GetDisplayName(IPackage) |
Gets the localized display name of the package.
| |
GetDisplayName(IRelAttrDef) |
Gets the localized display name of the relationship attribute definition.
| |
GetDisplayName(IRelType) |
Gets the localized display name of the relationship type.
| |
GetDisplayName(IAttrDef, CultureInfo) |
Gets the localized display name of the attribute definition.
| |
GetDisplayName(IAttrType, CultureInfo) |
Gets the localized display name of the attribute type.
| |
GetDisplayName(IObjType, CultureInfo) |
Gets the localized display name of the object type.
| |
GetDisplayName(IPackage, CultureInfo) |
Gets the localized display name of the package.
| |
GetDisplayName(IRelAttrDef, CultureInfo) |
Gets the localized display name of the relationship attribute definition.
| |
GetDisplayName(IRelType, CultureInfo) |
Gets the localized display name of the relationship type.
| |
GetEnumDisplayValue(String, String) |
Gets the localized display text of the enumeration value.
| |
GetEnumDisplayValue(IAttrType, String) |
Gets the localized display text of the enumeration value.
| |
GetEnumDisplayValue(String, String, CultureInfo) |
Gets the localized display text of the enumeration value.
| |
GetEnumDisplayValue(IAttrType, String, CultureInfo) |
Gets the localized display text of the enumeration value.
| |
GetFoldersWithKeyPattern | ||
GetObjectsOfType |
Gets all objects of a specific type, filtered and restricted by certain criteria.
| |
GetObjectsWithAttributeValue |
Gets all objects of a specific type, filtered and restricted by certain criteria.
| |
GetObjectsWithAttributeValues(IRepository, IObjType, Boolean, FindRange, IFolder, IList<Pair<IAttrDef, Object>>, Int32) |
Gets all objects of a specific type, filtered and restricted by certain criteria.
| |
GetObjectsWithAttributeValues(IRepository, IObjType, Boolean, FindRange, IFolder, String, IList<Pair<IAttrDef, Object>>, Int32) |
Gets all objects of a specific type, filtered and restricted by certain criteria.
| |
GetObjectsWithKeyPattern | ||
GetObjectsWithName |
Gets all objects of a specific type, filtered and restricted by certain criteria.
| |
GetObjTypeDescription(String, String) |
Gets the localized description of the object type.
| |
GetObjTypeDescription(String, CultureInfo, String) |
Gets the localized description of the object type.
| |
GetObjTypeDisplayName(String, String) |
Gets the localized display name of the object type.
| |
GetObjTypeDisplayName(String, CultureInfo, String) |
Gets the localized display name of the object type.
| |
GetRelationshipsBetweenObjects |
Gets all relationships of a specific type between two objects.
| |
GetRelTypeDescription(String, String) |
Gets the localized description of the relationship type.
| |
GetRelTypeDescription(String, CultureInfo, String) |
Gets the localized description of the relationship type.
| |
GetRelTypeDisplayName(String, String) |
Gets the localized display name of the relationship type.
| |
GetRelTypeDisplayName(String, CultureInfo, String) |
Gets the localized display name of the relationship type.
| |
Implements<TBusinessObject> |
Detects if an object implements a specific business objects interface.
| |
IsAttrValueEqual |
Checks if attribute values are equal.
| |
IsObjTypeCompatibleWith |
Checks whether given type is compatible with potentialSupertype. Types are compatible when
all instances of type checkedType are also instances of potentialSupertype
(i.e. checkedType is the same as potentialSupertype or is its direct or indirect subtype).
| |
TryGetObjAttrDefByName |
Tries the get an object attribute definition from the repository. The usual try-get pattern applies.
| |
TryGetRelAttrDefByName |
Tries the get a relationship attribute definition from the repository. The usual try-get pattern applies.
| |
VisitFolders |
Visit a sequence or hierarchy of folders.
|