Class ExportUsersWebScript

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
fr.becpg.repo.web.scripts.users.ExportUsersWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript

public class ExportUsersWebScript extends org.springframework.extensions.webscripts.AbstractWebScript

ExportUsersWebScript class.

Author:
matthieu
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript

    org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.alfresco.service.cmr.security.AuthorityService
     
    private static final String
    Constant DELETE="delete"
    private static final String
    Constant DISABLE="disable"
    private static final String
    Constant EMAIL="cm:email"
    private static final String
    Constant FIRST_NAME="cm:firstName"
    private static final String
    Constant GROUPS="groups"
    private static final String
    Constant IS_IDS_USER="is_ids_user"
    private static final String
    Constant LAST_NAME="cm:lastName"
    private static final String
    Constant MEMBERSHIPS="memberships"
    private static final String
    Constant NEW_USERNAME="new_username"
    private org.alfresco.service.cmr.repository.NodeService
     
    private static final String
    Constant NOTIFY="notify"
    private static final String
    Constant ORGANIZATION="cm:organization"
    private static final String
    Constant PASSWORD="password"
    private org.alfresco.service.cmr.security.PersonService
     
    private static final String
    Constant SHOULD_GENERATE_PASSWORD="should_generate_password"
    private static final String
    Constant TELEPHONE="cm:telephone"
    private static final String
    Constant USERNAME="username"
    private static final List<String>
    Constant XLSX_COLUMNS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
    private String
    getOrEmpty.
    void
    setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
    Setter for the field authorityService.
    void
    setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
    Setter for the field nodeService.
    void
    setPersonService(org.alfresco.service.cmr.security.PersonService personService)
    Setter for the field personService.

    Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript

    addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • nodeService

      private org.alfresco.service.cmr.repository.NodeService nodeService
    • personService

      private org.alfresco.service.cmr.security.PersonService personService
    • authorityService

      private org.alfresco.service.cmr.security.AuthorityService authorityService
    • LAST_NAME

      private static final String LAST_NAME
      Constant LAST_NAME="cm:lastName"
      See Also:
    • FIRST_NAME

      private static final String FIRST_NAME
      Constant FIRST_NAME="cm:firstName"
      See Also:
    • EMAIL

      private static final String EMAIL
      Constant EMAIL="cm:email"
      See Also:
    • TELEPHONE

      private static final String TELEPHONE
      Constant TELEPHONE="cm:telephone"
      See Also:
    • ORGANIZATION

      private static final String ORGANIZATION
      Constant ORGANIZATION="cm:organization"
      See Also:
    • USERNAME

      private static final String USERNAME
      Constant USERNAME="username"
      See Also:
    • NEW_USERNAME

      private static final String NEW_USERNAME
      Constant NEW_USERNAME="new_username"
      See Also:
    • PASSWORD

      private static final String PASSWORD
      Constant PASSWORD="password"
      See Also:
    • SHOULD_GENERATE_PASSWORD

      private static final String SHOULD_GENERATE_PASSWORD
      Constant SHOULD_GENERATE_PASSWORD="should_generate_password"
      See Also:
    • MEMBERSHIPS

      private static final String MEMBERSHIPS
      Constant MEMBERSHIPS="memberships"
      See Also:
    • GROUPS

      private static final String GROUPS
      Constant GROUPS="groups"
      See Also:
    • NOTIFY

      private static final String NOTIFY
      Constant NOTIFY="notify"
      See Also:
    • IS_IDS_USER

      private static final String IS_IDS_USER
      Constant IS_IDS_USER="is_ids_user"
      See Also:
    • DISABLE

      private static final String DISABLE
      Constant DISABLE="disable"
      See Also:
    • DELETE

      private static final String DELETE
      Constant DELETE="delete"
      See Also:
    • XLSX_COLUMNS

      private static final List<String> XLSX_COLUMNS
      Constant XLSX_COLUMNS
  • Constructor Details

    • ExportUsersWebScript

      public ExportUsersWebScript()
  • Method Details

    • setAuthorityService

      public void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)

      Setter for the field authorityService.

      Parameters:
      authorityService - a AuthorityService object
    • setNodeService

      public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)

      Setter for the field nodeService.

      Parameters:
      nodeService - a NodeService object
    • setPersonService

      public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)

      Setter for the field personService.

      Parameters:
      personService - a PersonService object
    • execute

      public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
      Throws:
      IOException
    • getOrEmpty

      private String getOrEmpty(Object prop)

      getOrEmpty.

      Parameters:
      prop - a Object object
      Returns:
      a String object