public class ControlUtil
extends java.lang.Object
Constructor and Description |
---|
ControlUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getUserDisplayName(com.centrasite.resourceaccess.resources.CentraSiteUser csUser,
java.util.Locale locale) |
static java.lang.String |
getUserDisplayName(javax.xml.registry.infomodel.User user,
java.util.Locale locale) |
static boolean |
isAnyVirtualService(javax.xml.registry.infomodel.RegistryObject regObj)
Checks if any virtual (wsdl, xml, rest) service.
|
static boolean |
isAnyXMLorRESTservice(javax.xml.registry.infomodel.RegistryObject regObj)
Checks if any native or virtual XML or REST service.
|
static boolean |
isSubTypeReadonly(javax.xml.registry.infomodel.RegistryObject regObj) |
static boolean |
isTypeReadonly(javax.xml.registry.infomodel.RegistryObject regObj) |
static boolean |
obtainLock(ActionContext actionContext,
Item item) |
static void |
releaseLock(java.util.Collection<Item> items) |
public static java.lang.String getUserDisplayName(com.centrasite.resourceaccess.resources.CentraSiteUser csUser, java.util.Locale locale) throws com.softwareag.security.jaas.principals.SagGeneralSecurityException, javax.xml.registry.JAXRException
com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
public static java.lang.String getUserDisplayName(javax.xml.registry.infomodel.User user, java.util.Locale locale) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public static boolean obtainLock(ActionContext actionContext, Item item)
public static void releaseLock(java.util.Collection<Item> items)
public static boolean isTypeReadonly(javax.xml.registry.infomodel.RegistryObject regObj)
public static boolean isSubTypeReadonly(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public static boolean isAnyXMLorRESTservice(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
regObj
- javax.xml.registry.JAXRException
public static boolean isAnyVirtualService(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
regObj
- javax.xml.registry.JAXRException