com.atlassian.confluence.hosted
Class SpaceGroupPermission
java.lang.Object
com.atlassian.confluence.hosted.SpaceGroupPermission
public class SpaceGroupPermission
- extends java.lang.Object
Represents a permission for a SpaceGroup
.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
VIEW_PERMISSION
public static final java.lang.String VIEW_PERMISSION
- See Also:
- Constant Field Values
ADMINISTER_PERMISSION
public static final java.lang.String ADMINISTER_PERMISSION
- See Also:
- Constant Field Values
SpaceGroupPermission
public SpaceGroupPermission()
SpaceGroupPermission
@Deprecated
public SpaceGroupPermission(SpaceGroup spaceGroup,
java.lang.String permType,
java.lang.String userName,
java.lang.String group)
- Deprecated. since 5.2. See
SpaceGroupPermission(SpaceGroup, String, ConfluenceUser, String)
- Parameters:
spaceGroup
- permType
- userName
- group
-
SpaceGroupPermission
public SpaceGroupPermission(SpaceGroup spaceGroup,
java.lang.String permType,
ConfluenceUser user,
java.lang.String group)
getId
public long getId()
setId
public void setId(long id)
getSpaceGroup
public SpaceGroup getSpaceGroup()
setSpaceGroup
public void setSpaceGroup(SpaceGroup spaceGroup)
getSpaceGroupId
public long getSpaceGroupId()
getUserName
@Deprecated
public java.lang.String getUserName()
- Deprecated. since 5.2. See
getUserSubject()
- Returns:
setUserName
@Deprecated
public void setUserName(java.lang.String userName)
- Deprecated. since 5.2. See
setUserSubject(ConfluenceUser)
- Parameters:
userName
-
setUserSubject
public void setUserSubject(ConfluenceUser userSubject)
- Since:
- 5.2
getUserSubject
public ConfluenceUser getUserSubject()
- Since:
- 5.2
getGroupName
public java.lang.String getGroupName()
setGroupName
public void setGroupName(java.lang.String groupName)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2014 Atlassian. All Rights Reserved.