|
|||||||||
| Home >> All >> org >> biomage >> [ AuditAndSecurity overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.biomage.AuditAndSecurity
Class Security

java.lang.Objectorg.biomage.Common.Extendable
org.biomage.Common.Describable
org.biomage.Common.Identifiable
org.biomage.AuditAndSecurity.Security
- All Implemented Interfaces:
- org.biomage.Interface.HasAuditTrail, org.biomage.Interface.HasDescriptions, org.biomage.Interface.HasOwner, org.biomage.Interface.HasPropertySets, org.biomage.Interface.HasReadGroups, org.biomage.Interface.HasSecurity, org.biomage.Interface.HasWriteGroups, java.io.Serializable
- public class Security
- extends org.biomage.Common.Identifiable
- implements java.io.Serializable, org.biomage.Interface.HasReadGroups, org.biomage.Interface.HasWriteGroups, org.biomage.Interface.HasOwner
- extends org.biomage.Common.Identifiable
Permission information for an object as to ownership, write and read permissions.
| Nested Class Summary |
| Nested classes inherited from class org.biomage.Interface.HasReadGroups |
org.biomage.Interface.HasReadGroups.ReadGroups_list |
| Nested classes inherited from class org.biomage.Interface.HasWriteGroups |
org.biomage.Interface.HasWriteGroups.WriteGroups_list |
| Nested classes inherited from class org.biomage.Interface.HasAuditTrail |
org.biomage.Interface.HasAuditTrail.AuditTrail_list |
| Nested classes inherited from class org.biomage.Interface.HasDescriptions |
org.biomage.Interface.HasDescriptions.Descriptions_list |
| Nested classes inherited from class org.biomage.Interface.HasPropertySets |
org.biomage.Interface.HasPropertySets.PropertySets_list |
| Field Summary | |
private Contact |
owner
The owner of the security rights. |
private org.biomage.Interface.HasReadGroups.ReadGroups_list |
readGroups
Specifies which security groups have read permission. |
private org.biomage.Interface.HasWriteGroups.WriteGroups_list |
writeGroups
Specifies which security groups have write permission. |
| Fields inherited from class org.biomage.Common.Identifiable |
|
| Fields inherited from class org.biomage.Common.Describable |
|
| Fields inherited from class org.biomage.Common.Extendable |
|
| 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 |
org.biomage.Interface.HasReadGroups.ReadGroups_list |
getReadGroups()
Get method for readGroups |
org.biomage.Interface.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(org.biomage.Interface.HasReadGroups.ReadGroups_list readGroups)
Set method for readGroups |
void |
setWriteGroups(org.biomage.Interface.HasWriteGroups.WriteGroups_list writeGroups)
Set method for writeGroups |
void |
writeAssociations(java.io.Writer out)
writeAssociations |
void |
writeAttributes(java.io.Writer out)
writeAttributes |
void |
writeMAGEML(java.io.Writer out)
writeMAGEML |
| 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 |
readGroups
private org.biomage.Interface.HasReadGroups.ReadGroups_list readGroups
- Specifies which security groups have read permission.
writeGroups
private org.biomage.Interface.HasWriteGroups.WriteGroups_list writeGroups
- Specifies which security groups have write permission.
owner
private Contact owner
- The owner of the security rights.
| Constructor Detail |
Security
public Security()
- Default constructor.
Security
public Security(org.xml.sax.Attributes atts)
- Attribute constructor.
Looks up the attributes in the parameter and casts them from strings
appropriately
| Method Detail |
writeMAGEML
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
- writeMAGEML
This method is responsible for assembling the attribute and association data into XML. It creates the object tag and then calls the writeAttributes and writeAssociation methods.
writeAttributes
public void writeAttributes(java.io.Writer out) throws java.io.IOException
- writeAttributes
This method is responsible for assembling the attribute data into XML. It calls the super method to write out all attributes of this class and it's ancestors.
writeAssociations
public void writeAssociations(java.io.Writer out) throws java.io.IOException
- writeAssociations
This method is responsible for assembling the association data into XML. It calls the super method to write out all associations of this class's ancestors.
setReadGroups
public void setReadGroups(org.biomage.Interface.HasReadGroups.ReadGroups_list readGroups)
- Set method for readGroups
- Specified by:
setReadGroupsin interfaceorg.biomage.Interface.HasReadGroups
getReadGroups
public org.biomage.Interface.HasReadGroups.ReadGroups_list getReadGroups()
- Get method for readGroups
- Specified by:
getReadGroupsin interfaceorg.biomage.Interface.HasReadGroups
addToReadGroups
public void addToReadGroups(SecurityGroup securityGroup)
- Method to add SecurityGroup to ReadGroups_list
- Specified by:
addToReadGroupsin interfaceorg.biomage.Interface.HasReadGroups
addToReadGroups
public void addToReadGroups(int position,
SecurityGroup securityGroup)
- Method to add SecurityGroup at position to ReadGroups_list
- Specified by:
addToReadGroupsin interfaceorg.biomage.Interface.HasReadGroups
getFromReadGroups
public SecurityGroup getFromReadGroups(int position)
- Method to get SecurityGroup from ReadGroups_list
- Specified by:
getFromReadGroupsin interfaceorg.biomage.Interface.HasReadGroups
removeElementAtFromReadGroups
public void removeElementAtFromReadGroups(int position)
- Method to remove by position from ReadGroups_list
- Specified by:
removeElementAtFromReadGroupsin interfaceorg.biomage.Interface.HasReadGroups
removeFromReadGroups
public void removeFromReadGroups(SecurityGroup securityGroup)
- Method to remove first SecurityGroup from ReadGroups_list
- Specified by:
removeFromReadGroupsin interfaceorg.biomage.Interface.HasReadGroups
setWriteGroups
public void setWriteGroups(org.biomage.Interface.HasWriteGroups.WriteGroups_list writeGroups)
- Set method for writeGroups
- Specified by:
setWriteGroupsin interfaceorg.biomage.Interface.HasWriteGroups
getWriteGroups
public org.biomage.Interface.HasWriteGroups.WriteGroups_list getWriteGroups()
- Get method for writeGroups
- Specified by:
getWriteGroupsin interfaceorg.biomage.Interface.HasWriteGroups
addToWriteGroups
public void addToWriteGroups(SecurityGroup securityGroup)
- Method to add SecurityGroup to WriteGroups_list
- Specified by:
addToWriteGroupsin interfaceorg.biomage.Interface.HasWriteGroups
addToWriteGroups
public void addToWriteGroups(int position,
SecurityGroup securityGroup)
- Method to add SecurityGroup at position to WriteGroups_list
- Specified by:
addToWriteGroupsin interfaceorg.biomage.Interface.HasWriteGroups
getFromWriteGroups
public SecurityGroup getFromWriteGroups(int position)
- Method to get SecurityGroup from WriteGroups_list
- Specified by:
getFromWriteGroupsin interfaceorg.biomage.Interface.HasWriteGroups
removeElementAtFromWriteGroups
public void removeElementAtFromWriteGroups(int position)
- Method to remove by position from WriteGroups_list
- Specified by:
removeElementAtFromWriteGroupsin interfaceorg.biomage.Interface.HasWriteGroups
removeFromWriteGroups
public void removeFromWriteGroups(SecurityGroup securityGroup)
- Method to remove first SecurityGroup from WriteGroups_list
- Specified by:
removeFromWriteGroupsin interfaceorg.biomage.Interface.HasWriteGroups
setOwner
public void setOwner(Contact owner)
- Set method for owner
- Specified by:
setOwnerin interfaceorg.biomage.Interface.HasOwner
getOwner
public Contact getOwner()
- Get method for owner
- Specified by:
getOwnerin interfaceorg.biomage.Interface.HasOwner
|
|||||||||
| Home >> All >> org >> biomage >> [ AuditAndSecurity overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC