Refine search
@Action( restrictTo = RestrictTo.PROTOTYPING ) @ActionLayout( describedAs = "Retrieved all the saved objects" ) @MemberOrder(sequence = "4") public Set<Object> allSavedObjects() { return objects; }
@Action( semantics = SemanticsOf.SAFE, domainEvent = ActionDomainEvent.class ) @ActionLayout(named = "Download") public Blob $$() { return urlDownloadService.downloadAsBlob(document); }
@Action( semantics = SemanticsOf.IDEMPOTENT, domainEvent = ActionDomainEvent.class ) @MemberOrder(name = "rendererModelFactoryClassName",sequence = "1") public Applicability_changeRendererModelFactory $$(final ClassNameViewModel classNameViewModel) { applicability.setRendererModelFactoryClassName(classNameViewModel.getFullyQualifiedClassName()); return this; }
@Action( semantics = SemanticsOf.SAFE, domainEvent = OpenSwaggerUiDomainEvent.class, restrictTo = RestrictTo.PROTOTYPING ) @ActionLayout( cssClassFa = "fa-external-link" ) @MemberOrder(sequence="500.600.1") public URL openSwaggerUi() throws MalformedURLException { return new java.net.URL("http:///swagger-ui/index.html"); }
@Action( semantics = SemanticsOf.SAFE, domainEvent = ActionDomainEvent.class ) @ActionLayout(named = "Download") public Clob $$() { return urlDownloadService.downloadAsClob(document); }
@Action( semantics = SemanticsOf.IDEMPOTENT, domainEvent = ActionDomainEvent.class ) @MemberOrder(name = "attachmentAdvisorClassName",sequence = "1") public Applicability_changeAttachmentAdvisor $$(final ClassNameViewModel classNameViewModel) { applicability.setAttachmentAdvisorClassName(classNameViewModel.getFullyQualifiedClassName()); return this; }
@Action( semantics = SemanticsOf.SAFE, domainEvent = OpenSwaggerUiDomainEvent.class, restrictTo = RestrictTo.PROTOTYPING ) @ActionLayout( cssClassFa = "fa-external-link" ) @MemberOrder(sequence="500.600.2") public URL openRestApi() throws MalformedURLException { return new java.net.URL("http:///restful/"); }
@Action( domainEvent = ActionDomainEvent.class, semantics = SemanticsOf.SAFE ) @ActionLayout( contributed = Contributed.AS_ACTION, cssClassFa = "fa-bookmark" ) public Object act() { return bookmarkService.lookup(bookmarkHolder); }
@Action( semantics = SemanticsOf.IDEMPOTENT, domainEvent = ActionDomainEvent.class ) @MemberOrder(name = "attachmentAdvisorClassName",sequence = "1") public Applicability_changeAttachmentAdvisor $$(final ClassNameViewModel classNameViewModel) { applicability.setAttachmentAdvisorClassName(classNameViewModel.getFullyQualifiedClassName()); return this; }
@Action(semantics = SemanticsOf.SAFE) @ActionLayout(bookmarking = BookmarkPolicy.AS_ROOT) @MemberOrder(sequence = "1") public List<SimpleObject> listAll() { return container.allInstances(SimpleObject.class); }
@Action( semantics = SemanticsOf.SAFE, domainEvent = BookmarkHolder_object.ActionDomainEvent.class ) @ActionLayout( contributed = Contributed.AS_ASSOCIATION ) public Object prop() { return bookmarkService.lookup(bookmarkHolder); }
@Action( semantics = SemanticsOf.IDEMPOTENT, domainEvent = ActionDomainEvent.class ) @MemberOrder(name = "rendererModelFactoryClassName",sequence = "1") public Applicability_changeRendererModelFactory $$(final ClassNameViewModel classNameViewModel) { applicability.setRendererModelFactoryClassName(classNameViewModel.getFullyQualifiedClassName()); return this; }
@Action( restrictTo = RestrictTo.PROTOTYPING ) @ActionLayout( describedAs = "Remove this object from the set of saved objects" ) @MemberOrder(sequence = "2") public void remove(final Object object) { objects.remove(object); saveAll(); }
@Action(semantics = SemanticsOf.SAFE) @ActionLayout(contributed = Contributed.AS_ASSOCIATION) public List<DocumentTemplate> $$() { return documentTemplateRepository.findByType(documentType); }
/** * Create simple object */ @Action(domainEvent = CreateDomainEvent.class) @MemberOrder(sequence = "3") public SimpleObject create(@ParameterLayout(named = "Name") final String name) { final SimpleObject obj = container.newTransientInstance(SimpleObject.class); obj.setName(name); container.persistIfNotAlready(obj); return obj; }
@Action( domainEvent = NotApplicableDomainEvent.class, semantics = SemanticsOf.IDEMPOTENT_ARE_YOU_SURE ) @ActionLayout( cssClassFa = "fa-minus" ) @MemberOrder(name = "appliesTo", sequence = "2") public DocumentTemplate $$(final Applicability applicability) { applicabilityRepository.delete(applicability); return this.documentTemplate; }
@Action(semantics = SemanticsOf.SAFE) @ActionLayout(contributed = Contributed.AS_ASSOCIATION) public List<DocumentTemplate> $$() { return documentTemplateRepository.findByType(documentType); }
@Action( domainEvent = NotApplicableDomainEvent.class, semantics = SemanticsOf.IDEMPOTENT_ARE_YOU_SURE ) @ActionLayout( cssClassFa = "fa-minus" ) @MemberOrder(name = "appliesTo", sequence = "2") public DocumentTemplate $$(final Applicability applicability) { applicabilityRepository.delete(applicability); return this.documentTemplate; }
@Action( semantics = SemanticsOf.SAFE, domainEvent = ActionDomainEvent.class ) @ActionLayout(named = "Download") public Blob $$() { return urlDownloadService.downloadAsBlob(document); }
@Action( domainEvent = AllConfigurationPropertiesDomainEvent.class, semantics = SemanticsOf.SAFE ) @ActionLayout( cssClassFa = "fa-wrench" ) @MemberOrder(sequence = "500.900.1") public Set<ConfigurationProperty> configuration(){ return configurationService.allProperties(); }