Package org.jboss.seam.wiki.core.model

Examples of org.jboss.seam.wiki.core.model.Blacklist


          }
         
          nodesToDelete.remove(nodeToDelete);         
       }      
      
       Blacklist blacklist = new Blacklist();
       blacklist.setEmail(getInstance().getEmail());
       blacklist.setIpAddress(getInstance().getRegisteredAddress());
       getEntityManager().persist(blacklist);      
      
       // Remove preferences for this user
        PreferenceProvider prefProvider = (PreferenceProvider)Component.getInstance("preferenceProvider");
        prefProvider.deleteUserPreferenceValues(getInstance());
View Full Code Here


       blacklist = entityManager.createQuery("select b from Blacklist b").getResultList();
    }
   
    public String removeBlacklist(Long id)
    {
       Blacklist bl = entityManager.find(Blacklist.class, id);
       if (bl != null)
       {
          entityManager.remove(bl);
          entityManager.flush();
       }      
View Full Code Here

TOP

Related Classes of org.jboss.seam.wiki.core.model.Blacklist

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.