org.pentaho.platform.repository2.unified.jcr
Interface IOwnerLookupHelper
- All Known Implementing Classes:
- DefaultOwnerLookupHelper
public interface IOwnerLookupHelper
Provides a pluggable way to lookup the owner of a RepositoryFile. Typically, the owner of a file is stored
with the access control information for the file. This is because the owner can affect access control decisions. But
it's also a nice piece of metadata to store with the RepositoryFile. So implementations of this interface
know how to fetch the owner from wherever it resides and convert it to the required RepositoryFileSid.
- Author:
- mlowery
getOwner
RepositoryFileSid getOwner(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException