com.centrasite.jaxr.infomodel
Interface CentraSiteRegistryObject

All Superinterfaces:
CentraSiteExtensibleObject, javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.RegistryObject
All Known Subinterfaces:
CentraSiteAssociation, CentraSiteAuditableEvent, CentraSiteConcept, CentraSiteExternalLink, CentraSiteExtrinsicObject, CentraSiteRegistryEntry, CentraSiteRegistryPackage, CentraSiteService, CentraSiteUser

public interface CentraSiteRegistryObject
extends CentraSiteExtensibleObject, javax.xml.registry.infomodel.RegistryObject

CentraSite extension of RegistryObject.

See Also:
RegistryObject

Method Summary
 void accept(CentraSiteRegistryObjectVisitor visitor)
          Accept a CentraSiteRegistryObjectVisitor
 void addAuditComment(java.lang.String comment)
          Add a comment which will be attached to the next auditable event for that object.
 void addPostListener(java.lang.String listenerName, CentraSiteRegistryObjectListener postListener)
          Adds the given listener as 'POST' listener for this registry object with the given name.
 void addPreListener(java.lang.String listenerName, CentraSiteRegistryObjectListener preListener)
          Adds the given listener as 'PRE' listener for this registry object with the given name.
 CentraSiteACL getCentraSiteACL()
          Get the CentraSiteACL.
 java.util.Collection<java.lang.Object> getClassificationValue(CentraSiteClassificationAttribute ca)
          Get the value for the given Classification attribute.
 java.sql.Timestamp getCreationDate()
          Return the creation date of this RegistryObject.
 InstanceLevelPrivilege getCurrentUserPrivilege()
          Get the Privilege of the current user for this RegistryObject.
 java.util.Collection<javax.xml.registry.infomodel.AuditableEvent> getEmbeddedAuditTrail()
          Get this RegistryObject's AuditTrail, as well as the AuditTrail of all embedded objects like classifications and associations.
 CentraSiteRegistryObject getEnclosingObject()
          Return the enclosing object.
 java.util.Collection<javax.xml.registry.infomodel.ExternalLink> getFileAsExternalLink(CentraSiteFileAttribute fa)
          Get the value for the given File attribute.
 java.util.Collection<java.lang.String> getFileValue(CentraSiteFileAttribute fa)
          Get the value for the given File attribute.
 InstanceLevelPermissionSet getInstanceLevelPermissionSet()
          Get the InstanceLevelPermissionSet for this RegistryObject.
 java.sql.Timestamp getLastModificationDate()
          Return the last-modification date of this RegistryObject.
 javax.xml.registry.infomodel.User getOwner()
          Get this object's owner
 javax.xml.registry.infomodel.User getPreviousOwner()
          Get this object's previous owner.
 javax.xml.registry.infomodel.Organization getPreviousSubmittingOrganization()
          Get this object's previous submitting organization.
 java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getRelationShipValue(CentraSiteRelationShipAttribute ra)
          Get the value for the given RelationShip attribute.
 long getServerTimezoneOffset()
          Deprecated.  
 java.lang.String getSubmittingOrganizationKey()
          Get the key/id of the object's submittingOrganization
 javax.xml.registry.infomodel.Concept getVirtualObjectType()
          Return the virtual object type concept of this RegistryObject.
 boolean isAclModified()
          Return whether this object's acl has been modified.
 boolean isAssociatedTo(java.lang.String targetObjectId, java.lang.String associationTypeId)
          Return whether this RegistryObject is associated to a RegistryObject with the given id and with the particular association type.
 boolean isClassifiedWith(java.lang.String conceptId)
          Return whether this RegistryObject is classified with a concept with the given id.
 boolean isDeleted()
          return whether this object has been deleted
 boolean isDescendantObjectModified()
          Return whether one of this object's descendant objects has been modified.
 boolean isInternal()
          Return whether this RegistryObject is marked as internal.
 boolean isLocked()
          Return true if the connection that owns this object has acquired an exclusive lock for the object.
 boolean isModified()
          Return true if this object has modifications that have not yet been saved.
 boolean isModifiedByUser()
          Check whether this object was modified by a user different from the DefaultUser.
 boolean isMoved()
          Return whether this RegistryObject is being moved to a new owner or to a new organization.
 boolean isMoveOrganization()
          Return whether this RegistryObject is being moved to a new organization.
 boolean isMoveOwner()
          Return whether this RegistryObject is being moved to a new owner.
 boolean isObjectModified()
          Return whether this object has been modified.
 boolean isPermissionModified()
          Return whether this object's permission set has been modified.
 boolean isPredefined()
          Return whether this is a pre-defined object.
 boolean isPropagatePermissions()
          Returns weather this object is enabled with the instance level permission propagation to its dependent objects.
 boolean isPropagateProfilePermissions()
          Returns weather this object is enabled with the profile level permission propagation to its dependent objects.
 boolean isRevisionObject()
          Return whether this object is a revisioned one.
 void logLCStateChange(javax.xml.registry.infomodel.Concept previousState, javax.xml.registry.infomodel.Concept nextState)
          Log an LC state change in the RegistryObject's audit trail.
 void removeExternalLinkId(java.lang.String externalLinkId)
          Remove the external link reference from an object.
 void setCentraSiteACL(CentraSiteACL acl)
          Set the CentraSiteACL.
 void setClassificationValue(CentraSiteClassificationAttribute ca, java.util.Collection<java.lang.Object> values)
          Set the value for the given Classification attribute.
 void setFileValue(CentraSiteFileAttribute fa, java.util.Collection<java.lang.String> uris)
          Set the value for the given File attribute.
 void setFileValue(CentraSiteFileAttribute fa, java.util.Collection<java.lang.String> uris, boolean isOwningObject)
           
 void setFileWithExternalLink(CentraSiteFileAttribute fa, java.util.Collection<javax.xml.registry.infomodel.ExternalLink> externallinks)
          Set the value for the given File attribute.
 void setFileWithExternalLink(CentraSiteFileAttribute fa, java.util.Collection<javax.xml.registry.infomodel.ExternalLink> externallinks, boolean isOwningObject)
           
 void setInstanceLevelPermissionSet(InstanceLevelPermissionSet permissionSet)
          Set the InstanceLevelPermissionSet for this RegistryObject.
 void setInternal(boolean internal)
          Set the internal status of this RegistryObject to the given value.
 void setLocked(boolean locked)
          Set the object's locking status.
 void setOwner(javax.xml.registry.infomodel.User owner)
          Set this object's owner
 void setPropagatePermissions(boolean propagatePermissions)
          Enable or Disable permission propagation option on a RegistryObject to its dependent objects
 void setPropagateProfilePermissions(boolean propagateProfilePermissions)
          Enable or Disable profile permission propagation option on a RegistryObject to its dependent objects
 void setRelationShipValue(CentraSiteRelationShipAttribute ra, java.util.Collection<javax.xml.registry.infomodel.RegistryObject> targets)
          Set the value for the given RelationShip attribute.
 void setSubmittingOrganization(javax.xml.registry.infomodel.Organization organization)
          Set default submitting organization.
 java.lang.String toXMLforExport()
          Generate XML representation for export.
 java.lang.String toXMLforExport(java.util.Collection<java.lang.Integer> exportQualifiers)
          Generate XML representation for export.
 
Methods inherited from interface com.centrasite.jaxr.infomodel.CentraSiteExtensibleObject
getRegistryService
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

Method Detail

addAuditComment

void addAuditComment(java.lang.String comment)
                     throws javax.xml.registry.JAXRException
Add a comment which will be attached to the next auditable event for that object.

Parameters:
comment - the comment to be added. Ignored if null.
Throws:
javax.xml.registry.JAXRException

isAclModified

boolean isAclModified()
Return whether this object's acl has been modified.

Returns:
true if this object's acl has been modified

isPermissionModified

boolean isPermissionModified()
                             throws javax.xml.registry.JAXRException
Return whether this object's permission set has been modified.

Returns:
true if this object's permission set has been modified
Throws:
javax.xml.registry.JAXRException

isDescendantObjectModified

boolean isDescendantObjectModified()
Return whether one of this object's descendant objects has been modified.

Returns:
true if one of this object's descendant objects has been modified

isObjectModified

boolean isObjectModified()
Return whether this object has been modified.

Returns:
true if this object has been modified

isMoveOwner

boolean isMoveOwner()
                    throws javax.xml.registry.JAXRException
Return whether this RegistryObject is being moved to a new owner.

Returns:
true if this RegistryObject is being moved to a new owner.
Throws:
javax.xml.registry.JAXRException

isMoveOrganization

boolean isMoveOrganization()
                           throws javax.xml.registry.JAXRException
Return whether this RegistryObject is being moved to a new organization.

Returns:
true if this RegistryObject is being moved to a new organization.
Throws:
javax.xml.registry.JAXRException

isMoved

boolean isMoved()
                throws javax.xml.registry.JAXRException
Return whether this RegistryObject is being moved to a new owner or to a new organization.

Returns:
true if this RegistryObject is being moved to a new owner or to a new organization.
Throws:
javax.xml.registry.JAXRException

isPredefined

boolean isPredefined()
                     throws javax.xml.registry.JAXRException
Return whether this is a pre-defined object.

Returns:
true if this is a pre-defined object
Throws:
javax.xml.registry.JAXRException

isDeleted

boolean isDeleted()
return whether this object has been deleted

Returns:
true if this object has been deleted

isRevisionObject

boolean isRevisionObject()
Return whether this object is a revisioned one.

Returns:
true if this object is a revisioned

getEnclosingObject

CentraSiteRegistryObject getEnclosingObject()
                                            throws javax.xml.registry.JAXRException
Return the enclosing object. For a classification this is the classified object.

Returns:
the enclosing object, null if none exists
Throws:
javax.xml.registry.JAXRException

getOwner

javax.xml.registry.infomodel.User getOwner()
                                           throws javax.xml.registry.JAXRException
Get this object's owner

Returns:
this object's owner
Throws:
javax.xml.registry.JAXRException

getPreviousOwner

javax.xml.registry.infomodel.User getPreviousOwner()
                                                   throws javax.xml.registry.JAXRException
Get this object's previous owner. If the object has been moved to a different owner return the previous owner, else return the owner.

Returns:
the previous owner
Throws:
javax.xml.registry.JAXRException

getCentraSiteACL

CentraSiteACL getCentraSiteACL()
                               throws javax.xml.registry.JAXRException
Get the CentraSiteACL. As soon as the registry object has been saved there is always a CentraSiteACL object, even if instance based security was not yet defined. In this case the CentraSiteACL object is empty. If the registry object was not yet saved, and instance based security was not yet defined, this method returns null.

Returns:
the CentraSiteACL, null if none exists
Throws:
javax.xml.registry.JAXRException

setCentraSiteACL

void setCentraSiteACL(CentraSiteACL acl)
                      throws javax.xml.registry.JAXRException
Set the CentraSiteACL. This controls instance based security.

Parameters:
acl - the CentraSiteACL
Throws:
javax.xml.registry.JAXRException

getInstanceLevelPermissionSet

InstanceLevelPermissionSet getInstanceLevelPermissionSet()
                                                         throws javax.xml.registry.JAXRException
Get the InstanceLevelPermissionSet for this RegistryObject.

Returns:
the InstanceLevelPermissionSet for this RegistryObject. Must not be null.
Throws:
javax.xml.registry.JAXRException

setInstanceLevelPermissionSet

void setInstanceLevelPermissionSet(InstanceLevelPermissionSet permissionSet)
                                   throws javax.xml.registry.JAXRException
Set the InstanceLevelPermissionSet for this RegistryObject.

Parameters:
permissionSet - the InstanceLevelPermissionSet for this RegistryObject
Throws:
javax.xml.registry.JAXRException

getCurrentUserPrivilege

InstanceLevelPrivilege getCurrentUserPrivilege()
                                               throws javax.xml.registry.JAXRException
Get the Privilege of the current user for this RegistryObject.

Returns:
the Privilege of the current user for this RegistryObject. Must not be null.
Throws:
javax.xml.registry.JAXRException

setLocked

void setLocked(boolean locked)
               throws javax.xml.registry.JAXRException
Set the object's locking status.

Parameters:
locked - true if object is locked
Throws:
javax.xml.registry.JAXRException

setOwner

void setOwner(javax.xml.registry.infomodel.User owner)
              throws javax.xml.registry.JAXRException
Set this object's owner

Parameters:
owner - this object's owner
Throws:
javax.xml.registry.JAXRException

toXMLforExport

java.lang.String toXMLforExport()
                                throws javax.xml.registry.JAXRException
Generate XML representation for export. Derive name of generated root element from class name by removing package name and "Impl" starting with a lower case character. Use an XMLSerializer that is set to "export mode". This will cause the "owner" element of each RegistryObject being omitted and the "user" element of AuditableEvents being set to the key of the "unknown user".

Throws:
javax.xml.registry.JAXRException

toXMLforExport

java.lang.String toXMLforExport(java.util.Collection<java.lang.Integer> exportQualifiers)
                                throws javax.xml.registry.JAXRException
Generate XML representation for export. Derive name of generated root element from class name by removing package name and "Impl" starting with a lower case character. Use an XMLSerializer that is set to "export mode". This will cause the "owner" element of each RegistryObject being omitted and the "user" element of AuditableEvents being set to the key of the "unknown user".

Parameters:
exportQualifiers - a collection of ExportQualifiers. Must not be null.
Throws:
javax.xml.registry.JAXRException

accept

void accept(CentraSiteRegistryObjectVisitor visitor)
            throws javax.xml.registry.JAXRException
Accept a CentraSiteRegistryObjectVisitor

Parameters:
visitor - a CentraSiteRegistryObjectVisitor
Throws:
javax.xml.registry.JAXRException

isInternal

boolean isInternal()
                   throws javax.xml.registry.JAXRException
Return whether this RegistryObject is marked as internal.

Returns:
true if this RegistryObject is marked as internal
Throws:
javax.xml.registry.JAXRException

setInternal

void setInternal(boolean internal)
                 throws javax.xml.registry.JAXRException
Set the internal status of this RegistryObject to the given value.

Parameters:
internal - true if this RegistryObject is to be marked as internal, false otherwise
Throws:
javax.xml.registry.JAXRException

isClassifiedWith

boolean isClassifiedWith(java.lang.String conceptId)
                         throws javax.xml.registry.JAXRException
Return whether this RegistryObject is classified with a concept with the given id.

Parameters:
conceptId - the concept id to be checked
Returns:
true if this RegistryObject is classified with a concept with the given id.
Throws:
javax.xml.registry.JAXRException

isAssociatedTo

boolean isAssociatedTo(java.lang.String targetObjectId,
                       java.lang.String associationTypeId)
                       throws javax.xml.registry.JAXRException
Return whether this RegistryObject is associated to a RegistryObject with the given id and with the particular association type.

Parameters:
targetObjectId -
associationTypeId -
Returns:
true if this RegistryObject is associated to a RegistryObject with the given id and with the particular association type.
Throws:
javax.xml.registry.JAXRException

getCreationDate

java.sql.Timestamp getCreationDate()
                                   throws javax.xml.registry.JAXRException
Return the creation date of this RegistryObject.

Returns:
the creation date of this RegistryObject.
Throws:
javax.xml.registry.JAXRException

getLastModificationDate

java.sql.Timestamp getLastModificationDate()
                                           throws javax.xml.registry.JAXRException
Return the last-modification date of this RegistryObject.

Returns:
the last-modification date of this RegistryObject.
Throws:
javax.xml.registry.JAXRException

getServerTimezoneOffset

long getServerTimezoneOffset()
                             throws javax.xml.registry.JAXRException
Deprecated. 

Return the timezone offset that applies to the creation and last-modification date.

Returns:
the timezone offset that applies to the creation and last-modification date.
Throws:
javax.xml.registry.JAXRException

setSubmittingOrganization

void setSubmittingOrganization(javax.xml.registry.infomodel.Organization organization)
                               throws javax.xml.registry.JAXRException
Set default submitting organization.

Throws:
javax.xml.registry.JAXRException - if a registry error occurs

getSubmittingOrganizationKey

java.lang.String getSubmittingOrganizationKey()
Get the key/id of the object's submittingOrganization

Returns:
the is of the submittingOrganization

getPreviousSubmittingOrganization

javax.xml.registry.infomodel.Organization getPreviousSubmittingOrganization()
                                                                            throws javax.xml.registry.JAXRException
Get this object's previous submitting organization. If the object has been moved to a different organization return the previous organization, else return the submitting organization.

Returns:
the previous submitting organization
Throws:
javax.xml.registry.JAXRException

getEmbeddedAuditTrail

java.util.Collection<javax.xml.registry.infomodel.AuditableEvent> getEmbeddedAuditTrail()
                                                                                        throws javax.xml.registry.JAXRException
Get this RegistryObject's AuditTrail, as well as the AuditTrail of all embedded objects like classifications and associations.

