Click or drag to resize

TemplateManager Class

Contains methods to manipulate templates.
Inheritance Hierarchy
SystemObject
  PsrApi.ManagersBaseManager
    PsrApi.ManagersTemplateManager

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntax
C#
public class TemplateManager : BaseManager

The TemplateManager type exposes the following members.

Methods
  NameDescription
Public methodAddDataTagTemplate
Adds a new tag template or extends an existing template.
Public methodAddLegitimateDataRightTemplate
Adds a new right template or extends an existing template.
Public methodAddTemplateGroup
Adds a new template group.
Public methodDeleteTemplateGroup
Deletes the group with the given ID.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetDataRightTemplate
Returns a template that matches the given object and legitimate.
Public methodGetDataRightTemplates
Returns all templates matching the given ID.
Public methodGetDataRightTemplateTargets
Returns a list of data right template targets.
Public methodGetDataTagTemplate
Returns a template that matches the given data ID and target ID.
Public methodGetDataTagTemplates
Returns a list of tag templates matching the given ID.
Public methodGetDefaultOrganisationUnitTemplateGroupId
Returns the ID of the default template group matching the given organisation unit.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHierarchyDataRightTemplate
Returns all templates that match the given ID and target ID.
Public methodGetHierarchyDataTagTemplate
Returns all templates that match the given ID and target ID.
Public methodGetRootTemplateGroupList
Returns a list of template groups that match the root organisation unit.
Public methodGetTemplateGroupById
Returns the template group matching the given ID.
Public methodGetTemplateGroupCount
Returns the number of template groups with optional filtering on an organisation unit.
Public methodGetTemplateGroupList
Returns a list of template group with optional filtering on an organisation unit.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemoveAllDataTagTemplate
Removes all templates from the object with the given ID.
Public methodRemoveAllLegitimateDataRightTemplate
Removes all templates from the object with the given ID.
Public methodRemoveDataTagTemplate
Removes a tag from a template. When all tags are removed, the whole template is removed.
Public methodRemoveLegitimateDataRightTemplate
Removes a right from a template. When all rights are removed, the whole template is removed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateDataTagTemplate
Updates an existing tag template.
Public methodUpdateLegitimateDataRightTemplate
Updates an existing right template.
Public methodUpdateLegitimateDataRightTemplateOwnerRight
Updates the owner right of a right template.
Public methodUpdateTemplateGroup
Updates the group.
Top
See Also