org.jasig.cas.services
Interface ServiceRegistryDao

All Known Implementing Classes:
InMemoryServiceRegistryDaoImpl, JpaServiceRegistryDaoImpl

public interface ServiceRegistryDao

Registry of all RegisteredServices.

Since:
3.1
Version:
$Revision: 42053 $ $Date: 2007-06-10 09:17:55 -0400 (Sun, 10 Jun 2007) $
Author:
Scott Battaglia

Method Summary
 boolean delete(RegisteredService registeredService)
          Remove the service from the data store.
 RegisteredService findServiceById(long id)
           
 java.util.List<RegisteredService> load()
          Retrieve the services from the data store.
 RegisteredService save(RegisteredService registeredService)
          Persist the service in the data store.
 

Method Detail

save

RegisteredService save(RegisteredService registeredService)
Persist the service in the data store.

Parameters:
registeredService - the service to persist.
Returns:
the updated RegisteredService.

delete

boolean delete(RegisteredService registeredService)
Remove the service from the data store.

Parameters:
registeredService - the service to remove.
Returns:
true if it was removed, false otherwise.

load

java.util.List<RegisteredService> load()
Retrieve the services from the data store.

Returns:
the collection of services.

findServiceById

RegisteredService findServiceById(long id)


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.