public interface ResourceAccessType
CentraSiteUser
, CentraSiteGroup
, CentraSiteRole
and CentraSitePermission
objects. This interface defines some methods which could be operated on all of these objects.Modifier and Type | Method and Description |
---|---|
void |
addAssociations(java.util.Collection<javax.xml.registry.infomodel.Association> associations)
Adds the collection of associations to this object's associations list.
|
void |
addClassifications(java.util.Collection<javax.xml.registry.infomodel.Classification> classifications)
Adds the classifications to this object's classifications.
|
void |
addExternalLinks(java.util.Collection<javax.xml.registry.infomodel.ExternalLink> externalLinks)
Add the given external links to this object.
|
void |
addSlots(java.util.Collection<javax.xml.registry.infomodel.Slot> slots)
Add the given collection of slots to this object.
|
java.util.Collection<javax.xml.registry.infomodel.Association> |
getAssociations()
Gets the associations of this object.
|
java.util.Collection<javax.xml.registry.infomodel.Classification> |
getClassifications()
Get the classifications for this object.
|
javax.xml.registry.infomodel.InternationalString |
getDescription()
Get the description of this object.
|
javax.xml.registry.infomodel.InternationalString |
getDisplayName()
Get the display name of this object.
|
java.util.Collection<javax.xml.registry.infomodel.ExternalLink> |
getExternalLinks()
Get the external links for this object.
|
java.util.Properties |
getExternalProperties()
Provides read-only access to external repository properties.
|
java.lang.String |
getId()
Internally used to retrieve the UUID of the object.
|
java.util.Properties |
getProperties()
Deprecated.
Use
getSlots() |
java.util.Collection<javax.xml.registry.infomodel.Slot> |
getSlots()
Get the slots for this object.
|
java.util.Collection<javax.xml.registry.infomodel.Key> |
preDelete()
This method performs delete without actually persisting the data.
|
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
preSave()
This method performs save without actually persisting the data.
|
void |
removeAssociations(java.util.Collection<javax.xml.registry.infomodel.Association> associations)
Remove the given associations from the object's associations list.
|
void |
removeClassifications(java.util.Collection<javax.xml.registry.infomodel.Classification> classifications)
Remove the given classifications from this object's classification list.
|
void |
removeExternalLinks(java.util.Collection<javax.xml.registry.infomodel.ExternalLink> externalLinks)
Remove the given external links from this object.
|
void |
removeProperties(java.util.Properties properties)
Deprecated.
|
void |
removeSlots(java.util.Collection<java.lang.String> slotNames)
Remove the given set of slots from this object's slot collection.
|
void |
setDescription(javax.xml.registry.infomodel.InternationalString description)
Set the description of this object.
|
void |
setDisplayName(javax.xml.registry.infomodel.InternationalString displayName)
Set the display name of this object.
|
void |
setProperties(java.util.Properties properties)
Deprecated.
|
void |
synchronizeProperties()
Synchronize external repository properties with the respective Registry Object properties, using a predefined
mapping between them.
|
java.lang.String getId()
javax.xml.registry.infomodel.InternationalString getDisplayName() throws javax.xml.registry.JAXRException
InternationalString
instance having the display name of this object.javax.xml.registry.JAXRException
- If a JAXR error occursvoid setDisplayName(javax.xml.registry.infomodel.InternationalString displayName)
displayName
- InternationalString
instance having the display name of this object.javax.xml.registry.infomodel.InternationalString getDescription()
InternationalString
instance.void setDescription(javax.xml.registry.infomodel.InternationalString description)
description
- InternationalString
description of this object.java.util.Properties getProperties()
getSlots()
void setProperties(java.util.Properties properties) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
addSlots(Collection)
properties
- The properties collection to be set.javax.xml.registry.JAXRException
- If a JAXR error occurscom.softwareag.security.jaas.principals.SagGeneralSecurityException
- If a security error occursvoid removeProperties(java.util.Properties properties) throws javax.xml.registry.JAXRException
removeSlots(Collection)
properties
- The properties collection to be removed.javax.xml.registry.JAXRException
- If a JAXR error occursvoid synchronizeProperties() throws java.lang.Exception
java.lang.Exception
- If an error occurs while trying to synchronize the propertiesjava.util.Properties getExternalProperties() throws com.softwareag.security.jaas.principals.SagGeneralSecurityException
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- If a security error occursvoid addAssociations(java.util.Collection<javax.xml.registry.infomodel.Association> associations) throws javax.xml.registry.JAXRException
associations
- The associations to addjavax.xml.registry.JAXRException
- If a JAXR error occursRegistryObject.addAssociations(Collection)
java.util.Collection<javax.xml.registry.infomodel.Association> getAssociations() throws javax.xml.registry.JAXRException
Collection
javax.xml.registry.JAXRException
- If a JAXR error occursRegistryObject.getAssociations()
void removeAssociations(java.util.Collection<javax.xml.registry.infomodel.Association> associations) throws javax.xml.registry.JAXRException
associations
- Associations to be removed.javax.xml.registry.JAXRException
- JAXRException If a JAXR error occursRegistryObject.removeAssociations(Collection)
void addClassifications(java.util.Collection<javax.xml.registry.infomodel.Classification> classifications) throws javax.xml.registry.JAXRException
classifications
- The classifications to addjavax.xml.registry.JAXRException
- If a JAXR error occursRegistryObject.addClassifications(Collection)
java.util.Collection<javax.xml.registry.infomodel.Classification> getClassifications() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- If a JAXR error occursRegistryObject.getClassifications()
void removeClassifications(java.util.Collection<javax.xml.registry.infomodel.Classification> classifications) throws javax.xml.registry.JAXRException
classifications
- Classifications to be removed.javax.xml.registry.JAXRException
- If a JAXR error occursRegistryObject.removeClassifications(Collection)
void addExternalLinks(java.util.Collection<javax.xml.registry.infomodel.ExternalLink> externalLinks) throws javax.xml.registry.JAXRException
externalLinks
- The ExternalLink
s to add to this objectjavax.xml.registry.JAXRException
- If a JAXR error occursRegistryObject.addExternalLinks(Collection)
java.util.Collection<javax.xml.registry.infomodel.ExternalLink> getExternalLinks() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- If a JAXR error occursRegistryObject.getExternalLinks()
void removeExternalLinks(java.util.Collection<javax.xml.registry.infomodel.ExternalLink> externalLinks) throws javax.xml.registry.JAXRException
externalLinks
- ExternalLinks to be removed.javax.xml.registry.JAXRException
- If a JAXR error occursRegistryObject.removeExternalLinks(Collection)
void addSlots(java.util.Collection<javax.xml.registry.infomodel.Slot> slots)
slots
- The slots to be added.ExtensibleObject.addSlots(Collection)
void removeSlots(java.util.Collection<java.lang.String> slotNames)
slotNames
- Collection
of String
Slot names to be removed.ExtensibleObject.removeSlots(Collection)
java.util.Collection<javax.xml.registry.infomodel.Slot> getSlots() throws javax.xml.registry.JAXRException
Slot
instances this object has.javax.xml.registry.JAXRException
- If a JAXR error occursExtensibleObject.getSlots()
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> preSave() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
RegistryObject
s to be saved.javax.xml.registry.JAXRException
- If a JAXR error occurscom.softwareag.security.jaas.principals.SagGeneralSecurityException
- If a security error occursjava.util.Collection<javax.xml.registry.infomodel.Key> preDelete() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
Key
s of registry objects to be deleted.javax.xml.registry.JAXRException
- If a JAXR error occurscom.softwareag.security.jaas.principals.SagGeneralSecurityException
- If a security error occurs