|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.manager.directory.bulk.BulkAddEntityOperation<RemotePrincipal> com.atlassian.crowd.manager.directory.bulk.BulkAddPrincipalsOperation
public class BulkAddPrincipalsOperation
Constructor Summary | |
---|---|
BulkAddPrincipalsOperation()
|
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,
RemotePrincipal entity)
Add a single entity to a directory. |
java.util.Collection<RemotePrincipal> |
performAddAllViaBatch(BatchingRemoteDirectory directory,
java.util.Set<RemotePrincipal> entities)
Batch add a set of entities. |
RemotePrincipal |
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 BulkAddPrincipalsOperation()
Method Detail |
---|
public PermissionType getRequiredPermission()
BulkAddEntityOperation
getRequiredPermission
in class BulkAddEntityOperation<RemotePrincipal>
public java.lang.String getPermissionErrorKey()
BulkAddEntityOperation
getPermissionErrorKey
in class BulkAddEntityOperation<RemotePrincipal>
public RemotePrincipal performFindByName(RemoteDirectory directory, java.lang.String name) throws ObjectNotFoundException
BulkAddEntityOperation
performFindByName
in class BulkAddEntityOperation<RemotePrincipal>
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<RemotePrincipal>
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<RemotePrincipal> performAddAllViaBatch(BatchingRemoteDirectory directory, java.util.Set<RemotePrincipal> entities)
BulkAddEntityOperation
performAddAllViaBatch
in class BulkAddEntityOperation<RemotePrincipal>
directory
- directory to add to.entities
- entities to add.
public void performAdd(RemoteDirectory directory, RemotePrincipal entity) throws java.lang.Exception
BulkAddEntityOperation
performAdd
in class BulkAddEntityOperation<RemotePrincipal>
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 |