Tabnine Logo
MSentryGMPrivilege.removeRole
Code IndexAdd Tabnine to your IDE (free)

How to use
removeRole
method
in
org.apache.sentry.provider.db.service.model.MSentryGMPrivilege

Best Java code snippets using org.apache.sentry.provider.db.service.model.MSentryGMPrivilege.removeRole (Showing top 10 results out of 315)

origin: apache/sentry

public void removeGMPrivilege(MSentryGMPrivilege gmPrivilege) {
 if (gmPrivileges.remove(gmPrivilege)) {
  gmPrivilege.removeRole(this);
 }
}
origin: apache/incubator-sentry

public void removeGMPrivilege(MSentryGMPrivilege gmPrivilege) {
 if (gmPrivileges.remove(gmPrivilege)) {
  gmPrivilege.removeRole(this);
 }
}
origin: apache/sentry

public void removeGMPrivileges() {
 for (MSentryGMPrivilege privilege : ImmutableSet.copyOf(gmPrivileges)) {
  privilege.removeRole(this);
 }
 Preconditions.checkState(gmPrivileges.isEmpty(), "gmPrivileges should be empty: " + gmPrivileges);
}
origin: apache/incubator-sentry

public void removeGMPrivileges() {
 for (MSentryGMPrivilege privilege : ImmutableSet.copyOf(gmPrivileges)) {
  privilege.removeRole(this);
 }
 Preconditions.checkState(gmPrivileges.isEmpty(), "gmPrivileges should be empty: " + gmPrivileges);
}
origin: apache/sentry

 persistedPriv.removeRole(role);
 pm.makePersistent(persistedPriv);
} else {
  persistedPriv.removeRole(role);
  pm.makePersistent(persistedPriv);
  persistedPriv.removeRole(role);
  pm.makePersistent(persistedPriv);
origin: apache/incubator-sentry

 persistedPriv.removeRole(role);
 pm.makePersistent(persistedPriv);
} else {
  persistedPriv.removeRole(role);
  pm.makePersistent(persistedPriv);
  persistedPriv.removeRole(role);
  pm.makePersistent(persistedPriv);
origin: apache/sentry

existPriv.removeRole(role);
pm.makePersistent(existPriv);
origin: apache/incubator-sentry

existPriv.removeRole(role);
pm.makePersistent(existPriv);
origin: apache/incubator-sentry

role = getMSentryRole(pm, roleName);
solrPrivilege = (MSentryGMPrivilege)role.getGmPrivileges().toArray()[0];
solrPrivilege.removeRole(role);
pm.makePersistent(solrPrivilege);
commitTransaction(pm);
origin: apache/sentry

role = getMSentryRole(pm, roleName);
solrPrivilege = (MSentryGMPrivilege)role.getGmPrivileges().toArray()[0];
solrPrivilege.removeRole(role);
pm.makePersistent(solrPrivilege);
commitTransaction(pm);
org.apache.sentry.provider.db.service.modelMSentryGMPrivilegeremoveRole

Popular methods of MSentryGMPrivilege

  • <init>
  • appendRole
  • implies
    Return true if this privilege implies request privilege Otherwise, return false
  • setAction
  • setAuthorizables
    Only allow strict hierarchies. That is, can level =1 be not null when level = 0 is null
  • getAction
  • getAuthorizables
  • getComponentName
  • getField
  • getGrantOption
  • getRoles
  • getScope
  • getRoles,
  • getScope,
  • getServiceName,
  • isNULL,
  • notNULL,
  • setComponentName,
  • setField,
  • setGrantOption,
  • setRoles

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • JPanel (javax.swing)
  • JTable (javax.swing)
  • Option (scala)
  • From CI to AI: The AI layer in your organization
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