Class WorkflowService
java.lang.Object
fr.paris.lutece.portal.service.workflow.WorkflowService
WorkflowService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanProcessAction(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, boolean bIsAutomatic) Deprecated.use canProcessAction( int, String, int, Integer, HttpServletRequest, User )booleancanProcessAction(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, boolean bIsAutomatic, fr.paris.lutece.api.user.User user) Check if the action can be proceed for the given resourcevoiddoProcessAction(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, Locale locale, boolean bIsAutomatic) Deprecated.use doProcessAction( int, String, int, Integer, HttpServletRequest, Locale, boolean, User )voiddoProcessAction(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, Locale locale, boolean bIsAutomatic, fr.paris.lutece.api.user.User user) Proceed action given in parametervoiddoProcessAutomaticReflexiveActions(int nIdResource, String strResourceType, int nIdState, Integer nIdExternalParent, Locale locale) Deprecated.use doProcessAutomaticReflexiveActions( int, String, int, Integer, Locale, User )voiddoProcessAutomaticReflexiveActions(int nIdResource, String strResourceType, int nIdState, Integer nIdExternalParent, Locale locale, fr.paris.lutece.api.user.User user) Proceed automatic reflexive actions of state given in parameter.voiddoRemoveWorkFlowResource(int nIdResource, String strResourceType) Remove in every workflows the resource specified in parametervoiddoRemoveWorkFlowResourceByListId(List<Integer> lListIdResource, String strResourceType, Integer nIdWorflow) Remove list of resource workflow by list iddoSaveTasksForm(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, Locale locale) Deprecated.use doSaveTasksForm( int, String, int, Integer, HttpServletRequest, Locale, User )doSaveTasksForm(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.api.user.User user) Perform the information on the various tasks associated with the given action specified in parametervoidexecuteActionAutomatic(int nIdResource, String strResourceType, int nIdWorkflow, Integer nExternalParentId) Deprecated.use executeActionAutomatic( int, String, int, Integer, User )voidexecuteActionAutomatic(int nIdResource, String strResourceType, int nIdWorkflow, Integer nExternalParentId, fr.paris.lutece.api.user.User user) Execute action automaticCollection<fr.paris.lutece.plugins.workflowcore.business.action.Action>getActions(int nIdResource, String strResourceType, int nIdWorkflow, fr.paris.lutece.api.user.User user) returns a list of actions possible for a given document based on the status of the document in the workflow and the user roleCollection<fr.paris.lutece.plugins.workflowcore.business.action.Action>getActions(int nIdResource, String strResourceType, int nIdWorkflow, AdminUser user) Deprecated.use getActions( int, String, int, User )getActions(List<Integer> listIdResource, String strResourceType, Integer nIdExternalParentId, int nIdWorkflow, fr.paris.lutece.api.user.User user) returns a list of actions possible for a given document based on the status of the document in the workflow and the user rolegetActions(List<Integer> listIdResource, String strResourceType, Integer nIdExternalParentId, int nIdWorkflow, AdminUser user) Deprecated.getActions( List, String, Integer, int, User )Collection<fr.paris.lutece.plugins.workflowcore.business.state.State>getAllStateByWorkflow(int nIdWorkflow, fr.paris.lutece.api.user.User user) returns all state of a given workflowCollection<fr.paris.lutece.plugins.workflowcore.business.state.State>getAllStateByWorkflow(int nIdWorkflow, AdminUser user) Deprecated.use getAllStateByWorkflow( int, User )getAuthorizedResourceList(String strResourceType, int nIdWorkflow, int nIdWorkflowState, Integer nExternalParentId, fr.paris.lutece.api.user.User user) Get all authorized resource IdgetAuthorizedResourceList(String strResourceType, int nIdWorkflow, int nIdWorkflowState, Integer nExternalParentId, AdminUser user) Deprecated.use getAuthorizedResourceList( String, int, int, Integer, User )getAuthorizedResourceList(String strResourceType, int nIdWorkflow, List<Integer> lListIdWorkflowState, Integer nExternalParentId, fr.paris.lutece.api.user.User user) Get all authorized resource Id by list of stategetAuthorizedResourceList(String strResourceType, int nIdWorkflow, List<Integer> lListIdWorkflowState, Integer nExternalParentId, AdminUser user) Deprecated.use getAuthorizedResourceList( String, int, List, Integer, User )getDisplayDocumentHistory(int nIdResource, String strResourceType, int nIdWorkflow, jakarta.servlet.http.HttpServletRequest request, Locale locale) Deprecated.use getDisplayDocumentHistory( int, String, int, HttpServletRequest, Locale, User )getDisplayDocumentHistory(int nIdResource, String strResourceType, int nIdWorkflow, jakarta.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.api.user.User user) returns the actions history performed on a resourcegetDisplayDocumentHistory(int nIdResource, String strResourceType, int nIdWorkflow, jakarta.servlet.http.HttpServletRequest request, Locale locale, Map<String, Object> model, String strTemplate) Deprecated.use getDisplayDocumentHistory( int, String, int, HttpServletRequest, Locale, Map, String, User )getDisplayDocumentHistory(int nIdResource, String strResourceType, int nIdWorkflow, jakarta.servlet.http.HttpServletRequest request, Locale locale, Map<String, Object> model, String strTemplate, fr.paris.lutece.api.user.User user) returns the actions history performed on a resourcegetDisplayTasksForm(int nIdResource, String strResourceType, int nIdAction, jakarta.servlet.http.HttpServletRequest request, Locale locale) Deprecated.use getDisplayTasksForm( int, String, int, HttpServletRequest, Locale, User )getDisplayTasksForm(int nIdResource, String strResourceType, int nIdAction, jakarta.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.api.user.User user) returns the tasks formstatic WorkflowServiceDeprecated, for removal: This API element is subject to removal in a future version.Use@Injectto obtain theWorkflowServiceinstance.List<fr.paris.lutece.plugins.workflowcore.business.action.Action>getMassActions(int nIdWorkflow) Get the list of mass actions from a given id workflowCollection<fr.paris.lutece.plugins.workflowcore.business.action.Action>getMassActions(int nIdWorkflow, int nIdState, fr.paris.lutece.api.user.User user) Get the list of mass actions from a given id workflowgetResourceIdListByIdState(int nIdState, String strResourceType) Get the list of ids of resources of a given type that are in a given stategetResourceIdListByIdState(int nIdState, String strResourceType, int nExternalParentId) Get the list of ids of resources of a given type that are in a given state and have a specific external parent idfr.paris.lutece.plugins.workflowcore.business.state.Statereturns the state of a given document of the document in the workflow and the user rolegetWorkflowsEnabled(fr.paris.lutece.api.user.User user, Locale locale) return a reference list which contains a list enabled workflowgetWorkflowsEnabled(AdminUser user, Locale locale) Deprecated.use getWorkflowsEnabled( User, Locale )booleanisAuthorized(int nIdResource, String strResourceType, int nIdWorkflow, fr.paris.lutece.api.user.User user) Check that a given user is allowed to view a resource depending the state of the resourcebooleanisAuthorized(int nIdResource, String strResourceType, int nIdWorkflow, AdminUser user) Deprecated.use isAuthorized( int, String, int, User )booleanCheck if the workflow service is available.booleanisDisplayTasksForm(int nIdAction, Locale locale) return true if a form is associate to the action
-
Constructor Details
-
WorkflowService
public WorkflowService()
-
-
Method Details
-
getInstance
Deprecated, for removal: This API element is subject to removal in a future version.Use@Injectto obtain theWorkflowServiceinstance. This method will be removed in future versions.Returns the unique instance of the service- Returns:
- The instance of the service
-
isAvailable
public boolean isAvailable()Check if the workflow service is available. To be available, the following conditions must be verified :- the Bean service is not null
- the plugin-workflow must be enable
- Returns:
- true if the workflow service is available
-
getActions
public Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> getActions(int nIdResource, String strResourceType, int nIdWorkflow, fr.paris.lutece.api.user.User user) returns a list of actions possible for a given document based on the status of the document in the workflow and the user role- Parameters:
nIdResource- the document idstrResourceType- the document typeuser- the adminUsernIdWorkflow- the workflow id- Returns:
- a list of Action
-
getActions
@Deprecated public Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> getActions(int nIdResource, String strResourceType, int nIdWorkflow, AdminUser user) Deprecated.use getActions( int, String, int, User )returns a list of actions possible for a given document based on the status of the document in the workflow and the user role- Parameters:
nIdResource- the document idstrResourceType- the document typeuser- the adminUsernIdWorkflow- the workflow id- Returns:
- a list of Action
-
getActions
public Map<Integer,List<fr.paris.lutece.plugins.workflowcore.business.action.Action>> getActions(List<Integer> listIdResource, String strResourceType, Integer nIdExternalParentId, int nIdWorkflow, fr.paris.lutece.api.user.User user) returns a list of actions possible for a given document based on the status of the document in the workflow and the user role- Parameters:
listIdResource- the list of resource idstrResourceType- the document typenIdExternalParentId- the external parent identifiernIdWorkflow- the workflow iduser- the User- Returns:
- a list of Action
-
getActions
@Deprecated public Map<Integer,List<fr.paris.lutece.plugins.workflowcore.business.action.Action>> getActions(List<Integer> listIdResource, String strResourceType, Integer nIdExternalParentId, int nIdWorkflow, AdminUser user) Deprecated.getActions( List, String, Integer, int, User )returns a list of actions possible for a given document based on the status of the document in the workflow and the user role- Parameters:
listIdResource- the list of resource idstrResourceType- the document typenIdExternalParentId- the external parent identifiernIdWorkflow- the workflow iduser- the User- Returns:
- a list of Action
-
isDisplayTasksForm
return true if a form is associate to the action- Parameters:
nIdAction- the action idlocale- the loacle- Returns:
- true if a form is associate to the action
-
doProcessAction
@Deprecated public void doProcessAction(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, Locale locale, boolean bIsAutomatic) Deprecated.use doProcessAction( int, String, int, Integer, HttpServletRequest, Locale, boolean, User )Proceed action given in parameter- Parameters:
nIdResource- the resource idstrResourceType- the resource typenIdAction- the action idnExternalParentId- the external parent idrequest- the requestlocale- localebIsAutomatic- Is automatic
-
doProcessAction
public void doProcessAction(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, Locale locale, boolean bIsAutomatic, fr.paris.lutece.api.user.User user) Proceed action given in parameter- Parameters:
nIdResource- the resource idstrResourceType- the resource typenIdAction- the action idnExternalParentId- the external parent idrequest- the requestlocale- localebIsAutomatic- Is automaticuser- The User
-
getDisplayDocumentHistory
@Deprecated public String getDisplayDocumentHistory(int nIdResource, String strResourceType, int nIdWorkflow, jakarta.servlet.http.HttpServletRequest request, Locale locale) Deprecated.use getDisplayDocumentHistory( int, String, int, HttpServletRequest, Locale, User )returns the actions history performed on a resource- Parameters:
nIdResource- the resource idstrResourceType- the resource typerequest- the requestnIdWorkflow- the workflow idlocale- the locale- Returns:
- the history of actions performed on a resource
-
getDisplayDocumentHistory
public String getDisplayDocumentHistory(int nIdResource, String strResourceType, int nIdWorkflow, jakarta.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.api.user.User user) returns the actions history performed on a resource- Parameters:
nIdResource- the resource idstrResourceType- the resource typerequest- the requestnIdWorkflow- the workflow idlocale- the localeuser- The User- Returns:
- the history of actions performed on a resource
-
getDisplayDocumentHistory
@Deprecated public String getDisplayDocumentHistory(int nIdResource, String strResourceType, int nIdWorkflow, jakarta.servlet.http.HttpServletRequest request, Locale locale, Map<String, Object> model, String strTemplate) Deprecated.use getDisplayDocumentHistory( int, String, int, HttpServletRequest, Locale, Map, String, User )returns the actions history performed on a resource- Parameters:
nIdResource- the resource idstrResourceType- the resource typerequest- the requestnIdWorkflow- the workflow idlocale- the localemodel- The model to add to the default modelstrTemplate- The template- Returns:
- the history of actions performed on a resource
-
getDisplayDocumentHistory
public String getDisplayDocumentHistory(int nIdResource, String strResourceType, int nIdWorkflow, jakarta.servlet.http.HttpServletRequest request, Locale locale, Map<String, Object> model, String strTemplate, fr.paris.lutece.api.user.User user) returns the actions history performed on a resource- Parameters:
nIdResource- the resource idstrResourceType- the resource typerequest- the requestnIdWorkflow- the workflow idlocale- the localemodel- The model to add to the default modelstrTemplate- The templateuser- The User- Returns:
- the history of actions performed on a resource
-
doSaveTasksForm
@Deprecated public String doSaveTasksForm(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, Locale locale) Deprecated.use doSaveTasksForm( int, String, int, Integer, HttpServletRequest, Locale, User )Perform the information on the various tasks associated with the given action specified in parameter- Parameters:
nIdResource- the resource idstrResourceType- the resource typenExternalParentId- the external parent idrequest- the requestnIdAction- the action idlocale- the locale- Returns:
- null if there is no error in the task form else return the error message url
-
doSaveTasksForm
public String doSaveTasksForm(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.api.user.User user) Perform the information on the various tasks associated with the given action specified in parameter- Parameters:
nIdResource- the resource idstrResourceType- the resource typenExternalParentId- the external parent idrequest- the requestnIdAction- the action idlocale- the localeuser- the user- Returns:
- null if there is no error in the task form else return the error message url
-
getResourceIdListByIdState
Get the list of ids of resources of a given type that are in a given state- Parameters:
nIdState- The id of the state of resources to getstrResourceType- The type of resources to get- Returns:
- The list of resources matching both given state id and resource given. Return an empty list if no resource was found, or if the state does not exist.
-
getResourceIdListByIdState
public List<Integer> getResourceIdListByIdState(int nIdState, String strResourceType, int nExternalParentId) Get the list of ids of resources of a given type that are in a given state and have a specific external parent id- Parameters:
nIdState- The id of the state of resources to getstrResourceType- The type of resources to get- Returns:
- The list of resources matching both given state id and resource given. Return an empty list if no resource was found, or if the state does not exist.
-
doRemoveWorkFlowResource
Remove in every workflows the resource specified in parameter- Parameters:
nIdResource- the resource idstrResourceType- the resource type
-
doRemoveWorkFlowResourceByListId
public void doRemoveWorkFlowResourceByListId(List<Integer> lListIdResource, String strResourceType, Integer nIdWorflow) Remove list of resource workflow by list id- Parameters:
lListIdResource- list of id resourcestrResourceType- the ressource typenIdWorflow- the workflow id
-
getDisplayTasksForm
@Deprecated public String getDisplayTasksForm(int nIdResource, String strResourceType, int nIdAction, jakarta.servlet.http.HttpServletRequest request, Locale locale) Deprecated.use getDisplayTasksForm( int, String, int, HttpServletRequest, Locale, User )returns the tasks form- Parameters:
nIdResource- the document idstrResourceType- the document typerequest- the requestnIdAction- the action idlocale- the locale- Returns:
- the tasks form associated to the action
-
getDisplayTasksForm
public String getDisplayTasksForm(int nIdResource, String strResourceType, int nIdAction, jakarta.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.api.user.User user) returns the tasks form- Parameters:
nIdResource- the document idstrResourceType- the document typerequest- the requestnIdAction- the action idlocale- the localeuser- the user- Returns:
- the tasks form associated to the action
-
isAuthorized
public boolean isAuthorized(int nIdResource, String strResourceType, int nIdWorkflow, fr.paris.lutece.api.user.User user) Check that a given user is allowed to view a resource depending the state of the resource- Parameters:
nIdResource- the document idstrResourceType- the document typeuser- the UsernIdWorkflow- the workflow id- Returns:
- a list of Action
-
isAuthorized
@Deprecated public boolean isAuthorized(int nIdResource, String strResourceType, int nIdWorkflow, AdminUser user) Deprecated.use isAuthorized( int, String, int, User )Check that a given user is allowed to view a resource depending the state of the resource- Parameters:
nIdResource- the document idstrResourceType- the document typeuser- the UsernIdWorkflow- the workflow id- Returns:
- a list of Action
-
getAuthorizedResourceList
public List<Integer> getAuthorizedResourceList(String strResourceType, int nIdWorkflow, int nIdWorkflowState, Integer nExternalParentId, fr.paris.lutece.api.user.User user) Get all authorized resource Id- Parameters:
strResourceType- the resource typenIdWorkflow- the workflow idnIdWorkflowState- The workflow state id or -1 for all workflow statesnExternalParentId- The external parent iduser- the User- Returns:
- a list resource id
-
getAuthorizedResourceList
@Deprecated public List<Integer> getAuthorizedResourceList(String strResourceType, int nIdWorkflow, int nIdWorkflowState, Integer nExternalParentId, AdminUser user) Deprecated.use getAuthorizedResourceList( String, int, int, Integer, User )Get all authorized resource Id- Parameters:
strResourceType- the resource typenIdWorkflow- the workflow idnIdWorkflowState- The workflow state id or -1 for all workflow statesnExternalParentId- The external parent iduser- the User- Returns:
- a list resource id
-
getAuthorizedResourceList
public List<Integer> getAuthorizedResourceList(String strResourceType, int nIdWorkflow, List<Integer> lListIdWorkflowState, Integer nExternalParentId, fr.paris.lutece.api.user.User user) Get all authorized resource Id by list of state- Parameters:
strResourceType- the resource typenIdWorkflow- the workflow idlListIdWorkflowState- The workflow state id or null for all workflow statesnExternalParentId- the externbal parent identifieruser- the User- Returns:
- a list resource id
-
getAuthorizedResourceList
@Deprecated public List<Integer> getAuthorizedResourceList(String strResourceType, int nIdWorkflow, List<Integer> lListIdWorkflowState, Integer nExternalParentId, AdminUser user) Deprecated.use getAuthorizedResourceList( String, int, List, Integer, User )Get all authorized resource Id by list of state- Parameters:
strResourceType- the resource typenIdWorkflow- the workflow idlListIdWorkflowState- The workflow state id or null for all workflow statesnExternalParentId- the externbal parent identifieruser- the User- Returns:
- a list resource id
-
getWorkflowsEnabled
return a reference list which contains a list enabled workflow- Parameters:
user- the Userlocale- the locale- Returns:
- a reference list which contains a list enabled workflow
-
getWorkflowsEnabled
Deprecated.use getWorkflowsEnabled( User, Locale )return a reference list which contains a list enabled workflow- Parameters:
user- the Userlocale- the locale- Returns:
- a reference list which contains a list enabled workflow
-
getAllStateByWorkflow
public Collection<fr.paris.lutece.plugins.workflowcore.business.state.State> getAllStateByWorkflow(int nIdWorkflow, fr.paris.lutece.api.user.User user) returns all state of a given workflow- Parameters:
user- the usernIdWorkflow- the workflow id- Returns:
- the state of a given document
-
getAllStateByWorkflow
@Deprecated public Collection<fr.paris.lutece.plugins.workflowcore.business.state.State> getAllStateByWorkflow(int nIdWorkflow, AdminUser user) Deprecated.use getAllStateByWorkflow( int, User )returns all state of a given workflow- Parameters:
user- the adminUsernIdWorkflow- the workflow id- Returns:
- the state of a given document
-
getState
public fr.paris.lutece.plugins.workflowcore.business.state.State getState(int nIdResource, String strResourceType, int nIdWorkflow, Integer nIdExternalParentId) returns the state of a given document of the document in the workflow and the user role- Parameters:
nIdResource- the document idstrResourceType- the document typenIdWorkflow- the workflow idnIdExternalParentId- the external parent id- Returns:
- the state of a given document
-
executeActionAutomatic
@Deprecated public void executeActionAutomatic(int nIdResource, String strResourceType, int nIdWorkflow, Integer nExternalParentId) Deprecated.use executeActionAutomatic( int, String, int, Integer, User )Execute action automatic- Parameters:
nIdResource- the document idstrResourceType- the document typenIdWorkflow- the workflow idnExternalParentId- the external parent id
-
executeActionAutomatic
public void executeActionAutomatic(int nIdResource, String strResourceType, int nIdWorkflow, Integer nExternalParentId, fr.paris.lutece.api.user.User user) Execute action automatic- Parameters:
nIdResource- the document idstrResourceType- the document typenIdWorkflow- the workflow idnExternalParentId- the external parent iduser- the user
-
getMassActions
public List<fr.paris.lutece.plugins.workflowcore.business.action.Action> getMassActions(int nIdWorkflow) Get the list of mass actions from a given id workflow- Parameters:
nIdWorkflow- the id workflow- Returns:
- the list of mass actions
-
getMassActions
public Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> getMassActions(int nIdWorkflow, int nIdState, fr.paris.lutece.api.user.User user) Get the list of mass actions from a given id workflow- Parameters:
nIdWorkflow- the id workflownIdState-user-- Returns:
- the list of mass actions
-
canProcessAction
@Deprecated public boolean canProcessAction(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, boolean bIsAutomatic) Deprecated.use canProcessAction( int, String, int, Integer, HttpServletRequest, User )Check if the action can be proceed for the given resource- Parameters:
nIdResource- the id resourcestrResourceType- the resource typenIdAction- the id actionnExternalParentId- the external parent idrequest- the HTTP requestbIsAutomatic- is automatic action- Returns:
- true if the action can proceed, false otherwise
-
canProcessAction
public boolean canProcessAction(int nIdResource, String strResourceType, int nIdAction, Integer nExternalParentId, jakarta.servlet.http.HttpServletRequest request, boolean bIsAutomatic, fr.paris.lutece.api.user.User user) Check if the action can be proceed for the given resource- Parameters:
nIdResource- the id resourcestrResourceType- the resource typenIdAction- the id actionnExternalParentId- the external parent idrequest- the HTTP requestbIsAutomatic- is automatic actionuser- the RBACUser- Returns:
- true if the action can proceed, false otherwise
-
doProcessAutomaticReflexiveActions
@Deprecated public void doProcessAutomaticReflexiveActions(int nIdResource, String strResourceType, int nIdState, Integer nIdExternalParent, Locale locale) Deprecated.use doProcessAutomaticReflexiveActions( int, String, int, Integer, Locale, User )Proceed automatic reflexive actions of state given in parameter. This method should be called anytime a service changed the state of a resource without proceeding a workflow action- Parameters:
nIdResource- the resource idstrResourceType- the resource typenIdState- the state of the resource idnIdExternalParent- the external parent id*locale- locale
-
doProcessAutomaticReflexiveActions
public void doProcessAutomaticReflexiveActions(int nIdResource, String strResourceType, int nIdState, Integer nIdExternalParent, Locale locale, fr.paris.lutece.api.user.User user) Proceed automatic reflexive actions of state given in parameter. This method should be called anytime a service changed the state of a resource without proceeding a workflow action- Parameters:
nIdResource- the resource idstrResourceType- the resource typenIdState- the state of the resource idnIdExternalParent- the external parent id*locale- localeuser- the user
-