|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.structure.sync.model.serviceinstance.ServiceInstance
public class ServiceInstance
Service instance model.
Documentation in this class focus synchronization behavior. About
the use behind the fields in the portal, see ServiceInstanceConfig
.
ServiceInstanceConfig
Constructor Summary | |
---|---|
ServiceInstance()
|
Method Summary | |
---|---|
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. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceInstance()
Method Detail |
---|
public String getName()
public String getDescription()
public String getServiceId()
public AccessControlList getAccessControlList()
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()
protected Object clone()
clone
in class Object
public void adjustChannelTemplateLink(Queue<ParallelExecutor.IDatabaseTask> channelTemplateLinksToAdd)
channelTemplateLinksToAdd
- public boolean isEquivalent(Object obj)
ICustomEquivalence
isEquivalent
in interface ICustomEquivalence
obj
- the object to compare with.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |