Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Usages

...

用法

抽象类

org.joget.apps.userview.model.UserviewPermission

Method Detail

Abstract Methods
isAuthorize
public abstract boolean isAuthorize()

Check the current user is authorized to proceed.

...

方法细节

抽象方法
isAuthorize
公共抽象布尔isAuthorize()

检查当前用户是否有权继续。

效用方法
getRequestParameters
public java.util.Map getRequestParameters()getRequestParameters()

获取请求参数Gets request parameters

setRequestParameters
public void setRequestParameters(javasetRequestParameters(java.util.Map requestParameters)requestParameters)

设置请求参数Sets request parameters

getRequestParameter
public java.lang.Object getRequestParameter(javagetRequestParameter(java.lang.String requestParameter)requestParameter)

便捷方法获取参数值Convenience method to get a parameter value

getRequestParameterString
public java.lang.String getRequestParameterString(javagetRequestParameterString(java.lang.String requestParameter)

Convenience method to get a parameter String value.

requestParameter)

便捷方法获取参数字符串值。

返回  空字符串而不是NULL。Return Empty string instead of NULL.

getCurrentUser
public org.joget.directory.model.User getCurrentUser()

Gets current logged in user. 

Return NULL if anonymous.

getCurrentUser()

获取当前登录的用户。 

 如果匿名返回 NULL。

setCurrentUser
public void setCurrentUser(orgsetCurrentUser(org.joget.directory.model.User currentUser)

Sets current logged in user.

...

currentUser)

设置当前登录的用户。

接口

org.joget.apps.form.model.FormPermission

  • Under wflow在wflow-core module

  • This interface is used to mark a Userview Permission Plugin is reusable in Form Builder.

  • No interface method is available in this interface.

Plugin Properties Options

Tutorials

Related Community Plugins

  • core模块下

  • 这个接口用来标记一个UserView权限插件在Form Builder中是可重用的。

  • 在这个界面中没有可用的接口方法。

插件属性选项

教程

相关的社区插件

  • Bean Shell权限Bean Shell Permission
    org.joget.apps.userview.lib.BeanShellPermission (wflow-core)Department PermissionBeanShellPermission(wflow-core)
  • 部门权限
    org.joget.apps.userview.lib.DepartmentPermission (wflow-core)DepartmentPermission(wflow-core)
  • 组权限Group Permission
    org.joget.apps.userview.lib.GroupPermission (wflow-core)Logged In User PermissionGroupPermission(wflow-core)
  • 登录用户权限
    org.joget.apps.userview.lib.LoggedInUserPermission (wflow-core)LoggedInUserPermission(wflow-core)
  • 组织权限Organization Permission
    org.joget.apps.userview.lib.OrganizationPermission (wflow-core)User PermissionOrganizationPermission(wflow-core)
  • 用户权限
    org.joget.apps.userview.lib.UserPermission (wflow-core)

...

  • UserPermission(wflow-core)