@Override public List<TemplateHandler> getPortletDisplayTemplateHandlers() { List<TemplateHandler> templateHandlers = TemplateHandlerRegistryUtil.getTemplateHandlers(); List<TemplateHandler> portletDisplayTemplateHandlers = new ArrayList<>(); for (TemplateHandler templateHandler : templateHandlers) { if (templateHandler instanceof BasePortletDisplayTemplateHandler) { portletDisplayTemplateHandlers.add(templateHandler); } else if (ProxyUtil.isProxyClass(templateHandler.getClass())) { InvocationHandler invocationHandler = ProxyUtil.getInvocationHandler(templateHandler); if (invocationHandler instanceof ClassLoaderBeanHandler) { ClassLoaderBeanHandler classLoaderBeanHandler = (ClassLoaderBeanHandler) invocationHandler; Object bean = classLoaderBeanHandler.getBean(); if (bean instanceof BasePortletDisplayTemplateHandler) { portletDisplayTemplateHandlers.add(templateHandler); } } } } return portletDisplayTemplateHandlers; }
@Override public CalendarResource toEscapedModel() { return (CalendarResource) ProxyUtil.newProxyInstance( CalendarResource.class.getClassLoader(), new Class[] {CalendarResource.class}, new AutoEscapeBeanHandler(this)); }
@Override public SkillSubCategory toEscapedModel() { return (SkillSubCategory) ProxyUtil.newProxyInstance( SkillSubCategory.class.getClassLoader(), new Class[] {SkillSubCategory.class}, new AutoEscapeBeanHandler(this)); }
@Override public Statusbericht_detail_punkt toEscapedModel() { return (Statusbericht_detail_punkt) ProxyUtil.newProxyInstance( Statusbericht_detail_punkt.class.getClassLoader(), new Class[] {Statusbericht_detail_punkt.class}, new AutoEscapeBeanHandler(this)); }
@Override public EmpSalary toEscapedModel() { return (EmpSalary) ProxyUtil.newProxyInstance( EmpSalary.class.getClassLoader(), new Class[] {EmpSalary.class}, new AutoEscapeBeanHandler(this)); }
@Override public SyncDLObject toEscapedModel() { return (SyncDLObject) ProxyUtil.newProxyInstance( SyncDLObject.class.getClassLoader(), new Class[] {SyncDLObject.class}, new AutoEscapeBeanHandler(this)); }
@Override public IssueType toEscapedModel() { return (IssueType) ProxyUtil.newProxyInstance( IssueType.class.getClassLoader(), new Class[] {IssueType.class}, new AutoEscapeBeanHandler(this)); }
@Override public Kieliinfo toEscapedModel() { return (Kieliinfo) ProxyUtil.newProxyInstance( Kieliinfo.class.getClassLoader(), new Class[] {Kieliinfo.class}, new AutoEscapeBeanHandler(this)); }
@Override public MarcBatchUpload toEscapedModel() { return (MarcBatchUpload) ProxyUtil.newProxyInstance( MarcBatchUpload.class.getClassLoader(), new Class[] {MarcBatchUpload.class}, new AutoEscapeBeanHandler(this)); }
@Override public DossierProcAgent toEscapedModel() { return (DossierProcAgent) ProxyUtil.newProxyInstance( DossierProcAgent.class.getClassLoader(), new Class[] {DossierProcAgent.class}, new AutoEscapeBeanHandler(this)); }
@Override public LFQuestion toEscapedModel() { return (LFQuestion) ProxyUtil.newProxyInstance( LFQuestion.class.getClassLoader(), new Class[] {LFQuestion.class}, new AutoEscapeBeanHandler(this)); }
@Override public BudgetArrival toEscapedModel() { return (BudgetArrival) ProxyUtil.newProxyInstance( BudgetArrival.class.getClassLoader(), new Class[] {BudgetArrival.class}, new AutoEscapeBeanHandler(this)); }
@Override public KaleoTransition toEscapedModel() { return (KaleoTransition) ProxyUtil.newProxyInstance( KaleoTransition.class.getClassLoader(), new Class[] {KaleoTransition.class}, new AutoEscapeBeanHandler(this)); }
private LayoutType _getLayoutType() { return LayoutTypePortletFactoryUtil.create( (Layout) ProxyUtil.newProxyInstance( PortalClassLoaderUtil.getClassLoader(), new Class[] {Layout.class}, new LayoutStagingHandler(_layout, _layoutRevision))); }
@Override public WSRPConsumerPortlet toEscapedModel() { return (WSRPConsumerPortlet) ProxyUtil.newProxyInstance( WSRPConsumerPortlet.class.getClassLoader(), new Class[] {WSRPConsumerPortlet.class}, new AutoEscapeBeanHandler(this)); }
@Override public BusAvailability toEscapedModel() { return (BusAvailability) ProxyUtil.newProxyInstance( BusAvailability.class.getClassLoader(), new Class[] {BusAvailability.class}, new AutoEscapeBeanHandler(this)); }
@Override public KaleoTaskAssignmentInstance toEscapedModel() { return (KaleoTaskAssignmentInstance) ProxyUtil.newProxyInstance( KaleoTaskAssignmentInstance.class.getClassLoader(), new Class[] {KaleoTaskAssignmentInstance.class}, new AutoEscapeBeanHandler(this)); }
@Override public KBArticle toEscapedModel() { return (KBArticle) ProxyUtil.newProxyInstance( KBArticle.class.getClassLoader(), new Class[] {KBArticle.class}, new AutoEscapeBeanHandler(this)); }
@Override public Checkout toEscapedModel() { return (Checkout) ProxyUtil.newProxyInstance( Checkout.class.getClassLoader(), new Class[] {Checkout.class}, new AutoEscapeBeanHandler(this)); }
@Override public PollsVote toEscapedModel() { return (PollsVote) ProxyUtil.newProxyInstance( PollsVote.class.getClassLoader(), new Class[] {PollsVote.class}, new AutoEscapeBeanHandler(this)); }
@Override public Artist toEscapedModel() { return (Artist) ProxyUtil.newProxyInstance( Artist.class.getClassLoader(), new Class[] {Artist.class}, new AutoEscapeBeanHandler(this)); }
@Override public LFAchievement toEscapedModel() { return (LFAchievement) ProxyUtil.newProxyInstance( LFAchievement.class.getClassLoader(), new Class[] {LFAchievement.class}, new AutoEscapeBeanHandler(this)); }
public KaleoNotification toEscapedModel() { if (_escapedModel == null) { _escapedModel = (KaleoNotification) ProxyUtil.newProxyInstance( _classLoader, _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); } return _escapedModel; }
public Calendar toEscapedModel() { if (_escapedModel == null) { _escapedModel = (Calendar) ProxyUtil.newProxyInstance( _classLoader, _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); } return _escapedModel; }
@Override public Lephi_linhvuc toEscapedModel() { if (_escapedModelProxy == null) { _escapedModelProxy = (Lephi_linhvuc)ProxyUtil.newProxyInstance(_classLoader, _escapedModelProxyInterfaces, new AutoEscapeBeanHandler(this)); } return _escapedModelProxy; }
@Override public PollsChoice toEscapedModel() { if (_escapedModel == null) { _escapedModel = (PollsChoice) ProxyUtil.newProxyInstance( _classLoader, _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); } return _escapedModel; }
@Override public WikiPageResource toEscapedModel() { if (_escapedModelProxy == null) { _escapedModelProxy = (WikiPageResource) ProxyUtil.newProxyInstance( _classLoader, _escapedModelProxyInterfaces, new AutoEscapeBeanHandler(this)); } return _escapedModelProxy; }
@Override public VirtualHost toEscapedModel() { if (_escapedModelProxy == null) { _escapedModelProxy = (VirtualHost) ProxyUtil.newProxyInstance( _classLoader, _escapedModelProxyInterfaces, new AutoEscapeBeanHandler(this)); } return _escapedModelProxy; }
@Override public TransitionHistory toEscapedModel() { if (_escapedModel == null) { _escapedModel = (TransitionHistory) ProxyUtil.newProxyInstance( _classLoader, _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); } return _escapedModel; }
@Override public SocialActivity toEscapedModel() { if (_escapedModel == null) { _escapedModel = (SocialActivity) ProxyUtil.newProxyInstance( _classLoader, _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); } return _escapedModel; }