|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceAccessType
Defines some basic methods to operate on the underlying CentraSiteRegistryObject.
Method Summary | |
---|---|
void |
addAssociations(java.util.Collection<javax.xml.registry.infomodel.Association> associations)
|
void |
addClassifications(java.util.Collection<javax.xml.registry.infomodel.Classification> classifications)
|
void |
addExternalLinks(java.util.Collection<javax.xml.registry.infomodel.ExternalLink> externalLinks)
|
void |
addSlots(java.util.Collection<javax.xml.registry.infomodel.Slot> slots)
|
java.util.Collection<javax.xml.registry.infomodel.Association> |
getAssociations()
|
java.util.Collection<javax.xml.registry.infomodel.Classification> |
getClassifications()
|
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()
|
java.util.Properties |
getExternalProperties()
Provides read-only access to external repository properties. |
java.lang.String |
getId()
Internally used. |
java.util.Properties |
getProperties()
Deprecated. Use getSlots() |
java.util.Collection<javax.xml.registry.infomodel.Slot> |
getSlots()
|
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)
|
void |
removeClassifications(java.util.Collection<javax.xml.registry.infomodel.Classification> classifications)
|
void |
removeExternalLinks(java.util.Collection<javax.xml.registry.infomodel.ExternalLink> externalLinks)
|
void |
removeProperties(java.util.Properties properties)
Deprecated. Use removeSlots(Collection) |
void |
removeSlots(java.util.Collection<java.lang.String> slotNames)
|
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. Use addSlots(Collection) |
void |
synchronizeProperties()
Synchronize external repository properties with the respective Registry Object properties, using a predefined mapping between them. |
Method Detail |
---|
java.lang.String getId()
javax.xml.registry.infomodel.InternationalString getDisplayName() throws javax.xml.registry.JAXRException
InternationalString
the display name of this object.
javax.xml.registry.JAXRException
void setDisplayName(javax.xml.registry.infomodel.InternationalString displayName)
displayName
- InternationalString
the display name of this object.javax.xml.registry.infomodel.InternationalString getDescription()
InternationalString
the description of this object.void setDescription(javax.xml.registry.infomodel.InternationalString description)
description
- InternationalString
the 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 occurs
com.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
java.util.Properties getExternalProperties() throws com.softwareag.security.jaas.principals.SagGeneralSecurityException
com.softwareag.security.jaas.principals.SagGeneralSecurityException
void addAssociations(java.util.Collection<javax.xml.registry.infomodel.Association> associations) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if a JAXR error occursRegistryObject.addAssociations(Collection)
java.util.Collection<javax.xml.registry.infomodel.Association> getAssociations() throws javax.xml.registry.JAXRException
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
javax.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
javax.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
- 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 instance is having.
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 occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- is a SIN 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 occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- is a SIN error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |