com.atlassian.crowd.model.directory
Interface DirectoryDAO

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
DirectoryDAOHibernate

public interface DirectoryDAO
extends ObjectDao


Method Summary
 Directory add(Directory directory)
           
 Directory findById(long id)
           
 Directory findByName(java.lang.String name)
           
 void remove(Directory directory)
           
 java.util.List<Directory> search(EntityQuery query)
           
 Directory update(Directory directory)
           
 
Methods inherited from interface com.atlassian.crowd.util.persistence.hibernate.ObjectDao
getPersistentClass, load, remove, save, update
 

Method Detail

findById

Directory findById(long id)
                   throws ObjectNotFoundException
Throws:
ObjectNotFoundException

findByName

Directory findByName(java.lang.String name)
                     throws ObjectNotFoundException
Throws:
ObjectNotFoundException

add

Directory add(Directory directory)

update

Directory update(Directory directory)

remove

void remove(Directory directory)

search

java.util.List<Directory> search(EntityQuery query)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.