public class BlogRightsContextConvertor extends AbstractLogEnabled implements RightContextConvertor, Serviceable, Contextualizable
Modifier and Type | Field and Description |
---|---|
private Context |
_context |
private SiteManager |
_siteManager |
Constructor and Description |
---|
BlogRightsContextConvertor() |
Modifier and Type | Method and Description |
---|---|
void |
contextualize(Context context) |
Set<Object> |
convert(Object object)
Converts the object.
|
protected boolean |
isBlogContext(Object context)
Test if the context is a blog site's context.
|
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private SiteManager _siteManager
public BlogRightsContextConvertor()
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
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 boolean isBlogContext(Object context)
context
- the context to test.