ru.tehkode.permissions.backends.file
Class FileUser

java.lang.Object
  extended by ru.tehkode.permissions.PermissionEntity
      extended by ru.tehkode.permissions.PermissionUser
          extended by ru.tehkode.permissions.ProxyPermissionUser
              extended by ru.tehkode.permissions.backends.file.FileUser

public class FileUser
extends ProxyPermissionUser

Author:
code

Field Summary
protected  FileBackend backend
           
protected  ConfigurationNode node
           
 
Fields inherited from class ru.tehkode.permissions.ProxyPermissionUser
backendEntity
 
Fields inherited from class ru.tehkode.permissions.PermissionUser
cachedAnwsers, cachedGroups, cachedOptions, cachedPermissions, cachedPrefix, cachedSuffix
 
Fields inherited from class ru.tehkode.permissions.PermissionEntity
debugMode, manager, patternCache, rangeExpression, timedPermissions, timedPermissionsTime, virtual
 
Constructor Summary
FileUser(String playerName, PermissionManager manager, FileBackend backend)
           
 
Method Summary
protected  String[] getGroupsNamesImpl(String worldName)
           
 void setGroups(String[] groups, String worldName)
          Set parent groups for user
 
Methods inherited from class ru.tehkode.permissions.ProxyPermissionUser
getAllOptions, getAllPermissions, getOptions, getOwnOption, getOwnPermissions, getOwnPrefix, getOwnSuffix, getWorlds, initialize, isVirtual, remove, save, setOption, setPermissions, setPrefix, setSuffix
 
Methods inherited from class ru.tehkode.permissions.PermissionUser
addGroup, addGroup, addGroup, addGroup, addPermission, addTimedPermission, clearCache, demote, explainExpression, getAllGroups, getGroups, getGroups, getGroupsNames, getGroupsNames, getInheritedPermissions, getMatchingExpression, getOption, getOwnOption, getOwnOption, getOwnOptionBoolean, getOwnOptionDouble, getOwnOptionInteger, getOwnPrefix, getOwnSuffix, getPermissions, getPrefix, getPromoterRankAndCheck, getRank, getRankLadderGroup, getRankLadders, getSuffix, getWorldGroups, has, inGroup, inGroup, inGroup, inGroup, inGroup, inGroup, inGroup, inGroup, isRanked, promote, removeGroup, removeGroup, removeGroup, removeGroup, removePermission, removeTimedPermission, setGroups, setGroups, setGroups, swapGroups
 
Methods inherited from class ru.tehkode.permissions.PermissionEntity
addPermission, callEvent, callEvent, equals, getMatchingExpression, getName, getOption, getOption, getOptionBoolean, getOptionDouble, getOptionInteger, getPrefix, getSuffix, getTimedPermissionLifetime, getTimedPermissions, has, hashCode, isDebug, isMatches, prepareRegexp, removePermission, setDebug, setName, setOption, setPermissions, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

node

protected ConfigurationNode node

backend

protected FileBackend backend
Constructor Detail

FileUser

public FileUser(String playerName,
                PermissionManager manager,
                FileBackend backend)
Method Detail

getGroupsNamesImpl

protected String[] getGroupsNamesImpl(String worldName)
Specified by:
getGroupsNamesImpl in class PermissionUser

setGroups

public void setGroups(String[] groups,
                      String worldName)
Description copied from class: PermissionUser
Set parent groups for user

Specified by:
setGroups in class PermissionUser
Parameters:
groups - array of parent group names


Copyright © 2011. All Rights Reserved.