|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ecmimpl.owdummy.OwDummyMandator
public class OwDummyMandator
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 Summary | |
|---|---|
OwDummyMandator(OwDummyMandatorManager manager_p,
com.wewebu.ow.server.conf.OwBaseUserInfo owBaseUserInfo_p)
construct simple mandator |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwDummyMandator(OwDummyMandatorManager manager_p,
com.wewebu.ow.server.conf.OwBaseUserInfo owBaseUserInfo_p)
manager_p - owBaseUserInfo_p - | Method Detail |
|---|
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.OwAttributeBag
public Object getAttribute(int index_p)
throws Exception
getAttribute in interface com.wewebu.ow.server.util.OwAttributeBagException
public 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.OwAttributeBag
public 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.OwAttributeBagpublic String filterRoleName(String rolename_p)
filterRoleName in interface com.wewebu.ow.server.mandator.OwMandatorrolename_p -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||