001: /*
002: * (C) Copyright 2000 - 2005 Nabh Information Systems, Inc.
003: *
004: * This program is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU General Public License
006: * as published by the Free Software Foundation; either version 2
007: * of the License, or (at your option) any later version.
008: *
009: * This program is distributed in the hope that it will be useful,
010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012: * GNU General Public License for more details.
013: *
014: * You should have received a copy of the GNU General Public License
015: * along with this program; if not, write to the Free Software
016: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
017: *
018: */
019:
020: //
021: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
022: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
023: // Any modifications to this file will be lost upon recompilation of the source schema.
024: // Generated on: 2005.03.04 at 10:20:40 PST
025: //
026:
027: package com.nabhinc.portal.config;
028:
029: /**
030: * The security-role-ref element contains the declaration of a
031: * security role reference in the code of the web application. The
032: * declaration consists of an optional description, the security
033: * role name used in the code, and an optional link to a security
034: * role. If the security role is not specified, the Deployer must
035: * choose an appropriate security role.
036: * The value of the role name element must be the String used
037: * as the parameter to the
038: * EJBContext.isCallerInRole(String roleName) method
039: * or the HttpServletRequest.isUserInRole(String role) method.
040: * Used in: portlet
041: *
042: * Java content class for security-role-refType complex type.
043: * <p>The following schema fragment specifies the expected content contained within this java content object. (defined at file:/C:/Sun/jwsdp-1.5/jaxb/lib/portlet-app_1_0.xsd line 402)
044: * <p>
045: * <pre>
046: * <complexType name="security-role-refType">
047: * <complexContent>
048: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
049: * <sequence>
050: * <element name="description" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
051: * <element name="role-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}role-nameType"/>
052: * <element name="role-link" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}role-linkType" minOccurs="0"/>
053: * </sequence>
054: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
055: * </restriction>
056: * </complexContent>
057: * </complexType>
058: * </pre>
059: *
060: */
061: public interface SecurityRoleRefType {
062:
063: /**
064: * Gets the value of the Description property.
065: *
066: * <p>
067: * This accessor method returns a reference to the live list,
068: * not a snapshot. Therefore any modification you make to the
069: * returned list will be present inside the JAXB object.
070: * This is why there is not a <CODE>set</CODE> method for the Description property.
071: *
072: * <p>
073: * For example, to add a new item, do as follows:
074: * <pre>
075: * getDescription().add(newItem);
076: * </pre>
077: *
078: *
079: * <p>
080: * Objects of the following type(s) are allowed in the list
081: * {@link com.nabhinc.portal.config.DescriptionType}
082: *
083: */
084: java.util.List getDescription();
085:
086: /**
087: * Gets the value of the roleLink property.
088: *
089: * @return
090: * possible object is
091: * {@link com.nabhinc.portal.config.RoleLinkType}
092: */
093: com.nabhinc.portal.config.RoleLinkType getRoleLink();
094:
095: /**
096: * Sets the value of the roleLink property.
097: *
098: * @param value
099: * allowed object is
100: * {@link com.nabhinc.portal.config.RoleLinkType}
101: */
102: void setRoleLink(com.nabhinc.portal.config.RoleLinkType value);
103:
104: /**
105: * Gets the value of the roleName property.
106: *
107: * @return
108: * possible object is
109: * {@link java.lang.String}
110: */
111: java.lang.String getRoleName();
112:
113: /**
114: * Sets the value of the roleName property.
115: *
116: * @param value
117: * allowed object is
118: * {@link java.lang.String}
119: */
120: void setRoleName(java.lang.String value);
121:
122: /**
123: * Gets the value of the id property.
124: *
125: * @return
126: * possible object is
127: * {@link java.lang.String}
128: */
129: java.lang.String getId();
130:
131: /**
132: * Sets the value of the id property.
133: *
134: * @param value
135: * allowed object is
136: * {@link java.lang.String}
137: */
138: void setId(java.lang.String value);
139:
140: }
|