Class Assignee.Builder
java.lang.Object
org.kuali.rice.kim.api.common.assignee.Assignee.Builder
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.ModelBuilder,AssigneeContract
- Enclosing class:
Assignee
public static final class Assignee.Builder
extends Object
implements AssigneeContract, org.kuali.rice.core.api.mo.ModelBuilder, Serializable
This builder constructs a PermissionAssignee enforcing the constraints of the
AssigneeContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static Assignee.Buildercreate(String principalId, String groupId, List<DelegateType.Builder> delegates) Creates a KimAttributeData with the required fields.static Assignee.Buildercreate(AssigneeContract contract) creates a KimAttributeData from an existingKimAttributeDataContract.List of Delegates for a Permission AssigneeThe Group ID referenced by the Permission Assignee.The Principal ID referenced by the Permission Assignee.voidsetDelegates(List<DelegateType.Builder> delegates) voidsetGroupId(String groupId) voidsetPrincipalId(String principalId)
-
Method Details
-
create
public static Assignee.Builder create(String principalId, String groupId, List<DelegateType.Builder> delegates) Creates a KimAttributeData with the required fields. -
create
creates a KimAttributeData from an existingKimAttributeDataContract. -
getPrincipalId
Description copied from interface:AssigneeContractThe Principal ID referenced by the Permission Assignee.- Specified by:
getPrincipalIdin interfaceAssigneeContract- Returns:
- principalId
-
setPrincipalId
-
getGroupId
Description copied from interface:AssigneeContractThe Group ID referenced by the Permission Assignee.- Specified by:
getGroupIdin interfaceAssigneeContract- Returns:
- groupId
-
setGroupId
-
getDelegates
Description copied from interface:AssigneeContractList of Delegates for a Permission Assignee- Specified by:
getDelegatesin interfaceAssigneeContract- Returns:
- delegates
-
setDelegates
-
build
- Specified by:
buildin interfaceorg.kuali.rice.core.api.mo.ModelBuilder
-