|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.icc.dbforms.util.ACMUtil
public final class ACMUtil
Utility class containing core logic methods which can be used across the building block.
| Constructor Summary | |
|---|---|
ACMUtil()
|
|
| Method Summary | |
|---|---|
static AssetType |
getAssetType(java.lang.String assetId)
|
static java.lang.String |
getConfigFolderForBB()
|
static java.lang.String |
getSolutionSpecficConfigFolderForBB()
|
static boolean |
isAuthorInstance(SlingSettingsService slingSettingsService)
|
static boolean |
loggedInUserHasRole(ResourceResolverFactory resolverFactory,
java.lang.String roleName)
This API is helps in finding whether the logged in user has a particular UM role or not. |
static java.lang.Object |
xmlEscapeObject(java.lang.Object object)
Escapes the specified Object values for use in an XML element's text content by encoding less-than, greater-than and ampersand into their HTML escape code equivalents (<...). |
static java.lang.String |
xmlEscapeTextContent(java.lang.String content)
Escapes the specified text content for use in an XML element's text content by encoding less-than, greater-than and ampersand into their HTML escape code equivalents (<...). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ACMUtil()
| Method Detail |
|---|
public static java.lang.String getConfigFolderForBB()
public static java.lang.String getSolutionSpecficConfigFolderForBB()
throws ICCException
ICCException
public static boolean loggedInUserHasRole(ResourceResolverFactory resolverFactory,
java.lang.String roleName)
throws ICCException
groupName - - This is the group name for which the logged in user membership is determined.
ICCExceptionpublic static boolean isAuthorInstance(SlingSettingsService slingSettingsService)
public static AssetType getAssetType(java.lang.String assetId)
public static java.lang.Object xmlEscapeObject(java.lang.Object object)
object - The content to escape.
public static java.lang.String xmlEscapeTextContent(java.lang.String content)
content - The content to escape.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||