Model Methods |
The Model type exposes the following members.
| Name | Description | |
|---|---|---|
| AddContentType |
Adds a new content-type.
| |
| AddCustomPrivilege |
Adds a new custom privilege.
| |
| AddCustomPrivilege(String) |
Adds a new custom privilege.
| |
| AddDiagram |
Adds a new diagram.
| |
| AddDiagram(String) |
Adds a new diagram.
| |
| AddDiagram(ModelDiagram) |
Adds the specified diagram.
| |
| AddLinkedModel |
Adds a linked model.
| |
| AddLinkedModel(Guid) |
Adds a linked model.
| |
| AddMapLink |
Adds a new link to the application map.
| |
| AddPagePart |
Adds a new page part.
| |
| AddPagePart(String) |
Adds a new page part.
| |
| AddRelation |
Adds a new relation.
| |
| AddRole |
Adds a new role.
| |
| AddRole(String) |
Adds a new role.
| |
| Backup |
Adds a backup of this model in the History with the specified note.
| |
| CheckContentTypeName |
Checks the uniqueness of a name of the content-type.
| |
| CheckForModification |
Checks if a modification has occurred since the last load. Based on XmlPath value.
Compares this model instance with the XML at the last known location.
| |
| CheckForModification(String) |
Checks if a modification has occurred since the last load.
Compares this model instance with the XML at the last known location.
| |
| Children |
Returns all children objects.
(Inherited from ModelingObject.) | |
| ContainsFields |
Determines whether any content-type of the model contains at least one column.
| |
| DeleteContentType |
Deletes the specified content-type.
| |
| DeleteCustomPrivilege(Int32) |
Deletes the custom privilege with the specified id.
| |
| DeleteCustomPrivilege(OrgItemPrivilege) |
Deletes the specified custom privilege.
| |
| DeleteDiagram(Int32) |
Deletes the diagram with the specified id.
| |
| DeleteDiagram(ModelDiagram) |
Deletes the specified diagram.
| |
| DeleteLinkedModel(Int32) |
Deletes the linked model with the specified id.
| |
| DeleteLinkedModel(LinkedModel) |
Deletes the specified linked model.
| |
| DeleteMapLink(Int32) |
Deletes the map link with the specified id.
| |
| DeleteMapLink(ApplicationMapLink) |
Deletes the specified map link.
| |
| DeletePagePart(Int32) |
Deletes the page part with the specified id.
| |
| DeletePagePart(PagePart) |
Deletes the specified page part.
| |
| DeleteRelation(Int32) |
Deletes the relation with the specified id.
| |
| DeleteRelation(ContentRelation) |
Deletes the specified relation.
| |
| DeleteRole(Int32) |
Deletes the role with the specified id.
| |
| DeleteRole(OrgRole) |
Deletes the specified role.
| |
| Deserialized |
Method called after a deserialization done by MicaSystems.Utils_Xml.
| |
| EnsureConsistency |
Ensures the consistency of the model.
| |
| EnsureStandardRoles |
Ensures that the standard roles exists in the model.
Note: disabled roles (see corresponding flags) will not be ensured.
| |
| GetAdminsRole |
Gets the standard role Admins.
| |
| GetAllForms |
Gets the form of all content-types.
| |
| GetAllLinkedContentTypes |
Gets the content-types of all linked models.
| |
| GetApplicationIconColor |
Gets the hexadecimal color code for the application icon.
Returns null if branding color.
| |
| GetApplicationIconColor(ApplicationIconColor) |
Gets the hexadecimal color code for an application icon color.
Returns null if branding color.
| |
| GetColumn |
Gets a column by its id.
| |
| GetContentType(Guid) |
Gets a content-type by its guid.
| |
| GetContentType(Int32) |
Gets a content-type by its id.
| |
| GetContentType(String) |
Gets a content-type by its name.
| |
| GetContentType(ContentColumn) |
Gets a content type of the specified column.
| |
| GetCopy |
Gets a instance copy of this model.
| |
| GetCustomPrivilege(Int32) |
Gets a custom privilege by its id.
| |
| GetCustomPrivilege(String) |
Gets a custom privilege by its name.
| |
| GetCustomPrivilegeByKey |
Gets a custom privilege by its key.
| |
| GetDataSetSchemaAppCentric |
Gets a data set schema NOT centered on a content.
[not up to date with newer requirements]
| |
| GetDataSetSchemaItemCentric |
Gets a data set schema centered on a content.
| |
| GetDiagram(Int32) |
Gets a diagram by its id.
| |
| GetDiagram(String) |
Gets a diagram by its name.
| |
| GetFormUniqueName(String) |
Gets a form unique name from a name.
| |
| GetFormUniqueName(String, Int32) |
Gets a form unique name from a name.
The specified id allows to ignore a form for duplicated name.
| |
| GetGuid |
Gets the Guid.
(Inherited from ModelingObject.) | |
| GetLinkedContentType |
Gets a linked model by its GUID.
| |
| GetLinkedModel(Guid) |
Gets a linked model by its GUID.
| |
| GetLinkedModel(Int32) |
Gets a linked model by its id.
| |
| GetLinkedModel(String) |
Gets a linked model by its name.
| |
| GetListItem |
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.) | |
| GetMapLink |
Gets a link from the application map by its id.
| |
| GetMembersRole |
Gets the standard role Members.
| |
| GetMessage |
Gets a message of the specified content-type by its id.
| |
| GetName |
Gets the name.
(Inherited from ModelingObject.) | |
| GetNextChange |
Gets an XML containing the next model version.
| |
| GetNextObjectIdTModelingObject |
Gets the next id of a type of ModelingObject.
DO NOT CALL THIS METHOD BEFORE MODEL IS FULLY LOADED.
| |
| GetPagePart(Int32) |
Gets a page part by its id.
| |
| GetPagePart(String) |
Gets a page part by its name.
| |
| GetParentParentType |
Returns the first parent of a given type in the modeling tree.
Returns null if not found.
(Inherited from ModelingObject.) | |
| GetPreviousChange |
Gets an XML containing the previous model version.
| |
| GetRelation(Guid) |
Gets a relation by its GUID.
| |
| GetRelation(Int32) |
Gets a relation by its id.
| |
| GetRelation(String) |
Gets a relation by its name.
| |
| GetRelationsLinkedTo |
Gets relations linking the specified content-type.
| |
| GetRole(Int32) |
Gets a role by its id.
| |
| GetRole(String) |
Gets a role by its name.
| |
| GetStandardRoles |
Gets the standard roles (Visitors, Members, Admins).
| |
| GetVersionString |
Gets the version in a X.X.X.X format.
| |
| GetView |
Gets a view by its id.
| |
| GetVisitorsRole |
Gets the standard role Visitors.
| |
| HasNext |
Determines whether at least one next version of the model is available.
| |
| HasPrevious |
Determines whether at least one previous version of the model is available.
| |
| MakeAllGuidsUnique |
Will change all content's model GUIDs.
This feature allows to duplicate a model, eg. to split applications without conflicting models.
| |
| Save(String) |
Saves the model as XML at the specified path.
| |
| Save(String, String) |
Saves the model as XML at the specified path.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateInstanceLanguage |
Updates the instance language.
|
| Name | Description | |
|---|---|---|
| AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
| EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
| EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
| GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
| IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
| IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
| Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |