it.sistematica.isharedoc.action.workgroup
Class AppRoleAction

java.lang.Object
  extended by it.sistematica.isharedoc.action.BaseAction
      extended by it.sistematica.isharedoc.action.workgroup.AppRoleAction
All Implemented Interfaces:
org.apache.struts2.interceptor.ParameterAware, org.apache.struts2.interceptor.ServletRequestAware, org.apache.struts2.interceptor.SessionAware

@Controller(value="workgroupAppRoleAction")
@Secured(value={"family:isharedoc.appRole","function:.view"})
public class AppRoleAction
extends BaseAction


Nested Class Summary
 
Nested classes/interfaces inherited from class it.sistematica.isharedoc.action.BaseAction
BaseAction.TrimMode
 
Field Summary
(package private)  it.neverworks.application.service.UserInfo userInfo
           
 
Fields inherited from class it.sistematica.isharedoc.action.BaseAction
cloudManager, entities, jsonResult, parameters, redirectURL, request, resultCode, resultMessage, search, session
 
Constructor Summary
AppRoleAction()
           
 
Method Summary
 java.lang.String appRoles()
           
 java.lang.String create()
           
 java.lang.String delete()
           
 java.lang.String deleteFunction()
           
 java.lang.String edit()
           
 java.lang.String functionsAvailable()
           
 java.lang.String functionsEnabled()
           
 AppRole getAppRole()
           
 java.util.List<View> getAppRoleFunctionAvailable()
           
 java.util.List<AppRole> getAppRoles()
           
 Function getFunction()
           
 java.lang.String getPanelId()
           
 Storyboard getStoryboard()
           
 java.util.List<Storyboard> getStoryboards()
           
 View getView()
           
 java.lang.String mainPanel()
           
 void prepare()
           
 void prepareCreate()
           
 void prepareSaveFunction()
           
 java.lang.String save()
           
 java.lang.String saveFunction()
           
 void setPanelId(java.lang.String panelId)
           
 void setStoryboards(java.util.List<Storyboard> storyboards)
           
 java.lang.String storyboards()
           
 
Methods inherited from class it.sistematica.isharedoc.action.BaseAction
dateFormat, escapeHTML, escapeJavascript, escapeXml, execute, getCancelMessage, getExceptionStack, getFileId, getFileName, getJsonResult, getParameters, getRedirectURL, getRequestId, getResultCode, getResultMessage, getSearch, getServletRequest, getSession, getTaskLink, prepareCloudFile, prepareEntity, prepareEntity, prepareEntityUsingString, prepareEntityUsingString, prepareExport, prepareExport, setFileId, setFileName, setParameters, setServletRequest, setSession, trimToLength, trimToLength, unescapeHTML, unescapeJavascript, unescapeXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userInfo

it.neverworks.application.service.UserInfo userInfo
Constructor Detail

AppRoleAction

public AppRoleAction()
Method Detail

mainPanel

public java.lang.String mainPanel()

storyboards

public java.lang.String storyboards()

edit

public java.lang.String edit()

appRoles

public java.lang.String appRoles()

functionsEnabled

public java.lang.String functionsEnabled()

functionsAvailable

public java.lang.String functionsAvailable()

prepare

public void prepare()

prepareCreate

public void prepareCreate()

prepareSaveFunction

public void prepareSaveFunction()

save

@Transactional
@Secured(value="function:.edit")
public java.lang.String save()

create

@Transactional
@Secured(value="function:.edit")
public java.lang.String create()

delete

@Transactional
@Secured(value="function:.edit")
public java.lang.String delete()

saveFunction

@Transactional
@Secured(value="function:.edit")
public java.lang.String saveFunction()

deleteFunction

@Transactional
@Secured(value="function:.edit")
public java.lang.String deleteFunction()

getStoryboard

public Storyboard getStoryboard()

getView

public View getView()

getAppRole

public AppRole getAppRole()

getFunction

public Function getFunction()

getStoryboards

public java.util.List<Storyboard> getStoryboards()

setStoryboards

public void setStoryboards(java.util.List<Storyboard> storyboards)

getAppRoles

public java.util.List<AppRole> getAppRoles()

getAppRoleFunctionAvailable

public java.util.List<View> getAppRoleFunctionAvailable()

getPanelId

public java.lang.String getPanelId()

setPanelId

public void setPanelId(java.lang.String panelId)