lumis.portal.service
Class ServiceConfig
java.lang.Object
lumis.portal.service.ServiceConfig
@StableMinor(version="4.1",
sinceVersion="4.0")
public class ServiceConfig
- extends Object
Holds configuration information of a service.
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceConfig
public ServiceConfig()
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 interfaceDefinition)
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)
getProperty
public String getProperty(String name)
getProperties
public Enumeration getProperties(String name)
getPropertyNames
public Enumeration getPropertyNames()
getExtendedProperty
public String getExtendedProperty(String name)
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()
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)
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.