Package com.axelor.dms.db.repo
Class DMSPermissionRepository
- java.lang.Object
-
- com.axelor.db.JpaRepository<DMSPermission>
-
- com.axelor.dms.db.repo.DMSPermissionRepository
-
- All Implemented Interfaces:
Repository<DMSPermission>
public class DMSPermissionRepository extends JpaRepository<DMSPermission>
-
-
Field Summary
-
Fields inherited from class com.axelor.db.JpaRepository
modelClass
-
-
Constructor Summary
Constructors Constructor Description DMSPermissionRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
remove(DMSPermission entity)
Remove the given entity.DMSPermission
save(DMSPermission entity)
Save the given entity.
-
-
-
Method Detail
-
save
public DMSPermission save(DMSPermission entity)
Description copied from interface:Repository
Save the given entity.Depending on the implementation, it may return same entity or a copy of it. For example JPA implementation may return a copy if the given entity can't be managed.
- Specified by:
save
in interfaceRepository<DMSPermission>
- Overrides:
save
in classJpaRepository<DMSPermission>
- Parameters:
entity
- the entity object to save- Returns:
- an instance of the entity with saved state
-
remove
public void remove(DMSPermission entity)
Description copied from interface:Repository
Remove the given entity.- Specified by:
remove
in interfaceRepository<DMSPermission>
- Overrides:
remove
in classJpaRepository<DMSPermission>
- Parameters:
entity
- the entity object
-
-