public class JSGroupManager extends JSBaseScriptableObject
Constructor and Description |
---|
JSGroupManager() |
Modifier and Type | Method and Description |
---|---|
ACL |
jsFunction_createACL(java.lang.String theGroupName,
java.lang.String theACLName,
java.lang.String theRootPath,
Parameters thePermissions,
boolean theSetAsDefaultAcl)
Creates the specified ACL in the specified group, with default permissions.
|
void |
jsFunction_deleteACL(java.lang.String theAclId)
Remove an acl from a group by acl id
|
void |
jsFunction_deleteGroupById(int theGroupId)
Delete the group via the group's id
|
void |
jsFunction_deleteGroupByName(java.lang.String theGroupName)
Delete the group via the group's name
|
Group |
jsFunction_duplicateGroup(Group theGroupToDuplicate,
java.lang.String theGroupName)
Duplicate the given group.
|
Group |
jsFunction_findGroupById(int theGroupId)
Returns the specified group.
|
Group |
jsFunction_findGroupByName(java.lang.String theGroupName)
Returns the specified group.
|
Group |
jsFunction_findOrCreateGroup(java.lang.String theName)
Creates group with the given name and assigns new ID if necessary.
|
Group[] |
jsFunction_getAllGroups()
Return all the groups in the system.
|
Group |
jsFunction_getGroup(java.lang.String theGroupName)
Returns the specified group.
|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public Group jsFunction_getGroup(java.lang.String theGroupName)
theGroupName
- public Group jsFunction_duplicateGroup(Group theGroupToDuplicate, java.lang.String theGroupName)
theGroupToDuplicate
- The group to duplicate.theGroupName
- The new group's name.public Group jsFunction_findGroupByName(java.lang.String theGroupName)
theGroupName
- public Group jsFunction_findGroupById(int theGroupId)
theGroupId
- the group id.public void jsFunction_deleteGroupById(int theGroupId)
theGroupId
- the group idpublic void jsFunction_deleteGroupByName(java.lang.String theGroupName)
theGroupName
- the group's namepublic Group[] jsFunction_getAllGroups()
public Group jsFunction_findOrCreateGroup(java.lang.String theName)
theName
- the group namepublic ACL jsFunction_createACL(java.lang.String theGroupName, java.lang.String theACLName, java.lang.String theRootPath, Parameters thePermissions, boolean theSetAsDefaultAcl)
theGroupName
- the group nametheACLName
- the acl nametheRootPath
- the root paththePermissions
- the permissions map for the acltheSetAsDefaultAcl
- is default?public void jsFunction_deleteACL(java.lang.String theAclId)
theAclId
- Copyright © 2023 MediaBeacon, Inc. All Rights Reserved.