edu.uoc.tfc.dbmodel.security.crud
Class RoleManageableServiceBase

java.lang.Object
  extended by edu.uoc.tfc.dbmodel.security.crud.RoleManageableServiceBase
All Implemented Interfaces:
RoleManageableService

public final class RoleManageableServiceBase
extends java.lang.Object
implements RoleManageableService


Constructor Summary
RoleManageableServiceBase()
           
 
Method Summary
 RoleValueObject create(java.lang.String roleId, java.lang.String description, java.lang.Long id, java.lang.Long[] users, java.lang.Long[] operations)
           
 void delete(java.lang.Long[] ids)
           
 java.util.List read(java.lang.String roleId, java.lang.String description, java.lang.Long id, java.lang.Long[] users, java.lang.Long[] operations)
           
 java.util.List readAll()
           
 java.util.Map readBackingLists()
           
 RoleValueObject readById(java.lang.Long id)
           
 void setDao(RoleManageableDao dao)
           
 RoleValueObject update(java.lang.String roleId, java.lang.String description, java.lang.Long id, java.lang.Long[] users, java.lang.Long[] operations)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleManageableServiceBase

public RoleManageableServiceBase()
Method Detail

setDao

public void setDao(RoleManageableDao dao)

create

public RoleValueObject create(java.lang.String roleId,
                              java.lang.String description,
                              java.lang.Long id,
                              java.lang.Long[] users,
                              java.lang.Long[] operations)
                       throws java.lang.Exception
Specified by:
create in interface RoleManageableService
Throws:
java.lang.Exception

readById

public RoleValueObject readById(java.lang.Long id)
                         throws java.lang.Exception
Specified by:
readById in interface RoleManageableService
Throws:
java.lang.Exception

read

public java.util.List read(java.lang.String roleId,
                           java.lang.String description,
                           java.lang.Long id,
                           java.lang.Long[] users,
                           java.lang.Long[] operations)
                    throws java.lang.Exception
Specified by:
read in interface RoleManageableService
Throws:
java.lang.Exception

readAll

public java.util.List readAll()
                       throws java.lang.Exception
Specified by:
readAll in interface RoleManageableService
Throws:
java.lang.Exception

readBackingLists

public java.util.Map readBackingLists()
                               throws java.lang.Exception
Specified by:
readBackingLists in interface RoleManageableService
Throws:
java.lang.Exception

update

public RoleValueObject update(java.lang.String roleId,
                              java.lang.String description,
                              java.lang.Long id,
                              java.lang.Long[] users,
                              java.lang.Long[] operations)
                       throws java.lang.Exception
Specified by:
update in interface RoleManageableService
Throws:
java.lang.Exception

delete

public void delete(java.lang.Long[] ids)
            throws java.lang.Exception
Specified by:
delete in interface RoleManageableService
Throws:
java.lang.Exception