|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.manager.directory.bulk.BulkAddEntityOperation<RemoteRole>
com.atlassian.crowd.manager.directory.bulk.BulkAddRolesOperation
public class BulkAddRolesOperation
| Constructor Summary | |
|---|---|
BulkAddRolesOperation()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getPermissionErrorKey()
The i18n key to use when reporting a permission error. |
PermissionType |
getRequiredPermission()
The permission required to perform the operation. |
void |
performAdd(RemoteDirectory directory,
RemoteRole entity)
Add a single entity to a directory. |
java.util.Collection<RemoteRole> |
performAddAllViaBatch(BatchingRemoteDirectory directory,
java.util.Set<RemoteRole> entities)
Batch add a set of entities. |
RemoteRole |
performFindByName(RemoteDirectory directory,
java.lang.String name)
Find an entity in a directory. |
void |
performRemove(RemoteDirectory directory,
java.lang.String name)
Remove an entity from a directory. |
| Methods inherited from class com.atlassian.crowd.manager.directory.bulk.BulkAddEntityOperation |
|---|
performAddAllIndividually, prepareForAdd |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BulkAddRolesOperation()
| Method Detail |
|---|
public PermissionType getRequiredPermission()
BulkAddEntityOperation
getRequiredPermission in class BulkAddEntityOperation<RemoteRole>public java.lang.String getPermissionErrorKey()
BulkAddEntityOperation
getPermissionErrorKey in class BulkAddEntityOperation<RemoteRole>
public RemoteRole performFindByName(RemoteDirectory directory,
java.lang.String name)
throws ObjectNotFoundException
BulkAddEntityOperation
performFindByName in class BulkAddEntityOperation<RemoteRole>directory - directory to search.name - name of entity.
ObjectNotFoundException - if the entity with the given name cannot be found in the directory.
public void performRemove(RemoteDirectory directory,
java.lang.String name)
throws ObjectNotFoundException
BulkAddEntityOperation
performRemove in class BulkAddEntityOperation<RemoteRole>directory - directory to remove from.name - name of entity to remove.
ObjectNotFoundException - if the entity with the given name cannot be found in the directory.
public java.util.Collection<RemoteRole> performAddAllViaBatch(BatchingRemoteDirectory directory,
java.util.Set<RemoteRole> entities)
BulkAddEntityOperation
performAddAllViaBatch in class BulkAddEntityOperation<RemoteRole>directory - directory to add to.entities - entities to add.
public void performAdd(RemoteDirectory directory,
RemoteRole entity)
throws java.lang.Exception
BulkAddEntityOperation
performAdd in class BulkAddEntityOperation<RemoteRole>directory - directory to add to.entity - entity to add.
java.lang.Exception - if the operation failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||