Tabnine Logo
Application.containsSecurityRole
Code IndexAdd Tabnine to your IDE (free)

How to use
containsSecurityRole
method
in
org.eclipse.jst.j2ee.application.Application

Best Java code snippets using org.eclipse.jst.j2ee.application.Application.containsSecurityRole (Showing top 1 results out of 315)

origin: org.eclipse/org.eclipse.jst.j2ee.core

/**
 * @see com.ibm.etools.commonarchive.EARFile
 */
public SecurityRole addCopyIfNotExists(SecurityRole aRole) {
  Application dd = getDeploymentDescriptor();
  SecurityRole copy = null;
  if (!dd.containsSecurityRole(aRole.getRoleName())) {
    copy = (SecurityRole) EtoolsCopyUtility.createCopy(aRole);
    dd.getSecurityRoles().add(copy);
  }
  return copy;
}
org.eclipse.jst.j2ee.applicationApplicationcontainsSecurityRole

Popular methods of Application

  • eResource
  • getFirstModule
    Returns the first module matching the specified uri
  • getModules
  • getModule
    Returns the first module matching the specified uri and altDD
  • getVersionID
    This returns the module version id. Compare with J2EEVersionConstants to determine module level
  • eIsProxy
  • getDisplayName
  • getModuleHavingAltDD
    Returns the first module where the alt dd matches the specified uri
  • getSecurityRoleNamed
  • getSecurityRoles
  • getVersion
    Returns the value of the 'Version' attribute. If the meaning of the 'Version' attribute isn't clear,
  • setDisplayName
  • getVersion,
  • setDisplayName,
  • setVersion

Popular in Java

  • Start an intent from android
  • startActivity (Activity)
  • findViewById (Activity)
  • getContentResolver (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now