|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface I_CmsADEConfiguration
Configurable & expandable configuration.
| Method Summary | |
|---|---|
CmsResource |
createNewElement(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request,
java.lang.String type,
java.util.Locale locale)
Creates a new element of a given type at the configured location. |
java.util.Collection<CmsResource> |
getCreatableElements(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request)
Returns the list of creatable elements. |
int |
getFavoriteListMaxSize(CmsObject cms)
Returns the maximal size of the favorite list. |
CmsFormatterConfiguration |
getFormattersForResource(CmsObject cms,
java.lang.String containerPageRootPath,
CmsResource res)
Returns the formatter configuration for a given resource. |
java.lang.String |
getNextNewFileName(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request,
java.lang.String type)
Returns the name of the next new file of the given type to be created. |
int |
getRecentListMaxSize(CmsObject cms)
Returns the maximal size of the recent list. |
java.util.Collection<CmsResource> |
getSearchableResourceTypes(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request)
Returns the list of searchable resource types. |
void |
init(CmsObject cms)
Initializes the configuration. |
boolean |
isCreatableType(CmsObject cms,
java.lang.String currentUri,
java.lang.String typeName)
Returns if the given type has a valid configuration to be created. |
| Method Detail |
|---|
CmsResource createNewElement(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request,
java.lang.String type,
java.util.Locale locale)
throws CmsException
cms - the current opencms contextcntPageUri - the container page urirequest - the current requesttype - the type of the element to be createdlocale - the content locale
CmsException - if something goes wrong
java.util.Collection<CmsResource> getCreatableElements(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request)
throws CmsException
cms - the current opencms contextcntPageUri - the container page urirequest - the current request
CmsException - if something goes wrong
int getFavoriteListMaxSize(CmsObject cms)
throws CmsException
cms - the current opencms context
CmsException - if something goes wrong
CmsFormatterConfiguration getFormattersForResource(CmsObject cms,
java.lang.String containerPageRootPath,
CmsResource res)
throws CmsException
cms - the OpenCms user contextcontainerPageRootPath - the root path to the container page that includes the element resourceres - the container page element resource
CmsException - if something goes wrong
java.lang.String getNextNewFileName(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request,
java.lang.String type)
throws CmsException
cms - the current opencms contextcntPageUri - the container page urirequest - the current requesttype - the resource type name
CmsException - if something goes wrong
int getRecentListMaxSize(CmsObject cms)
throws CmsException
cms - the current opencms context
CmsException - if something goes wrong
java.util.Collection<CmsResource> getSearchableResourceTypes(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request)
throws CmsException
cms - the current opencms contextcntPageUri - the container page urirequest - the current request
CmsException - if something goes wrongvoid init(CmsObject cms)
cms - the CMS object
boolean isCreatableType(CmsObject cms,
java.lang.String currentUri,
java.lang.String typeName)
throws CmsException
cms - the CMS contextcurrentUri - the current URItypeName - the resource type name
true if the type can be created as new
CmsException - if something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||