Package lumis.portal.service
Class ServiceConfig
- java.lang.Object
-
- lumis.portal.service.ServiceConfig
-
@StableMinor(version="14.2", sinceVersion="4.0") public class ServiceConfig extends Object
Holds configuration information of a service.- Since:
- 4.0.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Constructor Summary
Constructors Constructor Description ServiceConfig()
-
Method Summary
-
-
-
Method Detail
-
getDefinition
public String getDefinition() throws Exception
- Returns:
- Returns the definition.
- Throws:
Exception
-
getDefinitionXmlNode
public Node getDefinitionXmlNode()
- Returns:
- Returns the definition.
-
setDefinition
public void setDefinition(String serviceDefinition) throws Exception
- Parameters:
definition
- The definition to set.- Throws:
Exception
-
setDefinition
public void setDefinition(Node serviceXmlNode) throws Exception
- Parameters:
definition
- The definition to set.- Throws:
Exception
-
getId
public String getId()
- Returns:
- Returns the serviceId.
-
getBaseUrl
public String getBaseUrl()
- Returns:
- Returns the id.
-
getContextPath
public String getContextPath()
Returns the contextPath where this service config is installed. If null, it is installed in the same context as the portal framework.- Returns:
- the contextPath the contextPath where this service config is installed, or null if it is installed in the same context as the portal.
- Since:
- 4.0.7
-
getStringsUrlPrefixes
public List<String> getStringsUrlPrefixes()
- Returns:
- Returns the stringsUrlPrefix array.
-
getStringsUrlPrefix
public String getStringsUrlPrefix()
- Returns:
- Returns the first (main) stringsUrlPrefix.
-
getDescription
public String getDescription()
- Returns:
- Returns the description.
-
getImage
public String getImage()
- Returns:
- Returns the image.
-
getSmallImage
public String getSmallImage()
Returns the icon for this service.- Returns:
- the icon href, or null if there is no icon.
- Since:
- 4.0.3
-
getName
public String getName()
- Returns:
- Returns the name.
-
getImplementationClass
public String getImplementationClass()
-
setImplementationClass
public void setImplementationClass(String implementationClass)
-
getProperties
public Enumeration getProperties(String name)
-
getPropertyNames
public Enumeration getPropertyNames()
-
getExtendedProperties
public Enumeration getExtendedProperties(String name)
-
getExtendedPropertyNames
public Enumeration getExtendedPropertyNames()
-
getResource
public IResource getResource()
-
isWorkflowSupported
public boolean isWorkflowSupported()
-
isWorkflowEnabled
public boolean isWorkflowEnabled()
-
getWorkflowId
public String getWorkflowId()
-
isSocialProfile
public boolean isSocialProfile()
Returns whether this service can be used as a social profile information source.- Returns:
- whether this service can be used as a social profile information source.
- Since:
- 6.1.0
-
setSocialProfile
public void setSocialProfile(boolean isSocialProfile)
Sets whether this service can be used as a social profile information source.- Parameters:
isSocialProfile
- whether this service can be used as a social profile information source.- Since:
- 6.1.0
-
getServiceType
public String getServiceType()
- Returns:
- Returns the serviceType.
-
getResourceClassName
public String getResourceClassName()
- Returns:
- Returns the resourceClassName.
-
getAccessControlListId
public String getAccessControlListId()
-
setAccessControlListId
public void setAccessControlListId(String accessControlListId)
-
isInstantiable
public boolean isInstantiable()
-
setInstantiable
public void setInstantiable(boolean isInstantiable)
-
setBaseUrl
public void setBaseUrl(String baseUrl)
-
setDescription
public void setDescription(String description)
-
setId
public void setId(String id)
-
setImage
public void setImage(String image)
-
setName
public void setName(String name)
-
setStringsUrlPrefix
public void setStringsUrlPrefix(String stringsUrlPrefix)
-
getProcessors
public List<IHtmlProcessor> getProcessors()
Returns theHTML processors
of this service. If this service has no processors, an empty list is returned.- Returns:
- the
HTML processors
of this service. If this service has no processors, an empty list is returned. - Since:
- 8.2.0
-
isGoogleAnalyticsEnabled
public boolean isGoogleAnalyticsEnabled()
Returns whether the Google Analytics are enabled.- Returns:
- whether the Google Analytics are enabled
- Since:
- 8.2.0
-
-