public class ProjectXsltHelper extends Object implements Serviceable, Contextualizable, LogEnabled
| Modifier and Type | Field and Description |
|---|---|
private static Context |
_context |
private static Logger |
_logger |
private static ProjectManager |
_projectManager |
private static SiteManager |
_siteManager |
| Constructor and Description |
|---|
ProjectXsltHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextualize(Context context) |
void |
enableLogging(Logger logger) |
static boolean |
isResourceFromWorkspace(String resourceId)
True if the resource comes from workspaces
|
static String |
project()
Returns the current project
|
static Node |
resourceSite(String projectResourceId)
Get the site of a project's resource
|
void |
service(ServiceManager manager) |
private static SiteManager _siteManager
private static ProjectManager _projectManager
public ProjectXsltHelper()
public void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void enableLogging(Logger logger)
enableLogging in interface LogEnabledpublic void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic static boolean isResourceFromWorkspace(String resourceId)
resourceId - the resource idpublic static Node resourceSite(String projectResourceId)
projectResourceId - The resource id