IFolder Interface
- Namespace:
- Weavy.Core.Models
- Assembly:
- Weavy.Core.dll
Base interface for folders.
public interface IFolder : IContent, IExtension, IAppEntity, ISpaceEntity, ITrashable, IEntity, ICloneable
Extension Methods
Is |
Gets a value indicating if the specified value has the default value of the generic type. |
Assert(IEntity, Permission, User) | Throws a ForbiddenException if a user does not have the requested permission to an entity. |
Boost(IEntity) | Gets the boost factor for the fulltext index. |
Has |
Check if the current user has the requested permission to the specified entity. |
Has |
Returns true if the entity has a value otherwise false. |
Value(IEntity, Boolean) | Returns the actual underlying value of an IEntity. |
Kind(IEntity) | Returns a label that is suitable for display in lists and search results. |
Css |
CSS class for an entity. |
Serialize(Object) | Serializes an object, or graph of connected objects, to a byte array. |
Serialize |
Serializes an object, or graph of connected objects, to a json string. |
Breadcrumbs(IEntity, Boolean, Boolean) | Returns the breadcrumb segments for en entity. |
Dav |
Returns an url that can be used by WebDAV clients. |
Thumb |
Returns a placeholder url to a thumbnail image of the specified entity. The url contains the string "{options}" which can be replaced with the desired resize options, e.g. "128", "128x0", "0x128", "128x256" etc. |
Thumb |
Returns an url to a thumbnail image for the specified entity. |
Url(IEntity, Boolean) | Returns the url to an entity. |
Is |
Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type. |
App(IApp |
Gets the Weavy.Core.Models.IAppEntityExtensions.App(Weavy.Core.Models.IAppEntity%2cSystem.Boolean) where the entity is located.
|
Parent(IContent) |
Gets the parent item, or null if the item is located at the top of the content hierarchy.
|
Children(IContent) | Gets child items for the specified content item. |
ETag(IContent) | |
Is |
Gets a value indicating whether the entity is trashed. |
Trashed |
Gets the User that trashed the entity. |
Is |
Gets a value indicating whether the specified entity is built-in. |
Created |
Gets the User that created the item. |
Modified |
Gets the User that modified the item. |
Space(ISpace |
Gets the Space where the entity is located. |
Table |
Gets the table name where the reference should be stored. |
Link(IEntity) | Returns a link to the entity. |