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 |
---|---|
WGContentType |
WGDatabase.createContentType(java.lang.String name)
Creates a new content type.
|
WGContentType |
WGStructEntry.getContentType()
Returns the content type for this struct entry
|
WGContentType |
WGHierarchicalDatabase.getContentType()
Retrieves the WGAPI Content Type that this HDB uses to construct contents
|
WGContentType |
WGDatabase.getContentType(java.lang.String name)
Returns a content type document of the given name
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WGContentType> |
WGDatabase.getContentTypes()
Returns a list with all content types stored in this database
|
Modifier and Type | Method and Description |
---|---|
void |
WGStructEntry.changeContentType(WGContentType contentType)
Change the content type for this struct entry and all its contents.
|
WGStructEntry |
WGStructEntry.createChildEntry(WGContentType contentType,
java.lang.String title)
Create a child struct entry
|
WGContent |
WGContent.createChildPage(WGContentType contentType,
java.lang.String title)
Creates a new child page, including struct entry and content.
|
WGContent |
WGStructEntry.createChildPage(WGContentType contentType,
java.lang.String title,
java.lang.String language)
Creates a new child page, including struct entry and content.
|
WGStructEntry |
WGArea.createRootEntry(WGContentType contentType,
java.lang.String title)
Creates a new root entry for this area.
|
WGContent |
WGArea.createRootPage(WGContentType contentType,
java.lang.String title)
Variant of
WGArea.createRootPage(WGContentType, String, String) that always uses default language. |
WGContent |
WGArea.createRootPage(WGContentType contentType,
java.lang.String title,
java.lang.String language)
Creates a new root page, including struct entry and content.
|
WGDocumentCore |
WGDatabaseCore.createStructEntry(java.lang.Object key,
WGDocument reference,
WGContentType contentType)
Creates a struct entry.
|
WGStructEntry |
WGDatabase.createStructEntry(java.lang.Object key,
WGDocument parent,
WGContentType contentType,
java.lang.String title)
Creates a new struct entry
|
WGStructEntry |
WGDatabase.createStructEntry(WGDocument parent,
WGContentType contentType,
java.lang.String title)
Equivalent to calling createStructKey(null, parent, contentType, title).
|
boolean |
WGDatabaseCore.isContentTypeUsed(WGContentType ct)
Tests if the given content type is still in usage, i.e. if there are struct entries referencing it
|
void |
WGStructEntry.performChildCreationCheck(WGContentType ct)
Checks if the current user may create a new child struct entry of the given content type.
|
void |
WGStructEntry.performChildPageCreationCheck(WGContentType ct,
WGLanguage lang)
Checks if the current user may create a new child page with the given data.
|
void |
WGArea.performRootCreationCheck(WGContentType ct)
Checks if the current user may create a new root struct entry of the given content type.
|
void |
WGArea.performRootPageCreationCheck(WGContentType ct,
WGLanguage lang)
Checks if the current user may create a new root page with the given data.
|
void |
WGDatabase.performStructCreationCheck(java.lang.Object key,
WGDocument parent,
WGContentType contentType)
Controls if the current user may create a struct entry with the given data.
|
Modifier and Type | Method and Description |
---|---|
WGDocumentCore |
WGFakeDatabase.createStructEntry(java.lang.Object key,
WGDocument reference,
WGContentType contentType) |
boolean |
WGFakeContentStore.isContentTypeUsed(WGContentType ct) |
Modifier and Type | Method and Description |
---|---|
WGDocumentCore |
WGDatabaseImpl.createStructEntry(java.lang.Object key,
WGDocument reference,
WGContentType contentType) |
boolean |
WGDatabaseImpl.isContentTypeUsed(WGContentType ct) |
Modifier and Type | Method and Description |
---|---|
WGDocumentCore |
SimpleContentSource.createStructEntry(java.lang.Object key,
WGDocument reference,
WGContentType contentType) |
boolean |
SimpleContentSource.isContentTypeUsed(WGContentType ct) |