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<Association> associations)
Adds the collection of associations to this object's associations list.
|
void |
addClassifications(java.util.Collection<Classification> classifications)
Adds the classifications to this object's classifications.
|
void |
addExternalLinks(java.util.Collection<ExternalLink> externalLinks)
Add the given external links to this object.
|
void |
addSlots(java.util.Collection<Slot> slots)
Add the given collection of slots to this object.
|
java.util.Collection<Association> |
getAssociations()
Gets the associations of this object.
|
java.util.Collection<Classification> |
getClassifications()
Get the classifications for this object.
|
InternationalString |
getDescription()
Get the description of this object.
|
InternationalString |
getDisplayName()
Get the display name of this object.
|
java.util.Collection<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<Slot> |
getSlots()
Get the slots for this object.
|
java.util.Collection<Key> |
preDelete()
This method performs delete without actually persisting the data.
|
java.util.Collection<RegistryObject> |
preSave()
This method performs save without actually persisting the data.
|
void |
removeAssociations(java.util.Collection<Association> associations)
Remove the given associations from the object's associations list.
|
void |
removeClassifications(java.util.Collection<Classification> classifications)
Remove the given classifications from this object's classification list.
|
void |
removeExternalLinks(java.util.Collection<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(InternationalString description)
Set the description of this object.
|
void |
setDisplayName(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()
InternationalString getDisplayName() throws JAXRException
InternationalString
instance having the display name of this object.JAXRException
- If a JAXR error occursvoid setDisplayName(InternationalString displayName)
displayName
- InternationalString
instance having the display name of this object.InternationalString getDescription()
InternationalString
instance.void setDescription(InternationalString description)
description
- InternationalString
description of this object.java.util.Properties getProperties()
getSlots()
void setProperties(java.util.Properties properties) throws JAXRException, SagGeneralSecurityException
addSlots(Collection)
properties
- The properties collection to be set.JAXRException
- If a JAXR error occursSagGeneralSecurityException
- If a security error occursvoid removeProperties(java.util.Properties properties) throws JAXRException
removeSlots(Collection)
properties
- The properties collection to be removed.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 SagGeneralSecurityException
SagGeneralSecurityException
- If a security error occursvoid addAssociations(java.util.Collection<Association> associations) throws JAXRException
associations
- The associations to addJAXRException
- If a JAXR error occursRegistryObject#addAssociations(Collection)
java.util.Collection<Association> getAssociations() throws JAXRException
Collection
JAXRException
- If a JAXR error occursRegistryObject#getAssociations()
void removeAssociations(java.util.Collection<Association> associations) throws JAXRException
associations
- Associations to be removed.JAXRException
- JAXRException If a JAXR error occursRegistryObject#removeAssociations(Collection)
void addClassifications(java.util.Collection<Classification> classifications) throws JAXRException
classifications
- The classifications to addJAXRException
- If a JAXR error occursRegistryObject#addClassifications(Collection)
java.util.Collection<Classification> getClassifications() throws JAXRException
JAXRException
- If a JAXR error occursRegistryObject#getClassifications()
void removeClassifications(java.util.Collection<Classification> classifications) throws JAXRException
classifications
- Classifications to be removed.JAXRException
- If a JAXR error occursRegistryObject#removeClassifications(Collection)
void addExternalLinks(java.util.Collection<ExternalLink> externalLinks) throws JAXRException
externalLinks
- The ExternalLink
s to add to this objectJAXRException
- If a JAXR error occursRegistryObject#addExternalLinks(Collection)
java.util.Collection<ExternalLink> getExternalLinks() throws JAXRException
JAXRException
- If a JAXR error occursRegistryObject#getExternalLinks()
void removeExternalLinks(java.util.Collection<ExternalLink> externalLinks) throws JAXRException
externalLinks
- ExternalLinks to be removed.JAXRException
- If a JAXR error occursRegistryObject#removeExternalLinks(Collection)
void addSlots(java.util.Collection<Slot> slots)
slots
- The slots to be added.RegistryObject#addSlots(Collection)
void removeSlots(java.util.Collection<java.lang.String> slotNames)
slotNames
- Collection
of String
Slot names to be removed.RegistryObject#removeSlots(Collection)
java.util.Collection<Slot> getSlots() throws JAXRException
Slot
instances this object has.JAXRException
- If a JAXR error occursRegistryObject#getSlots()
java.util.Collection<RegistryObject> preSave() throws JAXRException, SagGeneralSecurityException
RegistryObject
s to be saved.JAXRException
- If a JAXR error occursSagGeneralSecurityException
- If a security error occursjava.util.Collection<Key> preDelete() throws JAXRException, SagGeneralSecurityException
Key
s of registry objects to be deleted.JAXRException
- If a JAXR error occursSagGeneralSecurityException
- If a security error occurs