Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbridgha2008-03-04 19:32:29 +0000
committercbridgha2008-03-04 19:32:29 +0000
commit3679fdb5724801c99d76735ee37cc944e5aca8d7 (patch)
treeb14599e0afafa9bf3ae4a871ab949503ffed996a /plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MethodPermission.java
parentc8f57d3905876ccfdc89c7aa756a37b929b2ba02 (diff)
downloadwebtools.javaee-200803041936.tar.gz
webtools.javaee-200803041936.tar.xz
webtools.javaee-200803041936.zip
This commit was manufactured by cvs2svn to create tag 'v200803041936'.v200803041936
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MethodPermission.java')
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MethodPermission.java149
1 files changed, 0 insertions, 149 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MethodPermission.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MethodPermission.java
deleted file mode 100644
index f50aafe19..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MethodPermission.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.ejb;
-
-import java.util.List;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-
-/**
- * The method-permission element specifies that one or more security roles are allowed to invoke one or more enterprise bean methods. The method-permission element consists of an optional description, a list of security role names, and a list of method elements. The security roles used in the method-permission element must be defined in the security-role element of the deployment descriptor, and the methods must be methods defined in the enterprise bean's remote and//or home interfaces.
- * @generated
- * @since 1.0 */
-public interface MethodPermission extends J2EEEObject {
-
-/**
- * Return a List of MethodElements that point to
- * @anEJB.
- */
-List getMethodElements(EnterpriseBean anEJB) ;
-/**
- * Return the SecurityRole named @aRoleName.
- */
-SecurityRole getSecurityRole(String aRoleName) ;
-/**
- * Return true if this permission contains @aSecurityRole
- */
-boolean hasSecurityRole(SecurityRole aSecurityRole) ;
-/**
- * Return true if this permission contains a SecurityRole
- * named @aRoleName.
- */
-boolean hasSecurityRole(String aRoleName) ;
-/**
- * Return true if this MethodPermission and @anotherMethodPermission
- * have the same roles.
- */
-boolean isEquivalent(MethodPermission anotherMethodPermission) ;
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Description attribute
- * The description element is used by the ejb-jar file producer to provide text
- * describing the parent element. The description element should include any
- * information that the ejb-jar file producer wants to provide to the consumer of
- * the ejb-jar file (i.e. to the Deployer). Typically, the tools used by the
- * ejb-jar file consumer will display the description when processing the parent
- * element.
- */
- String getDescription();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Description attribute
- */
- void setDescription(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Unchecked attribute
- */
- boolean isUnchecked();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Unchecked attribute
- */
- void setUnchecked(boolean value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.jst.j2ee.ejb.MethodPermission#isUnchecked <em>Unchecked</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetUnchecked()
- * @see #isUnchecked()
- * @see #setUnchecked(boolean)
- * @generated
- */
- void unsetUnchecked();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.jst.j2ee.ejb.MethodPermission#isUnchecked <em>Unchecked</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Unchecked</em>' attribute is set.
- * @see #unsetUnchecked()
- * @see #isUnchecked()
- * @see #setUnchecked(boolean)
- * @generated
- */
- boolean isSetUnchecked();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The AssemblyDescriptor reference
- */
- AssemblyDescriptor getAssemblyDescriptor();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l The new value of the AssemblyDescriptor reference
- */
- void setAssemblyDescriptor(AssemblyDescriptor value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of Roles references
- */
- EList getRoles();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of MethodElements references
- */
- EList getMethodElements();
-
- /**
- * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.common.Description}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * @version J2EE1.4
- * <!-- end-model-doc -->
- * @return the value of the '<em>Descriptions</em>' containment reference list.
- * @see org.eclipse.jst.j2ee.ejb.EjbPackage#getMethodPermission_Descriptions()
- * @model type="org.eclipse.jst.j2ee.common.Description" containment="true"
- * @generated
- */
- EList getDescriptions();
-
-}
-
-
-
-
-

Back to the top