edu.uoc.tfc.dbmodel.security.crud
Interface RoleManageableService

All Known Implementing Classes:
RoleManageableServiceBase

public interface RoleManageableService


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)
           
 RoleValueObject update(java.lang.String roleId, java.lang.String description, java.lang.Long id, java.lang.Long[] users, java.lang.Long[] operations)
           
 

Method Detail

create

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
Throws:
java.lang.Exception

readById

RoleValueObject readById(java.lang.Long id)
                         throws java.lang.Exception
Throws:
java.lang.Exception

read

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
Throws:
java.lang.Exception

readAll

java.util.List readAll()
                       throws java.lang.Exception
Throws:
java.lang.Exception

readBackingLists

java.util.Map readBackingLists()
                               throws java.lang.Exception
Throws:
java.lang.Exception

update

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
Throws:
java.lang.Exception

delete

void delete(java.lang.Long[] ids)
            throws java.lang.Exception
Throws:
java.lang.Exception