ModelingUtils Class |
Namespace: Packflow.Modeling
public static class ModelingUtils
The ModelingUtils type exposes the following members.
Name | Description | |
---|---|---|
GetContentColumnList |
From a given list of columns' ids, returns all corresponding columns found in the specified model.
| |
GetFieldParentSection |
Tries to get the form's section hosting the field of the specified column.
| |
GetIdFromListItem |
Extracts an id from a text formatted like "[Id=42] My object".
| |
GetNameFromListItem |
Extracts a name from a text formatted like "[Id=42] My object".
| |
GetNextName |
Gets the next name of the given name, incrementing the number at the end.
| |
GetValidInternalName |
Gets a valid internal name from the given name.
Removes all characters not being letters, digits or underscore.
| |
IsParticipationReached |
Determines whether the participation of the specified type has been reached.
| |
IsValidInternalName(String) |
Determines whether the specified internal name is valid.
| |
IsValidInternalName(String, Boolean) |
Determines whether the specified internal name is valid.
If checkSpaces is False, spaces are considered as valid characters.
| |
IsValidOpenXmlPassword |
Determines whether the specified text does contain only letters.
| |
LoadModel |
Loads a model from an XML file located at the specified path.
| |
MajWorkflowFieldsNames | Obsolete.
Obsolete method.
| |
ObjectWithNotes |
Determines whether the specified object handles the property ObjectNotes.
| |
RemoveColumnReferences |
Removes all column references from the specified model.
| |
RemoveInvalidFileNameChars |
Removes the invalid characters of a given file name.
| |
RemoveRoleReferences |
Removes all role references from the specified model.
| |
UpdateListFromModelingListT1, T2 |
Updates a list (toList) of objects based on another (fromList).
Using the comparison function, each object is considered
as missing (and then created using the creation function),
as already existing (then updated using the update function)
or as obsolete (then removed from toList).
|