Returns:
the collection of all embedded AuditableEvents. Maybe empty, but not null.
Throws:
javax.xml.registry.JAXRException

setRelationShipValue

void setRelationShipValue(CentraSiteRelationShipAttribute ra,
                          java.util.Collection<javax.xml.registry.infomodel.RegistryObject> targets)
                          throws javax.xml.registry.JAXRException
Set the value for the given RelationShip attribute. 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.

Parameters:
ra - the CentraSiteRelationShipAttribute for which the value is to be set.
targets - the attribute value as a collection of RegistryObjects. Maybe empty or null.
Throws:
javax.xml.registry.JAXRException

getRelationShipValue

java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getRelationShipValue(CentraSiteRelationShipAttribute ra)
                                                                                       throws javax.xml.registry.JAXRException
Get the value for the given RelationShip attribute. The value is a collection of target objects. If the requested attribute does not have a value, an empty collection will be returned.

Parameters:
ra - the CentraSiteRelationShipAttribute
Returns:
the attribute value as a collection of RegistryObjects. Maybe empty but not null.
Throws:
javax.xml.registry.JAXRException

setFileValue

void setFileValue(CentraSiteFileAttribute fa,
                  java.util.Collection<java.lang.String> uris)
                  throws javax.xml.registry.JAXRException
Set the value for the given File attribute. 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.

Parameters:
fa - the CentraSiteFileAttribute for which the value is to be set.
uris - the attribute value as a collection of URI strings. Maybe empty or null.
Throws:
javax.xml.registry.JAXRException

setFileValue

void setFileValue(CentraSiteFileAttribute fa,
                  java.util.Collection<java.lang.String> uris,
                  boolean isOwningObject)
                  throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getFileValue

java.util.Collection<java.lang.String> getFileValue(CentraSiteFileAttribute fa)
                                                    throws javax.xml.registry.JAXRException
Get the value for the given File attribute. The value is a collection of URI strings. If the requested attribute does not have a value, an empty collection will be returned.

Parameters:
fa - the CentraSiteFileAttribute
Returns:
the attribute value as a collection of URI strings. Maybe empty but not null.
Throws:
javax.xml.registry.JAXRException

setFileWithExternalLink

void setFileWithExternalLink(CentraSiteFileAttribute fa,
                             java.util.Collection<javax.xml.registry.infomodel.ExternalLink> externallinks)
                             throws javax.xml.registry.JAXRException
Set the value for the given File attribute. The value is a collection of ExternalLinks. Any existing value will be replaced. In order to delete the attribute value supply an empty value, or null.

Parameters:
fa - the CentraSiteFileAttribute for which the value is to be set.
externallinks - the attribute value as a collection of ExternalLinks. Maybe empty or null.
Throws:
javax.xml.registry.JAXRException

setFileWithExternalLink

void setFileWithExternalLink(CentraSiteFileAttribute fa,
                             java.util.Collection<javax.xml.registry.infomodel.ExternalLink> externallinks,
                             boolean isOwningObject)
                             throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getFileAsExternalLink

java.util.Collection<javax.xml.registry.infomodel.ExternalLink> getFileAsExternalLink(CentraSiteFileAttribute fa)
                                                                                      throws javax.xml.registry.JAXRException
Get the value for the given File attribute. The value is a collection of ExternalLinks. If the requested attribute does not have a value, an empty collection will be returned.

Parameters:
fa - the CentraSiteFileAttribute
Returns:
the attribute value as a collection of ExternalLinks. Maybe empty but not null.
Throws:
javax.xml.registry.JAXRException

setClassificationValue

void setClassificationValue(CentraSiteClassificationAttribute ca,
                            java.util.Collection<java.lang.Object> values)
                            throws javax.xml.registry.JAXRException
Set the value for the given Classification attribute. 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.

Parameters:
ca - the CentraSiteClassificationAttribute for which the value is to be set.
values - the attribute value as a collection of concepts or strings. Maybe empty or null.
Throws:
javax.xml.registry.JAXRException

getClassificationValue

java.util.Collection<java.lang.Object> getClassificationValue(CentraSiteClassificationAttribute ca)
                                                              throws javax.xml.registry.JAXRException
Get the value for the given Classification attribute. 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. If the requested attribute does not have a value, an empty collection will be returned.

Parameters:
ca - the CentraSiteClassificationAttribute
Returns:
the attribute value as a collection of concepts or strings. Maybe empty but not null null.
Throws:
javax.xml.registry.JAXRException

