net.ezcontent.web.admin.sections.admin
Class UserEditGroups

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.UserEditGroups
All Implemented Interfaces:
IComponent, ILocatable, ILocationHolder, IRender

public class UserEditGroups
extends BaseComponent

Asignacion de un usuario a los grupos existentes.

Author:
Enrique Zamudio

Field Summary
private  IPropertySelectionModel modeloGrupos
           
 
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
UserEditGroups()
           
 
Method Summary
 AuthDAO getDao()
          Obtiene el DAO de autentificacion, tomandolo de la pagina.
 IPropertySelectionModel getGroupModel()
          Devuelve el modelo de seleccion para los grupos.
 List getGrupos()
          Devuelve todos los grupos existentes.
 
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

modeloGrupos

private IPropertySelectionModel modeloGrupos
Constructor Detail

UserEditGroups

public UserEditGroups()
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.


getGrupos

public List getGrupos()
Devuelve todos los grupos existentes.


getGroupModel

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