Class UserGeneratedContentServiceImpl
- java.lang.Object
-
- org.apache.sling.cms.core.usergenerated.impl.UserGeneratedContentServiceImpl
-
- All Implemented Interfaces:
UserGeneratedContentService
public class UserGeneratedContentServiceImpl extends Object implements UserGeneratedContentService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.sling.cms.usergenerated.UserGeneratedContentService
UserGeneratedContentService.APPROVE_ACTION, UserGeneratedContentService.CONTENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description UserGeneratedContentServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate(UserGeneratedContentConfig config)org.apache.sling.api.resource.ResourcecreateUGCContainer(org.apache.sling.api.SlingHttpServletRequest request, UGCBucketConfig bucketConfig, String preview, String targetPath)voiddeactivate()
-
-
-
Method Detail
-
activate
public void activate(UserGeneratedContentConfig config) throws org.apache.sling.api.resource.LoginException
- Throws:
org.apache.sling.api.resource.LoginException
-
deactivate
public void deactivate()
-
createUGCContainer
public org.apache.sling.api.resource.Resource createUGCContainer(org.apache.sling.api.SlingHttpServletRequest request, UGCBucketConfig bucketConfig, String preview, String targetPath) throws org.apache.sling.api.resource.PersistenceException- Specified by:
createUGCContainerin interfaceUserGeneratedContentService- Throws:
org.apache.sling.api.resource.PersistenceException
-
-