com.wewebu.ow.server.ao
Class OwRoleManagedAOImpl<T>
java.lang.Object
com.wewebu.ow.server.ao.OwAOTypeImpl<T>
com.wewebu.ow.server.ao.OwRoleManagedAOImpl<T>
- All Implemented Interfaces:
- OwAOType<T>, OwRoleManagedAOType<T>
public abstract class OwRoleManagedAOImpl<T>
- extends OwAOTypeImpl<T>
- implements OwRoleManagedAOType<T>
Simple implementation of OwAOType for role
managed application objects.
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
- Since:
- 4.0.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwRoleManagedAOImpl
public OwRoleManagedAOImpl(int type,
Class<T> classType,
int category)
isAllowed
public boolean isAllowed(T object,
OwRoleManager roleManager)
- Specified by:
isAllowed
in interface OwRoleManagedAOType<T>
- Returns:
- true if the given application object is allowed in the context of the given role manager
resourceFromObject
protected abstract String resourceFromObject(T object)
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.