public class ServiceInstance extends Object implements IFileStructureElement, Cloneable, ICustomEquivalence
Documentation in this class focus synchronization behavior. About
the use behind the fields in the portal, see ServiceInstanceConfig
.
ServiceInstanceConfig
Constructor and Description |
---|
ServiceInstance() |
Modifier and Type | Method and Description |
---|---|
void |
adjustChannelTemplateLink(Queue<ParallelExecutor.IDatabaseTask> channelTemplateLinksToAdd) |
void |
afterXmlRead() |
void |
beforeXmlWrite()
Before XML write callback.
|
protected Object |
clone() |
AccessControlList |
getAccessControlList()
Returns the accessControlList.
|
String |
getChannelId() |
SortedSet<ServiceInstanceCustomProperty> |
getCustomProperties()
Returns the customProperties.
|
SortedSet<ServiceInstanceDependency> |
getDependencies()
Returns the dependencies.
|
String |
getDescription()
Returns the description.
|
String |
getDirectoryChannelId()
Returns the identifier of the channel that corresponds to the directory
this element's file resides in.
|
Set<FileTransformation> |
getFileTransformations() |
String |
getId()
Returns the element's identifier.
|
String |
getName()
Returns the name.
|
PropertyBag |
getPropertyBag() |
String |
getServiceId()
Returns the serviceId.
|
String |
getStructureFileName()
Returns the name of the structure file for this element.
|
String |
getWorkflowId()
Returns the workflow identifier.
|
Set<ServiceInstanceWorkflowPermissionXml> |
getWorkflowPermissions()
Returns the set of permissions for the XML serialization.
|
boolean |
isEquivalent(Object obj)
Returns whether this object is equivalent to the given object.
|
boolean |
isImplicitForeignKeysSet()
Indicates whether the implicit foreign keys, set by
#setImplicitForeignKeys(String, String) ,
have been set. |
boolean |
isUsesPublicFileStorage()
Returns the usesPublicFileStorage.
|
void |
setChannelId(String channelId) |
void |
setFriendlyId(String friendlyId)
Sets the friendly identifier for this structure element.
|
void |
setImplicitForeignKeys(String accessControlListId,
String parentAccessControlListId,
String propertyBagId,
String parentPropertyBagId)
Sets the implicit foreign keys in this service instance.
|
void |
setWorkflow(ServiceInstanceWorkflow workflow)
Sets the workflow identifier.
|
public String getName()
public String getDescription()
public String getServiceId()
public AccessControlList getAccessControlList()
public String getWorkflowId()
public void setWorkflow(ServiceInstanceWorkflow workflow)
workflow
- the workflow identifier.public Set<ServiceInstanceWorkflowPermissionXml> getWorkflowPermissions()
public boolean isUsesPublicFileStorage()
public SortedSet<ServiceInstanceCustomProperty> getCustomProperties()
public Set<FileTransformation> getFileTransformations()
public SortedSet<ServiceInstanceDependency> getDependencies()
public boolean isImplicitForeignKeysSet()
#setImplicitForeignKeys(String, String)
,
have been set.public void setImplicitForeignKeys(String accessControlListId, String parentAccessControlListId, String propertyBagId, String parentPropertyBagId)
accessControlListId
- the identifier for this service instance's ACL.
Must be null
if the service instance will be added (will be
auto-generated).parentAccessControlListId
- the identifier of the parent of this
service instance's ACL.propertyBagId
- the identifier of the property bag.parentPropertyBagId
- the identifier of the parent property bag.public String getId()
IFileStructureElement
getId
in interface IFileStructureElement
public String getDirectoryChannelId()
IFileStructureElement
getDirectoryChannelId
in interface IFileStructureElement
public String getStructureFileName()
IFileStructureElement
getStructureFileName
in interface IFileStructureElement
public void setChannelId(String channelId)
public String getChannelId()
public void setFriendlyId(String friendlyId)
IFileStructureElement
setFriendlyId
in interface IFileStructureElement
friendlyId
- the friendly identifier.public PropertyBag getPropertyBag()
public void afterXmlRead()
public void beforeXmlWrite()
public void adjustChannelTemplateLink(Queue<ParallelExecutor.IDatabaseTask> channelTemplateLinksToAdd)
channelTemplateLinksToAdd
- public boolean isEquivalent(Object obj)
ICustomEquivalence
isEquivalent
in interface ICustomEquivalence
obj
- the object to compare with.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.