本文整理匯總了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.
}
}
示例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.
}
}
示例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.
}
}
示例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.
}
}
示例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.
}
}
示例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.
}
}
示例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.
}
}
示例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.
}
}
示例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.
}
}
示例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.
}
}
示例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.
}
}
示例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;
}
示例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.
}
}
示例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.
}
}
示例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.
}
}