public interface CommunityContext
Modifier and Type | Method and Description |
---|---|
boolean |
checkIfUserIsAdmin(UserManager um,
String userId)
Check if the specified user id belong to the community administrator group.
|
boolean |
checkIfUserIsGroupAdmin(UserManager um,
String userId)
Check if the specified user id belong to the group admin or not.
|
boolean |
checkIfUserIsModerator(UserManager um,
String userId)
Check if the specified user id belongs to the moderator group
|
String |
getActivityStreamRootPath()
Get activity stream root path
|
String |
getCommunityGroupId()
Return the community group id of this context.
|
String |
getCommunityGroupPath()
Get the community group path
|
String |
getCommunityGroupRootPath() |
String |
getCommunityUserRootPath() |
String |
getContentRootPath()
Get the content root path for the site in this context.
|
String |
getDesignRootPath()
Get the design root path
|
String |
getFullyQualifiedGroupName(String groupName)
Get the fully qualified group name based on this context
|
String |
getSiteBannerPath()
Get the site banner path for the specified siteId
|
String |
getSiteId()
Return the site id of this context.
|
String |
getSitePagePath()
This method returns the path of the root page path of the site.
|
String |
getSitePath()
Get the site path
|
String |
getSitePayloadPath()
Get the location where the site payload is created and replicated
|
String |
getSiteThemePath() |
String |
getSiteUserGroupName(CommunityUserGroup userGroup) |
SocialResourceConfiguration |
getStorageConfig()
Return the social configuration associated with the tenant.
|
String |
getStorageConfigurationPath()
Get the storage configuration path.
|
Tenant |
getTenant()
Get {link Tenant}
|
String |
getTenantConfigPath()
Get the configuration path
|
String |
getTenantGroupRootPath() |
String |
getTenantId()
Get the tenant id
|
String |
getTenantUserGroupName(String groupName)
Get the tenant user group name for the specified group
|
String |
getTenantUserRootPath() |
String |
getUgcPath()
Get the ugc root path.
|
String |
getUgcSitePath()
Get the ugc site path.
|
String |
getUserGroupPath(String userGroupName)
Get the user group path of a tenant.
|
String |
getUserGroupRootPath()
Get the user group root path of this context.
|
String |
getUserRootPath()
Get the user root path of this context.
|
boolean |
isMultiTenantSupported()
Check if the multitenant deployment is supported.
|
boolean |
isUserAdmin(UserManager um,
String userId)
Check if the specified user id is an administrator base on this context.
|
Tenant getTenant()
String getTenantId()
String getSiteId()
String getCommunityGroupId()
String getContentRootPath()
String getTenantConfigPath()
String getSitePayloadPath()
String getSitePagePath()
CommunitySiteConstants.RESOURCE_TYPE
type.String getDesignRootPath()
String getSiteThemePath()
String getSitePath()
String getCommunityGroupPath()
String getSiteBannerPath()
boolean isMultiTenantSupported()
String getUgcPath()
String getUgcSitePath()
String getActivityStreamRootPath()
String getTenantUserGroupName(String groupName)
groupName
- getTenantSiteGroupPath(String, String, UserGroup)
String getSiteUserGroupName(CommunityUserGroup userGroup)
String getFullyQualifiedGroupName(String groupName)
groupName
- getTenantSiteGroupPath(String, String, UserGroup)
String getUserGroupRootPath()
tenantId
- String getUserRootPath()
String getUserGroupPath(String userGroupName)
tenantId
- boolean checkIfUserIsAdmin(UserManager um, String userId) throws RepositoryException
um
- userId
- RepositoryException
to verify if the specified user is a group administrator.
boolean checkIfUserIsGroupAdmin(UserManager um, String userId) throws RepositoryException
um
- userId
- RepositoryException
boolean isUserAdmin(UserManager um, String userId) throws RepositoryException
um
- userId
- RepositoryException
String getStorageConfigurationPath()
SocialResourceConfiguration getStorageConfig()
boolean checkIfUserIsModerator(UserManager um, String userId) throws RepositoryException
um
- userId
- RepositoryException
String getTenantGroupRootPath()
String getTenantUserRootPath()
String getCommunityGroupRootPath()
String getCommunityUserRootPath()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"