com.wewebu.ow.server.mandator
Interface OwMandatorManager

All Known Implementing Classes:
OwSimpleMandatorManager

public interface OwMandatorManager

Interface for mandators (multitenancy, multi-tenant) to specify the mandator configuration data.
To be implemented with the specific ECM system.

You get a instance of the mandator manager by calling getContext().getMandatorManager().getUserMandator()

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Method Summary
 Set getGlobalRoleNames()
          get a set of rolenames that act globally for all mandators
 OwMandator getUserMandator()
          get the mandator interface of the current logged in user
 void init(OwMandatorManagerContext context_p, OwXMLUtil configNode_p)
          init the manager, set context
 void loginInit(OwBaseUserInfo user_p)
          init called AFTER the user has logged in.
 

Method Detail

init

void init(OwMandatorManagerContext context_p,
          OwXMLUtil configNode_p)
          throws Exception
init the manager, set context

Parameters:
context_p - OwMandatorManagerContext
configNode_p - OwXMLUtil node with configuration information
Throws:
Exception

loginInit

void loginInit(OwBaseUserInfo user_p)
               throws Exception
init called AFTER the user has logged in. NOTE: This function is called only once after login to do special initialization, which can only be performed with valid credentials.

Parameters:
user_p - OwBaseUserInfo
Throws:
Exception

getUserMandator

OwMandator getUserMandator()
get the mandator interface of the current logged in user

Returns:
OwMandator or null if not yet defined

getGlobalRoleNames

Set getGlobalRoleNames()
get a set of rolenames that act globally for all mandators

Returns:
a Set


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.