|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.webengine.app.impl.DefaultModule
public class DefaultModule
Field Summary | |
---|---|
static Log |
log
|
Constructor Summary | |
---|---|
DefaultModule(ModuleHandler handler)
|
Method Summary | |
---|---|
void |
flushCache()
Deprecated. |
java.util.List<LinkDescriptor> |
getActiveLinks(Resource context,
java.lang.String category)
|
AdapterType |
getAdapter(Resource ctx,
java.lang.String name)
Deprecated. |
java.util.List<java.lang.String> |
getAdapterNames(Resource ctx)
Deprecated. |
AdapterType[] |
getAdapters()
Deprecated. |
java.util.List<AdapterType> |
getAdapters(Resource ctx)
Deprecated. |
java.util.List<java.lang.String> |
getEnabledAdapterNames(Resource ctx)
Deprecated. |
java.util.List<AdapterType> |
getEnabledAdapters(Resource ctx)
Deprecated. |
WebEngine |
getEngine()
|
ScriptFile |
getFile(java.lang.String path)
Gets a file using the configured directory stack. |
java.util.List<LinkDescriptor> |
getLinks(java.lang.String category)
|
java.lang.String |
getMediaTypeId(javax.ws.rs.core.MediaType mt)
Deprecated. |
Messages |
getMessages()
|
java.util.Map<java.lang.String,java.lang.String> |
getMessages(java.lang.String language)
|
java.lang.String |
getName()
|
java.util.List<ResourceBinding> |
getResourceBindings()
Deprecated. |
java.io.File |
getRoot()
|
Resource |
getRootObject(WebContext ctx)
Deprecated. |
java.io.File |
getSkinDir()
|
java.lang.String |
getSkinPathPrefix()
Deprecated. |
ScriptFile |
getSkinResource(java.lang.String path)
Gets a skin resource input stream. |
Module |
getSuperModule()
|
java.lang.String |
getTemplateFileExt()
Deprecated. |
ResourceType |
getType(java.lang.String typeName)
Deprecated. |
ResourceType[] |
getTypes()
Deprecated. |
Validator |
getValidator(java.lang.String docType)
Deprecated. |
boolean |
isDerivedFrom(java.lang.String moduleName)
Deprecated. |
java.lang.Class<?> |
loadClass(java.lang.String className)
Loads a class given its name. |
void |
loadMessages()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Log log
Constructor Detail |
---|
public DefaultModule(ModuleHandler handler)
Method Detail |
---|
public WebEngine getEngine()
getEngine
in interface Module
public java.lang.String getName()
getName
in interface Module
public java.lang.Class<?> loadClass(java.lang.String className) throws java.lang.ClassNotFoundException
Module
The scripting class loader will be used to load the class.
loadClass
in interface Module
className
- the class name
java.lang.ClassNotFoundException
public java.io.File getRoot()
getRoot
in interface Module
public Module getSuperModule()
getSuperModule
in interface Module
public ScriptFile getSkinResource(java.lang.String path) throws java.io.IOException
Module
getSkinResource
in interface Module
java.io.IOException
public ScriptFile getFile(java.lang.String path)
Module
Note that the implementation may cache the results. To clear any cached
data, you should call the Module.flushCache()
method.
getFile
in interface Module
path
- the file path
public java.io.File getSkinDir()
public void loadMessages()
public Messages getMessages()
getMessages
in interface Module
public java.util.Map<java.lang.String,java.lang.String> getMessages(java.lang.String language)
getMessages
in interface MessagesProvider
getMessages
in interface Module
public java.util.List<LinkDescriptor> getActiveLinks(Resource context, java.lang.String category)
getActiveLinks
in interface Module
public java.util.List<LinkDescriptor> getLinks(java.lang.String category)
getLinks
in interface Module
public java.lang.String toString()
toString
in class java.lang.Object
@Deprecated public void flushCache()
flushCache
in interface Module
@Deprecated public java.lang.String getTemplateFileExt()
getTemplateFileExt
in interface Module
@Deprecated public java.lang.String getMediaTypeId(javax.ws.rs.core.MediaType mt)
getMediaTypeId
in interface Module
@Deprecated public java.lang.String getSkinPathPrefix()
Module
This prefix is exposed to templates as ${skinPath}.
getSkinPathPrefix
in interface Module
@Deprecated public Resource getRootObject(WebContext ctx)
getRootObject
in interface Module
@Deprecated public AdapterType getAdapter(Resource ctx, java.lang.String name)
Module
getAdapter
in interface Module
ctx
- the target resourcename
- the adapter name
@Deprecated public java.util.List<java.lang.String> getAdapterNames(Resource ctx)
Module
getAdapterNames
in interface Module
ctx
- the context resource
@Deprecated public AdapterType[] getAdapters()
Module
getAdapters
in interface Module
@Deprecated public java.util.List<AdapterType> getAdapters(Resource ctx)
Module
getAdapters
in interface Module
ctx
- the context resource
@Deprecated public java.util.List<java.lang.String> getEnabledAdapterNames(Resource ctx)
Module
Enabled services are those adapters which can be accessed in the current security context.
getEnabledAdapterNames
in interface Module
ctx
- the context resource
@Deprecated public java.util.List<AdapterType> getEnabledAdapters(Resource ctx)
Module
Enabled adapters are those adapters which can be accessed in the current security context.
getEnabledAdapters
in interface Module
ctx
- the context resource
@Deprecated public java.util.List<ResourceBinding> getResourceBindings()
getResourceBindings
in interface Module
@Deprecated public ResourceType getType(java.lang.String typeName)
Module
ResourceType
instance given its name.
The web type lookup is performed in the following order:
getType
in interface Module
typeName
- the type name
@Deprecated public ResourceType[] getTypes()
Module
getTypes
in interface Module
@Deprecated public Validator getValidator(java.lang.String docType)
getValidator
in interface Module
@Deprecated public boolean isDerivedFrom(java.lang.String moduleName)
isDerivedFrom
in interface Module
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |