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, setupLoggerprivate SiteManager _siteManager
public BlogRightsContextConvertor()
public void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void service(ServiceManager smanager) throws ServiceException
service in interface ServiceableServiceExceptionpublic Set<Object> convert(Object object)
RightContextConvertorconvert in interface RightContextConvertorobject - The initial objectprotected boolean isBlogContext(Object context)
context - the context to test.