com.wewebu.ow.server.ecmimpl.owdummy
Class OwDummyMandatorManager

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.owdummy.OwDummyMandatorManager
All Implemented Interfaces:
com.wewebu.ow.server.mandator.OwMandatorManager

public class OwDummyMandatorManager
extends Object
implements com.wewebu.ow.server.mandator.OwMandatorManager

Implementation of a dummy Mandator Managers (multitenancy, multi-tenant).

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


Constructor Summary
OwDummyMandatorManager()
           
 
Method Summary
 com.wewebu.ow.server.util.OwXMLUtil getConfigNode()
           
 com.wewebu.ow.server.mandator.OwMandatorManagerContext getContext()
          get the context
 Set getGlobalRoleNames()
           
 com.wewebu.ow.server.mandator.OwMandator getUserMandator()
          get the mandator interface of the current logged in user
 void init(com.wewebu.ow.server.mandator.OwMandatorManagerContext context_p, com.wewebu.ow.server.util.OwXMLUtil configNode_p)
           
 void loginInit(com.wewebu.ow.server.conf.OwBaseUserInfo user_p)
          init called AFTER the user has logged in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwDummyMandatorManager

public OwDummyMandatorManager()
Method Detail

getConfigNode

public com.wewebu.ow.server.util.OwXMLUtil getConfigNode()

init

public void init(com.wewebu.ow.server.mandator.OwMandatorManagerContext context_p,
                 com.wewebu.ow.server.util.OwXMLUtil configNode_p)
          throws Exception
Specified by:
init in interface com.wewebu.ow.server.mandator.OwMandatorManager
Throws:
Exception

getContext

public com.wewebu.ow.server.mandator.OwMandatorManagerContext getContext()
get the context

Returns:
an OwMandatorManagerContext

getUserMandator

public com.wewebu.ow.server.mandator.OwMandator getUserMandator()
get the mandator interface of the current logged in user

Specified by:
getUserMandator in interface com.wewebu.ow.server.mandator.OwMandatorManager
Returns:
OwMandator or null if not yet defined

loginInit

public void loginInit(com.wewebu.ow.server.conf.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.

Specified by:
loginInit in interface com.wewebu.ow.server.mandator.OwMandatorManager
Parameters:
user_p - OwBaseUserInfo
Throws:
Exception

getGlobalRoleNames

public Set getGlobalRoleNames()
Specified by:
getGlobalRoleNames in interface com.wewebu.ow.server.mandator.OwMandatorManager


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.