@StableMinor(version="12.5", sinceVersion="4.0") public class ServiceInstanceConfig extends StructureElement implements ICloneableConfig<ServiceInstanceConfig>, ICloneableCacheEntry
Constructor and Description |
---|
ServiceInstanceConfig() |
Modifier and Type | Method and Description |
---|---|
ServiceInstanceConfig |
clone() |
void |
deserialize(Node serviceInstanceNode) |
protected void |
deserializePropertyBag(Node propertyBagNode)
Updates this element's property bag according to the given serialized
property bag node.
|
String |
getAccessControlListId() |
String |
getChannelId() |
String |
getDescription() |
Enumeration |
getExtendedProperties(String name) |
String |
getExtendedProperty(String name) |
Enumeration |
getExtendedPropertyNames() |
String |
getFriendlyId()
Returns the service instance's friendly identifier.
|
int |
getHtmlProcessorsPriority()
Returns the HTML processors priority.
|
String |
getId() |
protected Pattern |
getManagedPropertiesPattern()
Returns the property name spaces.
|
String |
getName() |
Enumeration |
getProperties(String name) |
String |
getProperty(String name) |
String |
getPropertyBagId()
Returns the property bag identifier.
|
Enumeration |
getPropertyNames() |
String |
getRestShortName()
Returns the Rest shortName.
|
String |
getServiceId() |
boolean |
getUsesFileTransformation()
Returns the usesFileTransformation.
|
boolean |
getUsesPublicFileStorage()
Deprecated.
Since 12.2.0 replaced by
usesPublicFileStorage() . |
boolean |
isAutomaticFriendlyId()
Returns whether the service instance is going to use automatic generated
friendly identifier or not.
|
boolean |
isInContextEditDisabled() |
boolean |
isRestEnabled()
Returns the restEnabled.
|
protected boolean |
mayUseFriendlyId(String friendlyId)
Indicates if the element may use the given friendly identifier.
|
void |
serialize(SessionConfig sessionConfig,
OutputStream outputStream,
ITransaction transaction) |
void |
setAccessControlListId(String accessControlListId) |
void |
setAutoGeneratedFriendlyId()
Generates a new friendly identifier and sets it as the friendly
identifier of this service instance.
|
void |
setAutomaticFriendlyId(boolean automaticFriendlyId)
Indicates whether the service instance is going to use automatic
generated friendly identifier or not.
|
void |
setChannelId(String channelId) |
void |
setDescription(String description) |
void |
setDisableInContextEdit(boolean disableInContextEdit) |
void |
setFriendlyId(String friendlyId)
Sets the service instance's friendly identifier.
|
void |
setHtmlProcessorsPriority(int htmlProcessorsPriority)
Sets the HTML processors priority.
|
void |
setId(String id) |
void |
setName(String name) |
void |
setRestEnabled(boolean restEnabled)
Sets the restEnabled.
|
void |
setRestShortName(String shortName)
Sets the shortName.
|
void |
setServiceId(String serviceId) |
void |
setUsesFileTransformation(boolean usesFileTransformation)
Sets the usesFileTransformation.
|
void |
setUsesPublicFileStorage(boolean filePublic) |
Boolean |
usesPublicFileStorage()
Returns whether this service instance uses public file storage.
|
applyPropertyBagChanges, getAutomaticFriendlyId, getFriendlyIdBaseValue, getFriendlyIdMaxLength, getFriendlyIdValueForCounter, getLocalPropertyValue, getLocalPropertyValues, getPropertyValue, getPropertyValues, isManagedProperty, loadPropertyBagValues, normalizeFriendlyId, removeProperty, serializePropertyBag, setPropertyValue, setPropertyValues, stripAccents
public String getDescription()
public void setDescription(String description)
description
- The description to set.public String getId()
public void setId(String id)
id
- The id to set.public String getName()
public void setName(String name)
name
- The name to set.public String getChannelId()
public void setChannelId(String channelId)
channelId
- The channelId to set.public String getServiceId()
public void setServiceId(String serviceId)
serviceId
- The serviceId to set.@Deprecated public boolean getUsesPublicFileStorage()
usesPublicFileStorage()
.public Boolean usesPublicFileStorage()
true
if it uses, false
if it does not use the public file storage
or null
if unspecified and will be configured with the default for its service when added.public void setUsesPublicFileStorage(boolean filePublic)
public boolean isInContextEditDisabled()
public void setDisableInContextEdit(boolean disableInContextEdit)
public Enumeration getProperties(String name)
public Enumeration getPropertyNames()
public Enumeration getExtendedProperties(String name)
public Enumeration getExtendedPropertyNames()
public String getAccessControlListId()
public void setAccessControlListId(String accessControlListId)
public void setUsesFileTransformation(boolean usesFileTransformation)
usesFileTransformation
- the usesFileTransformation value to set.public boolean getUsesFileTransformation()
public void setFriendlyId(String friendlyId)
friendlyId
- the service instance's friendly identifier.public void setAutoGeneratedFriendlyId()
This method requires an active transaction.
setFriendlyId(String)
public String getFriendlyId()
public void setAutomaticFriendlyId(boolean automaticFriendlyId)
automaticFriendlyId
- indicates whether the service instance is going to use
automatic generated friendly identifier or not.public boolean isAutomaticFriendlyId()
public void serialize(SessionConfig sessionConfig, OutputStream outputStream, ITransaction transaction) throws PortalException
PortalException
public void deserialize(Node serviceInstanceNode) throws PortalException
PortalException
protected void deserializePropertyBag(Node propertyBagNode) throws PortalException
StructureElement
deserializePropertyBag
in class StructureElement
propertyBagNode
- the property bag serialized node, in the same
syntax as generated by StructureElement.serializePropertyBag()
.PortalException
- if an error occurred during deserialization.public ServiceInstanceConfig clone() throws CloneNotSupportedException
clone
in interface ICloneableCacheEntry
clone
in interface ICloneableConfig<ServiceInstanceConfig>
clone
in class Object
CloneNotSupportedException
protected Pattern getManagedPropertiesPattern()
StructureElement
getManagedPropertiesPattern
in class StructureElement
public String getPropertyBagId()
StructureElement
getPropertyBagId
in class StructureElement
protected boolean mayUseFriendlyId(String friendlyId) throws PortalException
StructureElement
mayUseFriendlyId
in class StructureElement
friendlyId
- the friendly identifier.PortalException
public void setRestShortName(String shortName)
shortName
- the shortName value to set.public String getRestShortName()
public void setRestEnabled(boolean restEnabled)
restEnabled
- the restEnabled value to set.public boolean isRestEnabled()
public int getHtmlProcessorsPriority()
public void setHtmlProcessorsPriority(int htmlProcessorsPriority)
htmlProcessorsPriority
- the HTML processors priority value to set.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.