本文整理汇总了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.
}
}