Class WikiItemUserPermission
java.lang.Object
fr.paris.lutece.plugins.wiki.business.permission.WikiItemUserPermission
- All Implemented Interfaces:
Serializable
Permission granted to a single user on a wiki item.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the wiki item identifier.Returns the permission type, VIEW or EDIT.Returns the user name to display.Returns the user identifier, as returned by LuteceUser#getName.voidsetIdItem(int nIdItem) Sets the wiki item identifier.voidsetPermissionType(String strPermissionType) Sets the permission type, VIEW or EDIT.voidsetUserDisplayName(String strUserDisplayName) Sets the user name to display.voidsetUserGuid(String strUserGuid) Sets the user identifier.
-
Field Details
-
PERMISSION_VIEW
- See Also:
-
PERMISSION_EDIT
- See Also:
-
-
Constructor Details
-
WikiItemUserPermission
public WikiItemUserPermission()
-
-
Method Details
-
getIdItem
public int getIdItem()Returns the wiki item identifier.- Returns:
- the item identifier
-
setIdItem
public void setIdItem(int nIdItem) Sets the wiki item identifier.- Parameters:
nIdItem- the item identifier
-
getUserGuid
Returns the user identifier, as returned by LuteceUser#getName.- Returns:
- the user guid
-
setUserGuid
Sets the user identifier.- Parameters:
strUserGuid- the user guid
-
getUserDisplayName
Returns the user name to display.- Returns:
- the display name
-
setUserDisplayName
Sets the user name to display.- Parameters:
strUserDisplayName- the display name
-
getPermissionType
Returns the permission type, VIEW or EDIT.- Returns:
- the permission type
-
setPermissionType
Sets the permission type, VIEW or EDIT.- Parameters:
strPermissionType- the permission type
-