Class FieldDisplayGroup
- Namespace
- Dynamicweb.Ecommerce.Products.FieldDisplayGroups
- Assembly
- Dynamicweb.Ecommerce.dll
The class
FieldDisplayGroup
represents preset of visible fields.public class FieldDisplayGroup : IPermissionLookup, IPermissionControlled
- Inheritance
-
FieldDisplayGroup
- Implements
- Inherited Members
Constructors
FieldDisplayGroup()
public FieldDisplayGroup()
Fields
AvailableInFrontend
It used to show the field group in the loops in the frontend rendering.
public bool AvailableInFrontend
Field Value
Id
Gets or sets the group id
public int Id
Field Value
SortIndex
Gets or sets the sorting index
public int SortIndex
Field Value
SystemName
Gets or sets the system name of the FieldDisplayGroup
public string SystemName
Field Value
Properties
FieldIds
Gets or sets ids of the preset fields
[Obsolete("Use FieldIdsList instead")]
public string FieldIds { get; set; }
Property Value
FieldIdsList
Gets or sets ids of the preset fields
public IEnumerable<string> FieldIdsList { get; set; }
Property Value
Name
Gets the name of the FieldDisplayGroup in the default language
[Obsolete("Use GetName instead.")]
public string Name { get; }
Property Value
ShopIds
Gets or sets ids of the preset shops
[Obsolete("Use ShopIdsList instead")]
public string ShopIds { get; set; }
Property Value
ShopIdsList
Gets or sets ids of the preset shops
public IEnumerable<string> ShopIdsList { get; set; }
Property Value
Translations
Gets the translations
public TranslationCollection<FieldDisplayGroupTranslation> Translations { get; }
Property Value
Methods
GetByKey(string)
Can be used to look up a concrete object based upon the key.
public IPermissionControlled GetByKey(string id)
Parameters
id
string
Returns
- IPermissionControlled
- permissionControlled
GetLocalizedName(string)
Get translation for specified language
[Obsolete("Use GetName instead.")]
public string GetLocalizedName(string languageId)
Parameters
languageId
string
Returns
GetName(string)
Gets the name of the field display group for the given language.
public string GetName(string languageId)
Parameters
languageId
string
Returns
GetParent()
Gets the parent of this object, for the purposes of inherited permissions.
public IPermissionControlled GetParent()
Returns
- IPermissionControlled
- parent
Remarks
Return null, if no parent permissions exist
GetPermissionIdentifier()
Combination of values that form a unique identifier.
public UnifiedPermissionIdentifier GetPermissionIdentifier()
Returns
- UnifiedPermissionIdentifier
- Unique identifier.
SetLocalizedName(string, string)
Set translation for specified language
[Obsolete("Use SetName instead.")]
public void SetLocalizedName(string languageId, string name)
Parameters
SetName(string, string)
Sets the name of the field display group for the given language.
public void SetName(string languageId, string name)