org.exoplatform.calendar.webui.popup
Class UISharedForm.PermissionOwner
java.lang.Object
org.exoplatform.calendar.webui.popup.UISharedForm.PermissionOwner
- Enclosing class:
- UISharedForm
public static class UISharedForm.PermissionOwner
- extends Object
USER_OWNER
public static final String USER_OWNER
- See Also:
- Constant Field Values
GROUP_OWNER
public static final String GROUP_OWNER
- See Also:
- Constant Field Values
MEMBERSHIP_OWNER
public static final String MEMBERSHIP_OWNER
- See Also:
- Constant Field Values
UISharedForm.PermissionOwner
public UISharedForm.PermissionOwner()
getId
public String getId()
setId
public void setId(String permissionId)
getMembership
public String getMembership()
setMembership
public void setMembership(String membership)
getGroupId
public String getGroupId()
setGroupId
public void setGroupId(String groupId)
getOwnerType
public String getOwnerType()
setOwnerType
public void setOwnerType(String ownerType)
getMeaningfulPermissionOwnerStatement
public String getMeaningfulPermissionOwnerStatement()
- returns a readable permission under form: user or membership in group
- Returns:
toString
public String toString()
- get the owner statement for the permission
- Overrides:
toString in class Object
- Returns:
equals
public boolean equals(Object o)
- compare 2 permissions owner
equality happens when 2 permission owner has the same type and id
- Overrides:
equals in class Object
- Parameters:
o -
- Returns:
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2013 eXo Platform SAS. All Rights Reserved.