|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.biomage.Common.Extendable
|
+--org.biomage.Common.Describable
|
+--org.biomage.Common.Identifiable
|
+--org.biomage.AuditAndSecurity.Security
Permission information for an object as to ownership, write and read permissions.
| Nested Class Summary |
| Nested classes inherited from class org.biomage.Interface.HasReadGroups |
HasReadGroups.ReadGroups_list |
| Nested classes inherited from class org.biomage.Interface.HasWriteGroups |
HasWriteGroups.WriteGroups_list |
| Nested classes inherited from class org.biomage.Interface.HasAuditTrail |
HasAuditTrail.AuditTrail_list |
| Nested classes inherited from class org.biomage.Interface.HasDescriptions |
HasDescriptions.Descriptions_list |
| Nested classes inherited from class org.biomage.Interface.HasPropertySets |
HasPropertySets.PropertySets_list |
| Field Summary | |
protected Contact |
owner
The owner of the security rights. |
protected HasReadGroups.ReadGroups_list |
readGroups
Specifies which security groups have read permission. |
protected HasWriteGroups.WriteGroups_list |
writeGroups
Specifies which security groups have write permission. |
| Fields inherited from class org.biomage.Common.Describable |
auditTrail, descriptions, security |
| Fields inherited from class org.biomage.Common.Extendable |
propertySets |
| Constructor Summary | |
Security()
Default constructor. |
|
Security(org.xml.sax.Attributes atts)
Attribute constructor. |
|
| Method Summary | |
void |
addToReadGroups(int position,
SecurityGroup securityGroup)
Method to add SecurityGroup at position to ReadGroups_list |
void |
addToReadGroups(SecurityGroup securityGroup)
Method to add SecurityGroup to ReadGroups_list |
void |
addToWriteGroups(int position,
SecurityGroup securityGroup)
Method to add SecurityGroup at position to WriteGroups_list |
void |
addToWriteGroups(SecurityGroup securityGroup)
Method to add SecurityGroup to WriteGroups_list |
SecurityGroup |
getFromReadGroups(int position)
Method to get SecurityGroup from ReadGroups_list |
SecurityGroup |
getFromWriteGroups(int position)
Method to get SecurityGroup from WriteGroups_list |
Contact |
getOwner()
Get method for owner |
HasReadGroups.ReadGroups_list |
getReadGroups()
Get method for readGroups |
HasWriteGroups.WriteGroups_list |
getWriteGroups()
Get method for writeGroups |
void |
removeElementAtFromReadGroups(int position)
Method to remove by position from ReadGroups_list |
void |
removeElementAtFromWriteGroups(int position)
Method to remove by position from WriteGroups_list |
void |
removeFromReadGroups(SecurityGroup securityGroup)
Method to remove first SecurityGroup from ReadGroups_list |
void |
removeFromWriteGroups(SecurityGroup securityGroup)
Method to remove first SecurityGroup from WriteGroups_list |
void |
setOwner(Contact owner)
Set method for owner |
void |
setReadGroups(HasReadGroups.ReadGroups_list readGroups)
Set method for readGroups |
void |
setWriteGroups(HasWriteGroups.WriteGroups_list writeGroups)
Set method for writeGroups |
void |
writeAssociations(java.io.Writer out)
writeAssociations This method is responsible for assembling the association data into XML. |
void |
writeAttributes(java.io.Writer out)
writeAttributes This method is responsible for assembling the attribute data into XML. |
void |
writeMAGEML(java.io.Writer out)
writeMAGEML This method is responsible for assembling the attribute and association data into XML. |
| Methods inherited from class org.biomage.Common.Identifiable |
getIdentifier, getName, setIdentifier, setName |
| Methods inherited from class org.biomage.Common.Describable |
addToAuditTrail, addToAuditTrail, addToDescriptions, addToDescriptions, getAuditTrail, getDescriptions, getFromAuditTrail, getFromDescriptions, getSecurity, removeElementAtFromAuditTrail, removeElementAtFromDescriptions, removeFromAuditTrail, removeFromDescriptions, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from class org.biomage.Common.Extendable |
addToPropertySets, addToPropertySets, getFromPropertySets, getPropertySets, removeElementAtFromPropertySets, removeFromPropertySets, setPropertySets |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Contact owner
protected HasReadGroups.ReadGroups_list readGroups
protected HasWriteGroups.WriteGroups_list writeGroups
| Constructor Detail |
public Security()
public Security(org.xml.sax.Attributes atts)
| Method Detail |
public void writeMAGEML(java.io.Writer out)
throws java.io.IOException
writeMAGEML in class Identifiablejava.io.IOException
public void writeAttributes(java.io.Writer out)
throws java.io.IOException
writeAttributes in class Identifiablejava.io.IOException
public void writeAssociations(java.io.Writer out)
throws java.io.IOException
writeAssociations in class Identifiablejava.io.IOExceptionpublic void setOwner(Contact owner)
setOwner in interface HasOwnerpublic Contact getOwner()
getOwner in interface HasOwnerpublic void setReadGroups(HasReadGroups.ReadGroups_list readGroups)
setReadGroups in interface HasReadGroupspublic HasReadGroups.ReadGroups_list getReadGroups()
getReadGroups in interface HasReadGroupspublic void addToReadGroups(SecurityGroup securityGroup)
addToReadGroups in interface HasReadGroups
public void addToReadGroups(int position,
SecurityGroup securityGroup)
addToReadGroups in interface HasReadGroupspublic SecurityGroup getFromReadGroups(int position)
getFromReadGroups in interface HasReadGroupspublic void removeElementAtFromReadGroups(int position)
removeElementAtFromReadGroups in interface HasReadGroupspublic void removeFromReadGroups(SecurityGroup securityGroup)
removeFromReadGroups in interface HasReadGroupspublic void setWriteGroups(HasWriteGroups.WriteGroups_list writeGroups)
setWriteGroups in interface HasWriteGroupspublic HasWriteGroups.WriteGroups_list getWriteGroups()
getWriteGroups in interface HasWriteGroupspublic void addToWriteGroups(SecurityGroup securityGroup)
addToWriteGroups in interface HasWriteGroups
public void addToWriteGroups(int position,
SecurityGroup securityGroup)
addToWriteGroups in interface HasWriteGroupspublic SecurityGroup getFromWriteGroups(int position)
getFromWriteGroups in interface HasWriteGroupspublic void removeElementAtFromWriteGroups(int position)
removeElementAtFromWriteGroups in interface HasWriteGroupspublic void removeFromWriteGroups(SecurityGroup securityGroup)
removeFromWriteGroups in interface HasWriteGroups
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||