ccc.persistence
Interface IRepositoryFactory


public interface IRepositoryFactory

API for creating repositories.

Author:
Civic Computing Ltd.

Nested Class Summary
static class IRepositoryFactory.DEFAULT
          Factory for RepositoryFactory objects.
 
Method Summary
 ActionRepository createActionRepository()
          Create an instance of the ActionRepository interface.
 CommentRepository createCommentRepo()
          Create an instance of the CommentRepository interface.
 DataRepository createDataRepository()
          Create an instance of the DataRepository interface.
 GroupRepository createGroupRepo()
          Create an instance of the GroupRepository interface.
 LogEntryRepository createLogEntryRepo()
          Create an instance of the LogEntryRepository interface.
 ResourceRepository createResourceRepository()
          Create an instance of the ResourceRepository interface.
 UserRepository createUserRepo()
          Create an instance of the UserRepository interface.
 

Method Detail

createLogEntryRepo

LogEntryRepository createLogEntryRepo()
Create an instance of the LogEntryRepository interface.

Returns:
A repository instance.

createUserRepo

UserRepository createUserRepo()
Create an instance of the UserRepository interface.

Returns:
A repository instance.

createResourceRepository

ResourceRepository createResourceRepository()
Create an instance of the ResourceRepository interface.

Returns:
A repository instance.

createDataRepository

DataRepository createDataRepository()
Create an instance of the DataRepository interface.

Returns:
A repository instance.

createActionRepository

ActionRepository createActionRepository()
Create an instance of the ActionRepository interface.

Returns:
A repository instance.

createCommentRepo

CommentRepository createCommentRepo()
Create an instance of the CommentRepository interface.

Returns:
A repository instance.

createGroupRepo

GroupRepository createGroupRepo()
Create an instance of the GroupRepository interface.

Returns:
A repository instance.


Copyright © 2010. All Rights Reserved.