@StableMinor(version="12.3", sinceVersion="4.0") public class ServiceInterfaceConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_LEVEL_LOCAL_DEFINITION_VALUE |
static int |
CACHE_LEVEL_LOCAL_VALUE |
static String |
CACHE_LEVEL_PAGE_TEMPLATE_DEFINITION_VALUE |
static int |
CACHE_LEVEL_PAGE_TEMPLATE_VALUE |
static String |
CACHE_PERSONALIZATION_GUEST_ONLY_DEFINITION_VALUE |
static int |
CACHE_PERSONALIZATION_GUEST_ONLY_VALUE |
static String |
CACHE_PERSONALIZATION_NONE_DEFINITION_VALUE |
static int |
CACHE_PERSONALIZATION_NONE_VALUE |
static String |
CACHE_PERSONALIZATION_PER_USER_DEFINITION_VALUE |
static int |
CACHE_PERSONALIZATION_PER_USER_VALUE |
static String |
RENDER_AS_CLIENT_SIDE_SCRIPT_DEFINITION_VALUE |
static int |
RENDER_AS_CLIENT_SIDE_SCRIPT_VALUE |
static String |
RENDER_AS_INLINE_DEFINITION_VALUE |
static int |
RENDER_AS_INLINE_VALUE |
Constructor and Description |
---|
ServiceInterfaceConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl() |
Integer |
getCacheExpiration()
Returns the cacheExpiration.
|
List<String> |
getCacheKeyBusinessContextProperties()
Returns the cacheKeyBusinessContextProperties.
|
String |
getCacheKeyProviderClassName()
Returns the cacheKeyProvider.
|
int |
getCacheLevel() |
int |
getCachePersonalization() |
String |
getDefinition() |
Node |
getDefinitionNode() |
String |
getDescription() |
Enumeration |
getExtendedProperties(String name) |
String |
getExtendedProperty(String name) |
Enumeration |
getExtendedPropertyNames() |
String |
getId() |
String |
getImplementationClass() |
String |
getInterfaceType() |
boolean |
getIsWidget()
Returns the isWidget.
|
String |
getName() |
String |
getPopupWindowProperties() |
Enumeration |
getProperties(String name) |
String |
getProperty(String name) |
Enumeration |
getPropertyNames() |
String |
getRelativeId() |
int |
getRenderAs() |
IResource |
getResource() |
String |
getServiceId() |
String |
getStringsUrlPrefix() |
List<String> |
getStringsUrlPrefixes() |
List<PortletMode> |
getSupportedModes()
Returns a unmodifiable list with the supported modes for this interface.
|
String |
getTitle() |
boolean |
getUsesSocialProfileInformation()
Returns whether this interface uses social profile information.
|
boolean |
isAdministration() |
boolean |
isAutomaticAdministration()
Returns if this interface is displayed in an auto administration service page.
|
boolean |
isCacheServerSideInclude() |
boolean |
isCallerServiceInterfaceMenuItemRequired()
Returns whether this interface requires or not a caller service Interface menu item
|
boolean |
isDetails() |
boolean |
isEnableCache() |
boolean |
isInContextEditSupported() |
boolean |
isList() |
boolean |
isOpenerWindowRequired()
Returns if this interface requires an opener window.
|
boolean |
isPreviewSupported() |
boolean |
isPrintable() |
boolean |
isRestEnabled()
Returns whether Rest API is enabled for the interface.
|
boolean |
isRuntimeOnly() |
boolean |
isServiceInstanceRequired()
Returns whether this interface requires or not a service instance to be
executed.
|
boolean |
isSummary()
Indicates whether the interface represents a summary interface.
|
void |
setAdministration(boolean isAdministration) |
void |
setBaseUrl(String baseUrl) |
void |
setCacheLevel(int cacheLevel) |
void |
setCachePersonalization(int cachePersonalization) |
void |
setCacheServerSideInclude(boolean cacheServerSideInclude) |
void |
setDefinition(String interfaceDefinition) |
void |
setDefinitionNode(Node interfaceXmlNode) |
void |
setDescription(String description) |
void |
setDetails(boolean isDetails) |
void |
setEnableCache(boolean enableCache) |
void |
setId(String id) |
void |
setIsWidget(boolean isWidget)
Sets the isWidget.
|
void |
setName(String name) |
void |
setOpenerWindowRequired(boolean isOpenerWindowRequired)
Sets whether this interface requires an opener window.
|
void |
setPreviewSupported(boolean previewSupported) |
void |
setPrintable(boolean isPrintable) |
void |
setRenderAs(int renderAs) |
void |
setRuntimeOnly(boolean isRuntimeOnly) |
void |
setServiceId(String serviceId) |
void |
setServiceInstanceRequired(boolean serviceInstanceRequired)
Indicates whether this interface requires or not a service instance to be
executed.
|
void |
setStringsUrlPrefix(String stringsUrlPrefix) |
void |
setTitle(String title) |
void |
setUsesSocialProfileInformation(boolean usesSocialProfileInformation)
Sets whether this interface uses social profile information.
|
public static final String RENDER_AS_INLINE_DEFINITION_VALUE
public static final int RENDER_AS_INLINE_VALUE
public static final String RENDER_AS_CLIENT_SIDE_SCRIPT_DEFINITION_VALUE
public static final int RENDER_AS_CLIENT_SIDE_SCRIPT_VALUE
public static final String CACHE_LEVEL_LOCAL_DEFINITION_VALUE
public static final int CACHE_LEVEL_LOCAL_VALUE
public static final String CACHE_LEVEL_PAGE_TEMPLATE_DEFINITION_VALUE
public static final int CACHE_LEVEL_PAGE_TEMPLATE_VALUE
public static final String CACHE_PERSONALIZATION_NONE_DEFINITION_VALUE
public static final int CACHE_PERSONALIZATION_NONE_VALUE
public static final String CACHE_PERSONALIZATION_GUEST_ONLY_DEFINITION_VALUE
public static final int CACHE_PERSONALIZATION_GUEST_ONLY_VALUE
public static final String CACHE_PERSONALIZATION_PER_USER_DEFINITION_VALUE
public static final int CACHE_PERSONALIZATION_PER_USER_VALUE
public Node getDefinitionNode() throws PortalException
PortalException
public String getDefinition() throws PortalException
PortalException
public void setDefinition(String interfaceDefinition) throws PortalException
definition
- The definition to set.PortalException
public void setDefinitionNode(Node interfaceXmlNode) throws PortalException
definition
- The definition to set.PortalException
public String getId()
public void setId(String id)
public String getRelativeId()
public String getBaseUrl()
public void setBaseUrl(String baseUrl)
public List<String> getStringsUrlPrefixes()
public String getStringsUrlPrefix()
public void setStringsUrlPrefix(String stringsUrlPrefix)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getServiceId()
public void setServiceId(String serviceId)
public Enumeration getProperties(String name)
public Enumeration getPropertyNames()
public Enumeration getExtendedProperties(String name)
public Enumeration getExtendedPropertyNames()
public String getImplementationClass()
public String getInterfaceType()
public IResource getResource() throws PortalException
PortalException
public String getPopupWindowProperties() throws PortalException
PortalException
public boolean isRuntimeOnly()
public void setRuntimeOnly(boolean isRuntimeOnly)
isRuntimeOnly
- The isRuntimeOnly to set.public boolean isAdministration()
public void setAdministration(boolean isAdministration)
isAdministration
- The isAdministration to set.public boolean isDetails()
public void setDetails(boolean isDetails)
public boolean isList()
public boolean isSummary()
public boolean isPrintable()
public void setPrintable(boolean isPrintable)
isPrintable
- The isPrintable to set.public int getRenderAs()
public void setRenderAs(int renderAs)
renderAs
- The renderAs to set.public boolean isEnableCache()
public void setEnableCache(boolean enableCache)
enableCache
- The enableCache to set.public int getCacheLevel()
public void setCacheLevel(int cacheLevel)
cacheLevel
- The cacheLevel to set.public int getCachePersonalization()
public void setCachePersonalization(int cachePersonalization)
cachePersonalization
- The cachePersonalization to set.public boolean isCacheServerSideInclude()
public void setCacheServerSideInclude(boolean cacheServerSideInclude)
cacheServerSideInclude
- The cacheServerSideInclude to set.public String getTitle()
public void setTitle(String title)
public boolean isPreviewSupported()
public void setPreviewSupported(boolean previewSupported)
public boolean isInContextEditSupported()
public void setServiceInstanceRequired(boolean serviceInstanceRequired)
serviceInstanceRequired
- Indicates whether this interface requires or not a service
instance to be executed.public boolean isServiceInstanceRequired()
public boolean isCallerServiceInterfaceMenuItemRequired()
public List<PortletMode> getSupportedModes()
public void setIsWidget(boolean isWidget)
isWidget
- the isWidget value to set.public boolean getIsWidget()
public boolean isOpenerWindowRequired()
public void setOpenerWindowRequired(boolean isOpenerWindowRequired)
isOpenerWindowRequired
- indicates whether this interface requires an opener window.public boolean getUsesSocialProfileInformation()
public void setUsesSocialProfileInformation(boolean usesSocialProfileInformation)
usesSocialProfileInformation
- whether this interface uses social profile information.public boolean isRestEnabled() throws PortalException
PortalException
public boolean isAutomaticAdministration()
public Integer getCacheExpiration()
public List<String> getCacheKeyBusinessContextProperties()
public String getCacheKeyProviderClassName()
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.