|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.api.role.RolePermission.Builder
public static final class RolePermission.Builder
This builder constructs a RolePermission enforcing the constraints of the RolePermissionContract
.
Method Summary | |
---|---|
RolePermission |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static RolePermission.Builder |
create(RolePermissionContract contract)
Creates a RolePermission from an existing RolePermissionContract . |
static RolePermission.Builder |
create(String id,
String roleId,
String permissionId)
Creates a RolePermission with the required fields. |
String |
getId()
The unique identifier for an object. |
String |
getObjectId()
Return the globally unique object id of this object. |
String |
getPermissionId()
The Permission ID referenced by the Role Permission. |
String |
getRoleId()
The Role ID referenced by the Role Permission. |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isActive()
The active indicator for an object. |
void |
setActive(boolean active)
|
void |
setId(String id)
|
void |
setObjectId(String objectId)
|
void |
setPermissionId(String permissionId)
|
void |
setRoleId(String roleId)
|
void |
setVersionNumber(Long versionNumber)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RolePermission.Builder create(String id, String roleId, String permissionId)
public static RolePermission.Builder create(RolePermissionContract contract)
RolePermissionContract
.
public String getId()
Identifiable
getId
in interface Identifiable
public void setId(String id)
public String getPermissionId()
RolePermissionContract
getPermissionId
in interface RolePermissionContract
public void setPermissionId(String permissionId)
public String getRoleId()
RolePermissionContract
getRoleId
in interface RolePermissionContract
public void setRoleId(String roleId)
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public void setObjectId(String objectId)
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
public RolePermission build()
ModelBuilder
build
in interface ModelBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |