|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nci.mageom.domain.impl.MAGEOMObject
gov.nih.nci.mageom.domain.impl.ExtendableImpl
gov.nih.nci.mageom.domain.impl.DescribableImpl
gov.nih.nci.mageom.domain.impl.IdentifiableImpl
gov.nih.nci.mageom.domain.AuditAndSecurity.impl.SecurityImpl
public class SecurityImpl
Permission information for an object as to ownership, write and read permissions.
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected Contact[] |
owner
DOCUMENT ME |
protected int |
ownerCount
The count of Contact objects. |
protected SecurityGroup[] |
securityGroups
DOCUMENT ME |
protected int |
securityGroupsCount
The count of SecurityGroup objects. |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.IdentifiableImpl |
|---|
identifier, name |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl |
|---|
auditTrail, auditTrailCount, descriptions, descriptionsCount, security, securityId |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
propertySets, propertySetsCount, securedElementId |
| Constructor Summary | |
|---|---|
SecurityImpl()
Default constructor |
|
| Method Summary | |
|---|---|
Contact[] |
getOwner()
Returns the value of this Security object's owner attribute. |
int |
getOwnerCount()
Returns the count of all Contact
associated with this Security object. |
SecurityGroup[] |
getSecurityGroups()
Returns the value of this Security object's securityGroups attribute. |
int |
getSecurityGroupsCount()
Returns the count of all SecurityGroup
associated with this Security object. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
Security[] |
searchSecurities(SecuritySearchCriteria criteria)
Returns an array of Security objects that
satisfy the given SecuritySearchCriteria. |
void |
setOwner(Contact[] p_owner)
Sets the owner attribute. |
void |
setSecurityGroups(SecurityGroup[] p_securityGroups)
Sets the securityGroups attribute. |
java.lang.String |
toString()
Returns a String representation of this object suitable for console display. |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLDoc(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
Returns an XML representation of the object. |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.IdentifiableImpl |
|---|
getIdentifier, getName, searchIdentifiables, setIdentifier, setName |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl |
|---|
getAuditTrail, getAuditTrailCount, getDescriptions, getDescriptionsCount, getSecurity, searchDescribables, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
getPropertySets, getPropertySetsCount, getSecuredElementId, searchExtendables, setPropertySets, setSecuredElementId |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.MAGEOMObject |
|---|
getId, getIsEditable, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gov.nih.nci.mageom.domain.Identifiable |
|---|
getIdentifier, getName, setIdentifier, setName |
| Methods inherited from interface gov.nih.nci.mageom.domain.Describable |
|---|
getAuditTrail, getDescriptions, getSecurity, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from interface gov.nih.nci.mageom.domain.Extendable |
|---|
getPropertySets, setPropertySets |
| Field Detail |
|---|
protected static java.util.ArrayList allAssociationMethods
protected static java.util.Hashtable associationMethods
protected int securityGroupsCount
protected SecurityGroup[] securityGroups
protected int ownerCount
protected Contact[] owner
| Constructor Detail |
|---|
public SecurityImpl()
| Method Detail |
|---|
protected void init()
init in class IdentifiableImpl
public Security[] searchSecurities(SecuritySearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
Security objects that
satisfy the given SecuritySearchCriteria.
criteria - The SecuritySearchCriteria
which represents a query for Security objects.
Security objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setSecurityGroups(SecurityGroup[] p_securityGroups)
Security object.
setSecurityGroups in interface Securityp_securityGroups - The new value for securityGroups.Security.getSecurityGroups()public SecurityGroup[] getSecurityGroups()
SecuritySecurity object's securityGroups attribute.
getSecurityGroups in interface Securitygov.nih.nci.mageom.bean.AuditAndSecurity.SecurityGroup[] The value of securityGroups.Security.getSecurityGroups()public void setOwner(Contact[] p_owner)
Security object.
setOwner in interface Securityp_owner - The new value for owner.Security.getOwner()public Contact[] getOwner()
SecuritySecurity object's owner attribute.
getOwner in interface Securitygov.nih.nci.mageom.bean.AuditAndSecurity.Contact[] The value of owner.Security.getOwner()public int getSecurityGroupsCount()
SecurityGroup
associated with this Security object.
Security.getSecurityGroups()public int getOwnerCount()
Contact
associated with this Security object.
Security.getOwner()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class IdentifiableImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class IdentifiableImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class IdentifiableImpldoc - the working documentfillOutValues - a list of attribute names that should have
full XML for their values.
public java.util.Hashtable getXMLMethodDescriptors()
XMLMethodDescriptors descriptors of
the association methods of this object.
getXMLMethodDescriptors in class IdentifiableImplpublic java.lang.String toString()
toString in class IdentifiableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||