public class ODFRightsContextConvertor extends AbstractLogEnabled implements RightContextConvertor, Serviceable
OrgUnit
they belong to.Modifier and Type | Field and Description |
---|---|
private Repository |
_repository |
private AmetysObjectResolver |
_resolver |
Constructor and Description |
---|
ODFRightsContextConvertor() |
Modifier and Type | Method and Description |
---|---|
Set<Object> |
convert(Object object)
Converts the object.
|
protected Set<String> |
getOrgUnits(ProgramItem content)
Get the orgunits for the content
|
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private AmetysObjectResolver _resolver
private Repository _repository
public ODFRightsContextConvertor()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
ServiceException
public Set<Object> convert(Object object)
RightContextConvertor
convert
in interface RightContextConvertor
object
- The initial objectprotected Set<String> getOrgUnits(ProgramItem content)
content
- the content