Package | Description |
---|---|
de.innovationgate.webgate.api |
Basic functionality of the WGAPI including most of the database-independent functionality.
|
de.innovationgate.webgate.api.fake |
Fake implementations for WGAPI, used by some WGAPI database types if they do not support certain document types.
|
de.innovationgate.webgate.api.query.rss | |
de.innovationgate.webgate.api.templates |
Templates to create your own simple content/design/repository sources.
|
Modifier and Type | Method and Description |
---|---|
WGLanguage |
WGDatabase.createLanguage(java.lang.String name)
Creates a new language definition only by name, which is also used as title
|
WGLanguage |
WGDatabase.createLanguage(java.lang.String name,
java.lang.String title)
Creates a new language definition.
|
WGLanguage |
WGContent.getLanguage()
Returns the language of this content document.
|
WGLanguage |
WGHierarchicalDatabase.getLanguage()
Returns the language that the HDB uses to create content
|
WGLanguage |
WGDatabase.getLanguage(java.lang.String name)
Returns the language of that name (code) if it exists.
|
WGLanguage |
WGDatabase.getLanguageForLocale(java.util.Locale locale)
Retrieves the best matching language definition for the given locale.
|
WGLanguage |
WGLanguageChooser.selectDatabaseLanguage(WGDatabase db)
Chooses a language to use for the given database in some contextless functionality
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,WGLanguage> |
WGDatabase.getLanguages()
Returns a map of WGLanguage objects, mapped by their language name (code)
|
java.util.List<WGLanguage> |
WGLanguageChooser.getQueryLanguages(WGDatabase db)
Chooses languages to select in a query.
|
Modifier and Type | Method and Description |
---|---|
WGContent |
WGStructEntry.createContent(WGLanguage language,
java.lang.String title)
Create a content document under this struct entry.
|
WGContent |
WGDatabase.createContent(WGStructEntry entry,
WGLanguage language,
java.lang.String title)
Creates a new content document.
|
WGDocumentCore |
WGDatabaseCore.createContent(WGStructEntry structEntry,
WGLanguage language,
java.lang.String title,
int version)
Called to create a content document.
|
WGContent |
WGDatabase.createDraftCopy(WGContent content,
WGLanguage language)
Creates a draft copy of the given content, using the language given as
parameter.
|
boolean |
WGDatabaseCore.isLanguageUsed(WGLanguage lang)
Tests if the given language is still in usage, i.e. if there are contents referencing it
|
boolean |
WGStructEntry.mayCreateContent(WGLanguage lang)
Test if user may create content in a given language
|
PageRightsFilter.Right |
DefaultPageRightsFilter.mayEditContent(WGStructEntry page,
WGUserAccess userAccess,
WGLanguage wgLanguage) |
PageRightsFilter.Right |
PageRightsFilter.mayEditContent(WGStructEntry page,
WGUserAccess userAccess,
WGLanguage wgLanguage)
Called to determine if the current user may edit content of a given language on this page
|
void |
WGStructEntry.performChildPageCreationCheck(WGContentType ct,
WGLanguage lang)
Checks if the current user may create a new child page with the given data.
|
void |
WGDatabase.performContentCreationCheck(WGStructEntry entry,
WGLanguage language)
Controls if the current user may create a content document with the given data.
|
void |
WGArea.performRootPageCreationCheck(WGContentType ct,
WGLanguage lang)
Checks if the current user may create a new root page with the given data.
|
Constructor and Description |
---|
WGDatabase.FreeContentVersionFinder(WGStructEntry entry,
WGLanguage language) |
Modifier and Type | Method and Description |
---|---|
WGDocumentCore |
WGFakeDatabase.createContent(WGStructEntry structEntry,
WGLanguage language,
java.lang.String title,
int version) |
boolean |
WGFakeContentStore.isLanguageUsed(WGLanguage lang) |
Modifier and Type | Method and Description |
---|---|
WGDocumentCore |
WGDatabaseImpl.createContent(WGStructEntry structEntry,
WGLanguage language,
java.lang.String title,
int version) |
boolean |
WGDatabaseImpl.isLanguageUsed(WGLanguage lang) |
Modifier and Type | Method and Description |
---|---|
WGDocumentCore |
SimpleContentSource.createContent(WGStructEntry structEntry,
WGLanguage language,
java.lang.String title,
int version) |
boolean |
SimpleContentSource.isLanguageUsed(WGLanguage lang) |