Interface ISetCopierCloneAlterer
Provides a custom ability to alter the item when it is copied only - not when it is being imported
Assembly: LemonEdge.API.dll
Syntax
public interface ISetCopierCloneAlterer
Properties
CopierCloneType
Declaration
SetCopierCloneType CopierCloneType { get; set; }
Property Value
Methods
AlterCopiedItem(IEntityUpdater, UserInfo, IReadOnlyCache, IBaseEntity)
A custom ability to alter this item when it is was copied by the user in the UI, not when it is being imported
Declaration
Task AlterCopiedItem(IEntityUpdater host, UserInfo user, IReadOnlyCache cache, IBaseEntity sourceItem)
Parameters
Returns
Type |
Description |
Task |
A task inidicating the finishing of this method
|
Determines whether the source item should be copied based on the provided relationship
Declaration
bool CopyRelatedItem(IBaseEntity sourceItem, EntityRelationship rel)
Parameters
Type |
Name |
Description |
IBaseEntity |
sourceItem |
The original source item this item was copied from
|
EntityRelationship |
rel |
The particular relationship from the source item
|
Returns
GetCustomPropertyInfo(ISetItemInfo, IEntityUpdater)
Declaration
Task<string> GetCustomPropertyInfo(ISetItemInfo info, IEntityUpdater host)
Parameters
Returns
GetPropertyValue(ISetItemInfo, string, object)
Declaration
object GetPropertyValue(ISetItemInfo info, string propName, object currentValue)
Parameters
Returns
LoadCustomPropInfo(IEntityUpdater, UserInfo, IReadOnlyCache, string)
Declaration
Task LoadCustomPropInfo(IEntityUpdater host, UserInfo user, IReadOnlyCache cache, string customPropInfo)
Parameters
Returns
Extension Methods
See Also