public interface CentraSiteObject
Modifier and Type | Method and Description |
---|---|
void |
delete()
Used to delete the CentraSiteObject being used from the underlying registry.
|
CSOLink |
getAttributeLink(CentraSiteObjectAttribute attribute)
Get the link associated with the attribute.
|
java.util.Collection<java.lang.Object> |
getAttributeValue(CentraSiteObjectAttribute attribute)
Get the attribute value for the given attribute.
|
java.util.Collection<java.lang.Object> |
getAttributeValue(javax.xml.namespace.QName name)
Get the value for the attribute identified by the given
QName (Qualified Name). |
java.util.Collection<java.lang.Object> |
getAttributeValue(java.lang.String name)
Get the value for the attribute identified by the given name.
|
java.lang.String |
getId()
Get the Unique Identifier (UUID) for the object.
|
CentraSiteObjectType |
getType()
Get the asset type as an instance of
CentraSiteObjectType for the CentraSiteObject instance. |
boolean |
isModified()
Indicates whether current object being used has modifications compared to the same persisted instance.
|
boolean |
isPredefined()
Determines if this Taxonomy is predefined.
|
boolean |
isReadOnly()
Indicates whether current object being used is write protected or not for the caller.
|
void |
save()
Used to persist the CentraSiteObject to the underlying registry.
|
void |
setAttributeValue(CentraSiteObjectAttribute attribute,
java.util.Collection<java.lang.Object> values)
Set the attribute value for the given attribute.
|
void |
setAttributeValue(javax.xml.namespace.QName name,
java.util.Collection<java.lang.Object> values)
Set the value for the attribute identified by the given
QName (Qualified Name). |
void |
setAttributeValue(java.lang.String name,
java.util.Collection<java.lang.Object> values)
Set the value for the attribute identified by the given name.
|
java.lang.String getId() throws CLLException
CLLException
- If an error occurs while trying to fetch the object propertyCentraSiteObjectType getType() throws CLLException
CentraSiteObjectType
for the CentraSiteObject instance.CentraSiteObjectType
which represents the type of the object.CLLException
- If an error occurs while trying to fetch the object propertyjava.util.Collection<java.lang.Object> getAttributeValue(java.lang.String name) throws CLLException
name
- The name of the attribute.Collection
of values associated with the given nameCLLException
- If an error occurs while trying to fetch the object propertyvoid setAttributeValue(java.lang.String name, java.util.Collection<java.lang.Object> values) throws CLLException
name
- The name of the attribute.values
- the Collection
of values needed to be associated with the attributeCLLException
- If an error occurs while trying to set the object propertyjava.util.Collection<java.lang.Object> getAttributeValue(javax.xml.namespace.QName name) throws CLLException
QName
(Qualified Name).name
- The qualified name of the attribute.Collection
of values associated with the given nameCLLException
- If an error occurs while trying to fetch the object propertyvoid setAttributeValue(javax.xml.namespace.QName name, java.util.Collection<java.lang.Object> values) throws CLLException
QName
(Qualified Name).name
- qualified name of the attribute.values
- the Collection
of values needed to be associated with the attributeCLLException
- If an error occurs while trying to set the object propertyjava.util.Collection<java.lang.Object> getAttributeValue(CentraSiteObjectAttribute attribute) throws CLLException
attribute
- The CentraSiteObjectAttribute
instance of the attribute model.Collection
of values associated with the given nameCLLException
- If an error occurs while trying to fetch the object propertyvoid setAttributeValue(CentraSiteObjectAttribute attribute, java.util.Collection<java.lang.Object> values) throws CLLException
If the corresponding taxonomy is internal then the value is a collection of concepts. If the taxonomy is external, then the value is a collection of strings. Any existing value will be replaced. In order to delete the attribute value supply an empty value, or null.
The value is a collection of URI strings. Any existing value will be replaced. In order to delete the attribute value supply an empty value, or null.
The value is a collection of target objects. Any existing value will be replaced. In order to delete the attribute value supply an empty value, or null.
attribute
- The CentraSiteObjectAttribute
instance of the attribute model.values
- The Collection
of values needed to be associated with the attributeCLLException
- If an error occurs while trying to set the object propertyvoid save() throws CLLException
CLLException
- If an error occurs while trying to save the object to the registryvoid delete() throws CLLException
CLLException
- If an error occurs while trying to delete the object from the registryboolean isReadOnly()
boolean isModified() throws CLLException
CLLException
- If an error occurs while trying to compare with the persisted objectboolean isPredefined() throws CLLException
CLLException
- If fetch encounters an internal errorCSOLink getAttributeLink(CentraSiteObjectAttribute attribute) throws CLLException
attribute
- The qualified name of the attribute.CLLException
- If an error occurs while trying to fetch the object property.