public class OwDummyMandator extends Object implements com.wewebu.ow.server.mandator.OwMandator
Dummy implementation for mandators to specify the mandator configuration data.
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
| Constructor and Description |
|---|
OwDummyMandator(OwDummyMandatorManager manager_p,
com.wewebu.ow.server.conf.OwBaseUserInfo owBaseUserInfo_p)
construct simple mandator
|
| Modifier and Type | Method and Description |
|---|---|
int |
attributecount() |
String |
filterRoleName(String rolename_p)
create a unique role name for the given role name
|
Object |
getAttribute(int index_p) |
Object |
getAttribute(String strName_p) |
Collection |
getAttributeNames() |
com.wewebu.ow.server.mandator.OwMandatorManagerContext |
getContext()
get the context
|
String |
getDescription()
get a description for this mandator
|
String |
getID()
get a unique ID for this mandator
|
String |
getName()
get a name for this mandator
|
Object |
getSafeAttribute(String strName_p,
Object default_p) |
boolean |
hasAttribute(String strName_p) |
public OwDummyMandator(OwDummyMandatorManager manager_p, com.wewebu.ow.server.conf.OwBaseUserInfo owBaseUserInfo_p)
manager_p - owBaseUserInfo_p - public com.wewebu.ow.server.mandator.OwMandatorManagerContext getContext()
OwMandatorManagerContextpublic String getID()
getID in interface com.wewebu.ow.server.mandator.OwMandatorString IDpublic String getName()
getName in interface com.wewebu.ow.server.mandator.OwMandatorStringpublic String getDescription()
getDescription in interface com.wewebu.ow.server.mandator.OwMandatorpublic int attributecount()
attributecount in interface com.wewebu.ow.server.util.OwAttributeBagpublic Object getAttribute(int index_p) throws Exception
getAttribute in interface com.wewebu.ow.server.util.OwAttributeBagExceptionpublic Object getAttribute(String strName_p) throws Exception
getAttribute in interface com.wewebu.ow.server.util.OwAttributeBagExceptionpublic Collection getAttributeNames()
getAttributeNames in interface com.wewebu.ow.server.util.OwAttributeBagpublic Object getSafeAttribute(String strName_p, Object default_p)
getSafeAttribute in interface com.wewebu.ow.server.util.OwAttributeBagpublic boolean hasAttribute(String strName_p)
hasAttribute in interface com.wewebu.ow.server.util.OwAttributeBagCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.