com.basecmp.core.usecasesteps.permissionmanagement
Class AddPrincipal
java.lang.Object
BaseCmpUsecaseStep
com.basecmp.core.usecasesteps.permissionmanagement.AddPrincipal
- public class AddPrincipal
- extends BaseCmpUsecaseStep
Ordnet eine Gruppe einem User zu und verläßt den Step normal, wenn die
Operation ordnungsgemäß ausgeführt wurde. Bei evtl aufgetretenen Fehlern wird
der Step via Error-Ausgang verlassen.
- See Also:
- Serialized Form
- Step-Configuration-Parameters:
| Parameter | Description |
ContextKey (optional) | Alternativer Name des Context-Attributs
'PersistentAsset'. |
Groupname (optional) | Name der zuzuordnenden Gruppe. Wenn hier ein
Gruppenname angegeben wird, kann zur Laufzeit via Context-Attribut
'NONOWNED_PRINCIPAL' kein Gruppenname mehr angegeben werden (wird
zur Laufzeit ignoriert). |
GroupnameKey (optional) | Alternativer Name des Context-Attributs
'NONOWNED_PRINCIPAL'. |
- Author:
- Wolfgang Schröder
|
Method Summary |
void |
execute(UsecaseContext uc,
int unlockKey)
|
protected void |
initStep(java.lang.Integer stepId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_KEY_CONTEXT_KEY
public static final java.lang.String CONFIG_KEY_CONTEXT_KEY
- Name des Step-Konfigurations-Wert 'ContextKey'.
- See Also:
- Constant Field Values
CONFIG_KEY_GROUP_CONTEXT_KEY
public static final java.lang.String CONFIG_KEY_GROUP_CONTEXT_KEY
- Name des Step-Konfigurations-Wert 'GroupnameKey'.
- See Also:
- Constant Field Values
CONFIG_KEY_GROUPNAME
public static final java.lang.String CONFIG_KEY_GROUPNAME
- Name des Step-Konfigurations-Wert 'Groupname'.
- See Also:
- Constant Field Values
AddPrincipal
public AddPrincipal()
execute
public void execute(UsecaseContext uc,
int unlockKey)
throws java.lang.Exception
- Throws:
java.lang.Exception
initStep
protected void initStep(java.lang.Integer stepId)
Copyright © 2004 by basecmp® - Professional Web Solutions