This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IGalleries>()
and is defined in Telligent.Evolution.MediaGalleries.dll
Events
Events.AfterCreate
Handler
void GalleryAfterCreateEventHandler(GalleryAfterCreateEventArgs e);
Events.AfterDelete
Handler
void GalleryAfterDeleteEventHandler(GalleryAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void GalleryAfterUpdateEventHandler(GalleryAfterUpdateEventArgs e);
Events.BeforeCreate
Handler
void GalleryBeforeCreateEventHandler(GalleryBeforeCreateEventArgs e);
Events.BeforeDelete
Handler
void GalleryBeforeDeleteEventHandler(GalleryBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void GalleryBeforeUpdateEventHandler(GalleryBeforeUpdateEventArgs e);
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
ApplicationTypeId | Guid | Galleries application type identifier | ||
ContentTypeId | Guid | Galleries content type identifier | ||
TotalLicensedRemaining | int |
Methods
Gallery Create(int groupId, string name, GalleriesCreateOptions options = null);
Creates a Gallery
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
groupId | int | Group Id | Required | ||
name | string | Name | Required | ||
options | GalleriesCreateOptions | Optional parameter names are: Key, Description, Enabled, ExtendedAttributes | Optional |
Return Type
AdditionalInfo Delete(int id);
Deletes a Gallery
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Gallery Id | Required |
Return Type
Gallery Get(Guid applicationId);
Gets a Gallery
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
applicationId | Guid | Application Id | Required |
Return Type
Gallery Get(GalleriesGetOptions options);
Gets a Gallery
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | GalleriesGetOptions | Optional parameter names are: Id, Key, GroupId | Required |
Return Type
PagedList<Gallery> List(GalleriesListOptions options = null);
Lists Galleries
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | GalleriesListOptions | Optional parameter names are: GroupId, IncludeSubGroups, ApplicationIds, PageIndex, PageSize, UserId, PermissionId, SortBy, SortOrder. If left unspecified, sorting defaults to SortOrder Ascending. | Optional |
Return Type
Gallery Update(int id, GalleriesUpdateOptions options);
Updates a Gallery
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Gallery Id | Required | ||
options | GalleriesUpdateOptions | Optional parameter names are: GroupId, Name, Key, Description, Enabled, ExtendedAttributes | Required |