org.sharengo.wikitty
Class WikittyDAO<E extends BusinessEntityWikitty>

java.lang.Object
  extended by org.sharengo.wikitty.WikittyDAO<E>

public class WikittyDAO<E extends BusinessEntityWikitty>
extends Object


Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
WikittyDAO()
           
 
Method Summary
 void addLabel(String wikittyId, String label)
           
 String asyncExportAllByCriteria(Criteria criteria)
           
 String asyncExportAllByExample(E e)
           
 String asyncImportFromUri(String uri)
           
 void cancelJob(String jobId)
           
 void delete(Collection<String> ids)
           
 void delete(String id)
           
 boolean equals(Object obj)
           
 PagedResult<E> findAll()
           
 Set<String> findAllAppliedLabels(String wikittyId)
           
 PagedResult<E> findAllByCriteria(Criteria criteria)
           
 PagedResult<E> findAllByExample(E e, int firstIndex, int endIndex, String... fieldFacet)
           
 PagedResult<Wikitty> findAllByLabel(String label, int firstIndex, int endIndex)
           
 E findByCriteria(Criteria criteria)
           
 E findByExample(E e)
           
 Wikitty findByLabel(String label)
           
 void freeJobResource(String jobId)
           
 WikittyService getWikittyService()
           
 int hashCode()
           
 boolean hasType(String wikittyId)
           
 JobState infoJob(String jobId)
           
 List<E> restore(List<String> id)
           
 E restore(String id)
           
<E extends BusinessEntity>
E
restore(String id, Class<E> clazz)
           
 Map<E,Integer> restoreChildren(String wikittyId)
           
 Map<E,Integer> restoreChildren(String wikittyId, Criteria filter)
           
 Map.Entry<E,Integer> restoreNode(String wikittyId)
           
 Map.Entry<E,Integer> restoreNode(String wikittyId, Criteria filter)
           
 Tree restoreTree(String wikittyId)
           
 Wikitty restoreVersion(String wikittyId, String version)
           
 void setProxy(WikittyProxy proxy)
           
 void setWikittyService(WikittyService wikittyService)
           
 E store(E e)
           
 List<E> store(List<E> objets)
           
 String syncExportAllByCriteria(Criteria criteria)
           
 String syncExportAllByExample(E e)
           
 void syncImportFromUri(String uri)
           
 void syncImportFromXml(String xml)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

WikittyDAO

public WikittyDAO()
Method Detail

addLabel

public void addLabel(String wikittyId,
                     String label)

asyncExportAllByCriteria

public String asyncExportAllByCriteria(Criteria criteria)

asyncExportAllByExample

public String asyncExportAllByExample(E e)

asyncImportFromUri

public String asyncImportFromUri(String uri)

cancelJob

public void cancelJob(String jobId)

delete

public void delete(Collection<String> ids)

delete

public void delete(String id)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

findAllAppliedLabels

public Set<String> findAllAppliedLabels(String wikittyId)

findAll

public PagedResult<E> findAll()

findAllByCriteria

public PagedResult<E> findAllByCriteria(Criteria criteria)

findAllByExample

public PagedResult<E> findAllByExample(E e,
                                       int firstIndex,
                                       int endIndex,
                                       String... fieldFacet)

findAllByLabel

public PagedResult<Wikitty> findAllByLabel(String label,
                                           int firstIndex,
                                           int endIndex)

findByCriteria

public E findByCriteria(Criteria criteria)

findByExample

public E findByExample(E e)

findByLabel

public Wikitty findByLabel(String label)

freeJobResource

public void freeJobResource(String jobId)

getWikittyService

public WikittyService getWikittyService()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

infoJob

public JobState infoJob(String jobId)

restore

public List<E> restore(List<String> id)

restore

public E restore(String id)

restore

public <E extends BusinessEntity> E restore(String id,
                                            Class<E> clazz)

restoreTree

public Tree restoreTree(String wikittyId)

restoreNode

public Map.Entry<E,Integer> restoreNode(String wikittyId)

restoreNode

public Map.Entry<E,Integer> restoreNode(String wikittyId,
                                        Criteria filter)

restoreChildren

public Map<E,Integer> restoreChildren(String wikittyId)

restoreChildren

public Map<E,Integer> restoreChildren(String wikittyId,
                                      Criteria filter)

restoreVersion

public Wikitty restoreVersion(String wikittyId,
                              String version)

hasType

public boolean hasType(String wikittyId)

setWikittyService

public void setWikittyService(WikittyService wikittyService)

store

public E store(E e)

store

public List<E> store(List<E> objets)

syncExportAllByCriteria

public String syncExportAllByCriteria(Criteria criteria)

syncExportAllByExample

public String syncExportAllByExample(E e)

syncImportFromUri

public void syncImportFromUri(String uri)

syncImportFromXml

public void syncImportFromXml(String xml)

toString

public String toString()
Overrides:
toString in class Object

setProxy

public void setProxy(WikittyProxy proxy)


Copyright © 2009-2010 CodeLutin. All Rights Reserved.