當前位置: 首頁>>代碼示例>>Java>>正文


Java PersistAction類代碼示例

本文整理匯總了Java中net.cofares.control.util.JsfUtil.PersistAction的典型用法代碼示例。如果您正苦於以下問題:Java PersistAction類的具體用法?Java PersistAction怎麽用?Java PersistAction使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


PersistAction類屬於net.cofares.control.util.JsfUtil包,在下文中一共展示了PersistAction類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/BundlePM").getString("PlusMoinsDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:ljug,項目名稱:gss,代碼行數:8,代碼來源:PlusMoinsController.java

示例2: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("ArticlesDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:ljug,項目名稱:gss,代碼行數:8,代碼來源:ArticlesController.java

示例3: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("DestinationDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:ljug,項目名稱:gss,代碼行數:8,代碼來源:DestinationController.java

示例4: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("MouvementDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:ljug,項目名稱:gss,代碼行數:8,代碼來源:MouvementController.java

示例5: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("DemandeurDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:floslm,項目名稱:msd,代碼行數:8,代碼來源:DemandeurController.java

示例6: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("DomainDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:floslm,項目名稱:msd,代碼行數:8,代碼來源:DomainController.java

示例7: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("TypeDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:floslm,項目名稱:msd,代碼行數:8,代碼來源:TypeController.java

示例8: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("CritereDemandeurDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:floslm,項目名稱:msd,代碼行數:8,代碼來源:CritereDemandeurController.java

示例9: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("CritereOffrantDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:floslm,項目名稱:msd,代碼行數:8,代碼來源:CritereOffrantController.java

示例10: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("OffrantDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:floslm,項目名稱:msd,代碼行數:8,代碼來源:OffrantController.java

示例11: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("SemantiqueDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:floslm,項目名稱:msd,代碼行數:8,代碼來源:SemantiqueController.java

示例12: doDuplicate

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public Categories doDuplicate(Categories leaf) {
    Categories categ = new Categories(leaf);
    categ.setPourProfil(profilCopy);
    create(categ);
    if (null != leaf.getCategorieParente()) {
        categ.setCategorieParente(doDuplicate(leaf.getCategorieParente()));
        persist(categ, PersistAction.UPDATE, ResourceBundle.getBundle("/Bundle").getString("CategoriesUpdated"));           
    }
    return categ;

}
 
開發者ID:floslm,項目名稱:msd,代碼行數:12,代碼來源:CategoriesController.java

示例13: create

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void create(Categories categ) {

        persist(categ, PersistAction.CREATE, ResourceBundle.getBundle("/Bundle").getString("CategoriesCreated"));
        if (!JsfUtil.isValidationFailed()) {
            items = null;    // Invalidate list of items to trigger re-query.
        }
    }
 
開發者ID:floslm,項目名稱:msd,代碼行數:8,代碼來源:CategoriesController.java

示例14: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(selected, PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("CategoriesDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:floslm,項目名稱:msd,代碼行數:8,代碼來源:CategoriesController.java

示例15: destroy

import net.cofares.control.util.JsfUtil.PersistAction; //導入依賴的package包/類
public void destroy() {
    persist(PersistAction.DELETE, ResourceBundle.getBundle("/Bundle").getString("ProfilDeleted"));
    if (!JsfUtil.isValidationFailed()) {
        selected = null; // Remove selection
        items = null;    // Invalidate list of items to trigger re-query.
    }
}
 
開發者ID:floslm,項目名稱:msd,代碼行數:8,代碼來源:ProfilController.java


注:本文中的net.cofares.control.util.JsfUtil.PersistAction類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。