com.atlassian.confluence.content.CustomContentManager |
Known Indirect Subclasses |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CustomContentManager.SortField | |||||||||||
CustomContentManager.SortOrder |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.confluence.core.ContentEntityManager
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
this method is evil. Do not call.
| |||||||||||
Get the results of a query for PluginContentEntityObjects
| |||||||||||
Get an iterator of all the current, non-deleted content of the given type in the given space.
| |||||||||||
Find the first result of a query for PluginContentEntityObjects.
| |||||||||||
Get the total count of current, non-deleted content of the given type in the given space.
| |||||||||||
Find a single CustomContentEntityObject by its id
| |||||||||||
Create a new CustomContentEntityObject for the given module.
| |||||||||||
Remove all plugin content of a particular type from a given space.
| |||||||||||
Remove all plugin content (of all types) from a given space.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.confluence.core.ContentEntityManager
|
This method is deprecated.
this method is evil. Do not call.
This method is required for space exports to work properly. Which is a good sign that space exports are evil and need to be rewritten. If you call it from anywhere else, I will kill a puppy.
space | a space |
---|
Get the results of a query for PluginContentEntityObjects
query | the query to perform |
---|---|
offset | the first result to return |
maxResults | the maximum number of results to return |
Get an iterator of all the current, non-deleted content of the given type in the given space.
space | the space to retrieve content from |
---|---|
contentModuleKey | the plugin module complete key of the content to be searched for |
sortField | what field to sort the content on |
sortOrder | which direction to sort the content in |
Find the first result of a query for PluginContentEntityObjects. This is a convenience method for queries where we expect to only retrieve a single result.
query | the query to perform |
---|
Get the total count of current, non-deleted content of the given type in the given space.
space | the space to count content in |
---|---|
contentModuleKey | the plugin module complete key of the content to be searched for |
Find a single CustomContentEntityObject by its id
id | the ID of the entity to retrieve |
---|
Create a new CustomContentEntityObject for the given module. This method will ensure that the plugin delegate and various necessary arguments are set.
contentModuleKey | the module complete key of the content's ContentAdapter module |
---|
Remove all plugin content of a particular type from a given space.
contentModuleKey | the plugin module complete key of the content to be searched for |
---|---|
space | the space from which to delete all content of that type |
Remove all plugin content (of all types) from a given space. This usually happens when a space is removed. Plugins wishing to perform extra work on space removal should listen for the PluginContentWillBeRemovedForSpaceEvent event.