Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OwcCollectionEditorComponent

Hierarchy

  • OwcCollectionEditorComponent

Implements

  • OnInit

Index

Constructors

constructor

Properties

collectionProps

collectionProps: any[] = []

Private collectionsService

collectionsService: CollectionsService

Private fb

fb: FormBuilder

Private notificationService

notificationService: NotificationService

owcData

owcData: OwcContext

owcForm

owcForm: FormGroup

reloadOnSavedCollection

reloadOnSavedCollection: EventEmitter<any> = new EventEmitter<any>()

returnCloseEditor

returnCloseEditor: EventEmitter<any> = new EventEmitter<any>()

Private workbenchService

workbenchService: WorkbenchService

Methods

addAuthorTo

  • addAuthorTo(): FormGroup

addAuthorToContext

  • addAuthorToContext(): void

addAuthorToFeature

  • addAuthorToFeature(index: number): void

addCategoryTo

  • addCategoryTo(): FormGroup

addCategoryToContext

  • addCategoryToContext(): void

addCategoryToFeature

  • addCategoryToFeature(index: number): void

addContentTo

  • addContentTo(): FormGroup

addContentToOffering

  • addContentToOffering(feature_index: number, offering_index: number): void

addLinkTo

  • addLinkTo(rel: string): FormGroup

addLinkToContext

  • addLinkToContext(rel: string, pos: string): void

addLinkToFeature

  • addLinkToFeature(index: number, rel: string, pos: string): void

addOfferingTo

  • addOfferingTo(): FormGroup

addOfferingToFeature

  • addOfferingToFeature(index: number): void

addOperationTo

  • addOperationTo(): FormGroup

addOperationToOffering

  • addOperationToOffering(feature_index: number, offering_index: number): void

addStyleTo

  • addStyleTo(): FormGroup

addStyleToOffering

  • addStyleToOffering(feature_index: number, offering_index: number): void

canDropEmpty

  • canDropEmpty(obj: any): boolean

closeEditor

  • closeEditor(): void

Private fixOwcLinksFromForm

initAuthors

initCategories

initContents

initDisplay

initFeatures

initForNum

  • initForNum(val: any): number

initForStr

  • initForStr(val: any): string

initGenerator

initLinks

  • initLinks(res: OwcLink[]): FormGroup[]

initOfferings

initOperations

initSingleContent

initStyles

logChanges

  • logChanges(): void

ngOnInit

  • ngOnInit(): void

prepareForSave

saveEdits

  • saveEdits(withReturn: boolean): void

trackByFn

  • trackByFn(index: any, item: any): any

Generated using TypeDoc