public void resetParameters() { setupConfigGenerator = null; parameters = null; advancedParameters = null; Contexts.getPageContext().remove("setupConfigGenerator"); }
public void setSelectedAuditCategory(String category) { selectedAuditCategory = category; currentAuditPage = 1; Contexts.getEventContext().remove("userLoginEvents"); }
/** * Get the most recently rendered message sent using the MockTransport. */ public static void clearMailMessage() { Contexts.getApplicationContext().remove(VAR_NAME); }
public void prevAuditPage() { currentAuditPage -= 1; if (currentAuditPage <= 0) { currentAuditPage = 1; } Contexts.getEventContext().remove("userLoginEvents"); }
public boolean isBinaryManagerStatusAvailable() { if (binaryManagerStatusInvalidation) { // invalidate Seam value in context Contexts.getEventContext().remove("binaryManagerStatus"); binaryManagerStatusInvalidation = false; } return binaryManagerStatus != null; }
public void setSelectedAuditTimeRange(String dateRange) { selectedAuditTimeRange = dateRange; currentAuditPage = 1; Contexts.getEventContext().remove("userLoginEvents"); }
public void cleanContextVariable() { commentableDoc = null; uiComments = null; showCreateForm = false; commentStarted = false; savedReplyCommentId = null; newContent = null; // NXP-11462: reset factory to force comment fetching after the new // comment is added Contexts.getEventContext().remove("documentThreadedComments"); }
public void setSelectedAuditCategory(String category) { selectedAuditCategory = category; currentAuditPage = 1; Contexts.getEventContext().remove("userLoginEvents"); }
public void confirmOrder(long orderId) { Order order = (Order) em.createQuery( "select o from Order o where o.orderId = :orderId") .setParameter("orderId", orderId).getSingleResult(); order.setStatus(Order.Status.PROCESSING); Contexts.getApplicationContext().remove("deliveryDateTimer" + orderId); Contexts.getApplicationContext().remove("adminTimer" + orderId); }
private void cleanup() { Contexts.getEventContext().remove(AbstractDispatcher.EXECUTING_ASYNCHRONOUS_CALL); if (createContexts) Lifecycle.endCall(); } }
private void clearWrapper(Component component, Field field) throws Exception { Contexts.getConversationContext().remove( getFieldId(component, field) ); }
@Destroy public void destroy() { Contexts.getConversationContext().remove("fileUploadHolder"); }
public void proxyChange(AjaxBehaviorEvent event) { UIComponent select = event.getComponent(); if (select instanceof ValueHolder) { proxyType = (String) ((ValueHolder) select).getValue(); } else { log.error("Bad component returned " + select); throw new AbortProcessingException("Bad component returned " + select); } Contexts.getEventContext().remove("setupParams"); FacesContext context = FacesContext.getCurrentInstance(); context.renderResponse(); }
@Override @Observer(value = { EventNames.USER_ALL_DOCUMENT_TYPES_SELECTION_CHANGED, EventNames.LOCATION_SELECTION_CHANGED }, create = false) @BypassInterceptors public void resetTabList() { tabsActionsList = null; resetSubTabs(); resetCurrentTab(); // make sure event context is cleared so that factory is called again Contexts.getEventContext().remove("tabsActionsList"); Contexts.getEventContext().remove("currentTabAction"); }
private void remove() { getComponent().getScope().getContext().remove( getComponent().getName() ); if ( log.isDebugEnabled() ) { log.debug( "Stateful component was removed: " + getComponent().getName() ); } }