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 |
---|---|
WGStructEntry |
WGStructEntry.createChildEntry(WGContentType contentType,
java.lang.String title)
Create a child struct entry
|
WGStructEntry |
WGArea.createRootEntry(WGContentType contentType,
java.lang.String title)
Creates a new root entry for this area.
|
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).
|
WGStructEntry |
WGStructEntryList.getByIndex(int idx)
Retrieve a struct entry by it's index.
|
WGStructEntry |
WGStructEntryList.getByPosition(double pos)
Retrieves a struct entry by it's position number.
|
WGStructEntry |
WGAuthorisationException.getEntry()
Deprecated.
Only for backward compatibility. Use
WGAPIException.getCauseDocumentKey() instead. |
WGStructEntry |
WGStructEntry.getNextSibling()
Returns the next sibling by siblings index.
|
WGStructEntry |
WGStructEntry.getParentEntry()
Returns the parent entry, null if this is a root entry.
|
WGStructEntry |
WGDatabase.getParentEntry(WGStructEntry entry)
Returns the parent entry to the given struct entry
|
WGStructEntry |
WGContentType.getPreferredParent()
Returns the preferred parent for documents of this content type.
|
WGStructEntry |
WGStructEntry.getPreviousSibling()
Returns the previous sibling by siblings index
|
WGStructEntry |
WGStructEntry.getRootEntry()
Returns the root entry of this entry
|
WGStructEntry |
WGContent.getStructEntry()
Returns the struct entry, which this content document is attached to.
|
WGStructEntry |
WGDatabase.getStructEntryByKey(java.lang.Object structKey)
Returns a struct entry by it's struct key
|
WGStructEntry |
WGDatabase.getStructEntryByName(java.lang.String strName)
Retrieves a struct entry which has the given unique name
This method will only return struct entries if they themselves own the unique name, not if any content of them owns it.
|
WGStructEntry |
WGDatabase.getStructEntryBySequence(long seq)
Returns a struct entry by it's page sequence
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WGStructEntry> |
WGStructEntryList.asList()
Returns a basic
List containing the struct entries in their order. |
Modifier and Type | Method and Description |
---|---|
int |
WGStructEntry.compareTo(WGStructEntry otherEntry)
Compares two struct entries.
|
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.
|
void |
WGDatabase.createPageSequence(WGStructEntry struct,
boolean forceCreate) |
java.util.List<WGDocumentCore> |
WGDatabaseCore.getAllContent(WGStructEntry structEntry,
boolean includeArchived)
Retrieves a list of all content unter the specified struct entry.
|
java.util.Iterator<WGDocumentCore> |
WGDatabaseCore.getChildEntries(WGStructEntry structEntry,
WGPageOrderSet order)
Retrieves all child struct entries for the provided struct entry.
|
int |
WGDatabaseCoreFeatureReturnHierarchyCount.getChildEntryCount(WGStructEntry structEntry)
Retrieves the number of child entries of the given struct entry without actually retrieving them
|
int |
WGDatabaseCore.getContentCount(WGStructEntry entry)
Returns the number of total contents on this struct entry, including those that are not visible to the user.
|
int |
WGStructEntryList.getIndexOfEntry(WGStructEntry testEntry)
Returns the siblings index of the given entry in the siblings list.
|
WGDocumentCore |
WGDatabaseCore.getParentEntry(WGStructEntry entry)
Retrieves the parent struct enty for the given entry.
|
WGStructEntry |
WGDatabase.getParentEntry(WGStructEntry entry)
Returns the parent entry to the given struct entry
|
WGContent |
WGContentNavigator.getRelevantContent(WGStructEntry entry)
Returns the "relevant" content of a struct entry.
|
boolean |
WGDatabase.hasContents(WGStructEntry entry)
Returns if the given struct entry contains a content document.
|
void |
WGStructEntry.initializePagePublished(WGStructEntry source)
Initializes empty published fields on page level by the first released content versions' creation date
This is a tool method that can be used to init given published field from non CS5 sources, on migration for example.
|
boolean |
WGStructEntry.isDifferentParent(WGStructEntry clone)
Tests if this struct entry has a different parent than the given clone.
|
boolean |
WGLanguage.mayCreateContent(WGStructEntry page) |
PageRightsFilter.Right |
DefaultPageRightsFilter.mayEditChildPages(WGStructEntry page,
WGUserAccess userAccess) |
PageRightsFilter.Right |
PageRightsFilter.mayEditChildPages(WGStructEntry page,
WGUserAccess userAccess)
Called to determine if the current user may edit data on child pages of the given page
|
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
|
PageRightsFilter.Right |
DefaultPageRightsFilter.mayEditPage(WGStructEntry page,
WGUserAccess userAccess) |
PageRightsFilter.Right |
PageRightsFilter.mayEditPage(WGStructEntry page,
WGUserAccess userAccess)
Called to determine if the current user may edit data on the given page
|
PageRightsFilter.Right |
DefaultPageRightsFilter.mayReadContent(WGStructEntry page,
WGUserAccess userAccess) |
PageRightsFilter.Right |
PageRightsFilter.mayReadContent(WGStructEntry page,
WGUserAccess userAccess)
Called to determine if the current user may read contents on the given page
|
boolean |
WGDatabaseCore.moveStructEntry(WGStructEntry entry,
WGDocument newParent)
Moves a struct entry to a new parent document, either another struct entry of an area.
|
boolean |
WGDatabase.moveStructEntry(WGStructEntry entry,
WGDocument newParent)
Moves a struct entry to a new position.
|
void |
WGDatabase.performContentCreationCheck(WGStructEntry entry,
WGLanguage language)
Controls if the current user may create a content document with the given data.
|
void |
WGDatabase.performStructMoveCheck(WGStructEntry entry,
WGDocument newParent)
Controls if the current user may move a struct entry to the given new parent.
|
WGContent |
WGLanguageChooser.selectContentForPage(WGStructEntry page,
boolean authoring)
Chooses the language version of a content document for a given pagee
|
java.util.List<WGContent> |
WGLanguageChooser.selectContentPriorityOrder(WGStructEntry entry,
boolean authoring)
Orders the content of a struct entry in the order they should be priorized language-wise.
|
boolean |
WGContentType.setPreferredParent(WGStructEntry parent)
Sets the preferred parent for documents of this content type.
|
void |
WGPageVisitor.visit(WGStructEntry struct)
Visitor on struct entries
|
Modifier and Type | Method and Description |
---|---|
static WGStructEntryList |
WGStructEntryList.create(java.util.List<WGStructEntry> list)
Create a WGStructEntryList from an ordinary java.util.List filled with WGStructEntry objects
|
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) |
java.util.List |
WGFakeDatabase.getAllContent(WGStructEntry structEntry,
boolean includeCurrent) |
java.util.Iterator<WGDocumentCore> |
WGFakeDatabase.getChildEntries(WGStructEntry structEntry,
WGPageOrderSet order) |
int |
WGFakeContentStore.getChildEntryCount(WGStructEntry structEntry) |
int |
WGFakeDatabase.getContentCount(WGStructEntry entry) |
WGDocumentCore |
WGFakeDatabase.getParentEntry(WGStructEntry entry) |
boolean |
WGFakeDatabase.moveStructEntry(WGStructEntry entry,
WGDocument newParent) |
Modifier and Type | Method and Description |
---|---|
WGDocumentCore |
WGDatabaseImpl.createContent(WGStructEntry structEntry,
WGLanguage language,
java.lang.String title,
int version) |
java.util.List |
WGDatabaseImpl.getAllContent(WGStructEntry structEntry,
boolean includeArchived) |
java.util.Iterator<WGDocumentCore> |
WGDatabaseImpl.getChildEntries(WGStructEntry structEntry,
WGPageOrderSet order) |
int |
WGDatabaseImpl.getContentCount(WGStructEntry entry) |
WGDocumentCore |
WGDatabaseImpl.getParentEntry(WGStructEntry entry) |
boolean |
WGDatabaseImpl.moveStructEntry(WGStructEntry entry,
WGDocument newParent) |
Modifier and Type | Method and Description |
---|---|
WGDocumentCore |
SimpleContentSource.createContent(WGStructEntry structEntry,
WGLanguage language,
java.lang.String title,
int version) |
java.util.List |
SimpleContentSource.getAllContent(WGStructEntry structEntry,
boolean includeArchived) |
java.util.Iterator<WGDocumentCore> |
SimpleContentSource.getChildEntries(WGStructEntry structEntry,
WGPageOrderSet order) |
int |
SimpleContentSource.getContentCount(WGStructEntry entry) |
WGDocumentCore |
SimpleContentSource.getParentEntry(WGStructEntry entry) |
boolean |
SimpleContentSource.moveStructEntry(WGStructEntry entry,
WGDocument newParent) |