getVirtualObjectType

javax.xml.registry.infomodel.Concept getVirtualObjectType()
                                                          throws javax.xml.registry.JAXRException
Return the virtual object type concept of this RegistryObject. Null, if the object is not an instance of a virtual type.

Returns:
the virtual object type concept of this RegistryObject, null if the object is not an instance of a virtual type
Throws:
javax.xml.registry.JAXRException

logLCStateChange

void logLCStateChange(javax.xml.registry.infomodel.Concept previousState,
                      javax.xml.registry.infomodel.Concept nextState)
                      throws javax.xml.registry.JAXRException
Log an LC state change in the RegistryObject's audit trail.

Parameters:
previousState - the previous state, null when setting the initial state
nextState - the next state
Throws:
javax.xml.registry.JAXRException

isModifiedByUser

boolean isModifiedByUser()
                         throws javax.xml.registry.JAXRException
Check whether this object was modified by a user different from the DefaultUser. In particular, this method should be called to determine whether a pre-defined RegistryObject (owned by the DefaultUser) has been modified by a normal user.

Returns:
true if this object was modified by a user different from the DefaultUser
Throws:
javax.xml.registry.JAXRException

isModified

boolean isModified()
                   throws javax.xml.registry.JAXRException
Return true if this object has modifications that have not yet been saved.

Returns:
true if this object has modifications that have not yet been saved.
Throws:
javax.xml.registry.JAXRException

isLocked

boolean isLocked()
                 throws javax.xml.registry.JAXRException
Return true if the connection that owns this object has acquired an exclusive lock for the object.

Returns:
true if the object is locked
Throws:
javax.xml.registry.JAXRException

removeExternalLinkId

void removeExternalLinkId(java.lang.String externalLinkId)
                          throws javax.xml.registry.JAXRException
Remove the external link reference from an object. If the reference is not found then the operation is ignored.

Parameters:
externalLinkId - the reference (id) of the external link to be removed
Throws:
javax.xml.registry.JAXRException

addPreListener

void addPreListener(java.lang.String listenerName,
                    CentraSiteRegistryObjectListener preListener)
                    throws javax.xml.registry.JAXRException
Adds the given listener as 'PRE' listener for this registry object with the given name. If a listener already exists with the same name, replace the existing listener

Parameters:
listenerName - listener name used to associate/retrieve CentraSiteRegistryObjectListener instance.
preListener - CentraSiteRegistryObjectListener instance encapsulate the steps need to execute.
Throws:
javax.xml.registry.JAXRException

addPostListener

void addPostListener(java.lang.String listenerName,
                     CentraSiteRegistryObjectListener postListener)
                     throws javax.xml.registry.JAXRException
Adds the given listener as 'POST' listener for this registry object with the given name. If a listener already exists with the same name, replace the existing listener

Parameters:
listenerName - listener name used to associate/retrieve CentraSiteRegistryObjectListener instance.
postListener - CentraSiteRegistryObjectListener instance encapsulate the steps need to execute.
Throws:
javax.xml.registry.JAXRException

setPropagatePermissions

void setPropagatePermissions(boolean propagatePermissions)
                             throws javax.xml.registry.JAXRException
Enable or Disable permission propagation option on a RegistryObject to its dependent objects

Parameters:
propagatePermissions -
Throws:
javax.xml.registry.JAXRException

isPropagatePermissions

boolean isPropagatePermissions()
                               throws javax.xml.registry.JAXRException
Returns weather this object is enabled with the instance level permission propagation to its dependent objects.

Returns:
true if this object is enabled with the instance level permission propagation to its dependent objects
Throws:
javax.xml.registry.JAXRException

setPropagateProfilePermissions

void setPropagateProfilePermissions(boolean propagateProfilePermissions)
                                    throws javax.xml.registry.JAXRException
Enable or Disable profile permission propagation option on a RegistryObject to its dependent objects

Parameters:
propagateProfilePermissions -
Throws:
javax.xml.registry.JAXRException

isPropagateProfilePermissions

boolean isPropagateProfilePermissions()
                                      throws javax.xml.registry.JAXRException
Returns weather this object is enabled with the profile level permission propagation to its dependent objects.

Returns:
true if this object is enabled with the profile level permission propagation to its dependent objects
Throws:
javax.xml.registry.JAXRException