org.apache.portals.graffito.services.core.impl
Class ContentPermissionServiceImpl

java.lang.Object
  extended by org.springframework.orm.ojb.support.PersistenceBrokerDaoSupport
      extended by org.apache.jetspeed.security.impl.PermissionManagerImpl
          extended by org.apache.portals.graffito.services.core.impl.ContentPermissionServiceImpl
All Implemented Interfaces:
org.apache.jetspeed.security.PermissionManager, org.apache.portals.graffito.services.core.ContentPermissionService

public class ContentPermissionServiceImpl
extends org.apache.jetspeed.security.impl.PermissionManagerImpl
implements org.apache.portals.graffito.services.core.ContentPermissionService

Default implementation for ContentPermissionService

Version:
$Id: Exp $
Author:
Lombart Christophe

Field Summary
 
Fields inherited from class org.springframework.orm.ojb.support.PersistenceBrokerDaoSupport
logger
 
Constructor Summary
ContentPermissionServiceImpl()
           
 
Method Summary
 org.apache.portals.graffito.model.permission.CmsPermission createPermission(java.lang.String name, java.lang.String actions)
           
 java.security.Permissions getPermissions(org.apache.portals.graffito.model.core.CmsObject cmsObject)
           
 java.security.Permissions getPermissions(java.lang.String uri)
           
 void grantPermission(java.lang.String fullPath, org.apache.portals.graffito.model.permission.CmsPermission permission)
           
 
Methods inherited from class org.apache.jetspeed.security.impl.PermissionManagerImpl
addPermission, checkPermission, getPermissions, getPermissions, grantPermission, permissionExists, removePermission, removePermissions, revokePermission
 
Methods inherited from class org.springframework.orm.ojb.support.PersistenceBrokerDaoSupport
afterPropertiesSet, closePersistenceBrokerIfNecessary, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, initDao, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.security.PermissionManager
addPermission, checkPermission, getPermissions, getPermissions, grantPermission, permissionExists, removePermission, removePermissions, revokePermission
 

Constructor Detail

ContentPermissionServiceImpl

public ContentPermissionServiceImpl()
Method Detail

createPermission

public org.apache.portals.graffito.model.permission.CmsPermission createPermission(java.lang.String name,
                                                                                   java.lang.String actions)
                                                                            throws org.apache.portals.graffito.exception.ContentManagementException
Specified by:
createPermission in interface org.apache.portals.graffito.services.core.ContentPermissionService
Throws:
org.apache.portals.graffito.exception.ContentManagementException
See Also:
ContentPermissionService.createPermission(java.lang.String, java.lang.String)

getPermissions

public java.security.Permissions getPermissions(org.apache.portals.graffito.model.core.CmsObject cmsObject)
Specified by:
getPermissions in interface org.apache.portals.graffito.services.core.ContentPermissionService
See Also:
ContentPermissionService.getPermissions(org.apache.portals.graffito.model.core.CmsObject)

getPermissions

public java.security.Permissions getPermissions(java.lang.String uri)
Specified by:
getPermissions in interface org.apache.portals.graffito.services.core.ContentPermissionService
See Also:
ContentPermissionService.getPermissions(java.lang.String)

grantPermission

public void grantPermission(java.lang.String fullPath,
                            org.apache.portals.graffito.model.permission.CmsPermission permission)
                     throws org.apache.portals.graffito.exception.ContentManagementException
Specified by:
grantPermission in interface org.apache.portals.graffito.services.core.ContentPermissionService
Throws:
org.apache.portals.graffito.exception.ContentManagementException
See Also:
ContentPermissionService.grantPermission(java.lang.String, org.apache.portals.graffito.model.permission.CmsPermission)


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.