net.ezcontent.web.admin.sections.admin
Class GroupEditPerms

java.lang.Object
  extended byorg.apache.tapestry.spec.BaseLocatable
      extended byorg.apache.tapestry.AbstractComponent
          extended byorg.apache.tapestry.BaseComponent
              extended bynet.ezcontent.web.admin.sections.admin.GroupEditPerms
All Implemented Interfaces:
IComponent, ILocatable, ILocationHolder, IRender

public class GroupEditPerms
extends BaseComponent

Editor para los permisos que tiene asignados un grupo.

Author:
Enrique Zamudio

Field Summary
private  IPropertySelectionModel modelo
           
 
Fields inherited from class org.apache.tapestry.BaseComponent
 
Fields inherited from class org.apache.tapestry.AbstractComponent
 
Fields inherited from class org.apache.tapestry.spec.BaseLocatable
 
Constructor Summary
GroupEditPerms()
           
 
Method Summary
 AuthDAO getDao()
          Obtiene el DAO de autentificacion, tomandolo de la pagina.
 List getPermisos()
          Devuelve todos los grupos existentes.
 IPropertySelectionModel getPermissionModel()
          Devuelve el modelo de seleccion para los grupos.
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, renderComponent
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString
 
Methods inherited from class org.apache.tapestry.spec.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Field Detail

modelo

private IPropertySelectionModel modelo
Constructor Detail

GroupEditPerms

public GroupEditPerms()
Method Detail

getDao

public AuthDAO getDao()
Obtiene el DAO de autentificacion, tomandolo de la pagina. Si la pagina es un editor, le pide getForceDao() y lo considera un AuthDAO. Si es cualquier otra pagina, le pide la propiedad dao y si no existe, pide el binding dao.


getPermisos

public List getPermisos()
Devuelve todos los grupos existentes.


getPermissionModel

public IPropertySelectionModel getPermissionModel()
Devuelve el modelo de seleccion para los grupos. Es un ObjectPropertySelecionModel.