org.apache.lenya.cms.repository
Interface RepositoryManager

All Known Implementing Classes:
RepositoryManagerImpl

public interface RepositoryManager

Repository manager.

Version:
$Id:$

Field Summary
static java.lang.String ROLE
          The role of the service.
 
Method Summary
 Session createSession(Identity identity, boolean modifiable)
           
 

Field Detail

ROLE

static final java.lang.String ROLE
The role of the service.

Method Detail

createSession

Session createSession(Identity identity,
                      boolean modifiable)
                      throws RepositoryException
Parameters:
identity - The identity the session belongs to.
modifiable - Determines if the repository items in this session should be modifiable.
Returns:
A session.
Throws:
RepositoryException - if an error occurs.


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.