Foros de discusión
resourceLocalService.addResources
Priyanka Dhingra, modificado hace 11 años.
resourceLocalService.addResources
Liferay Master Mensajes: 501 Fecha de incorporación: 20/12/11 Mensajes recientesblogsEntryPersistence.update(entry, false);
resourceLocalService.addResources(
entry.getCompanyId(), entry.getGroupId(), entry.getUserId(),
BlogsEntry.class.getName(), entry.getEntryId(), false,
addGroupPermissions, addGuestPermissions);
What does this signify???
After inserting into database why is addResources been called??
Priyanka Dhingra, modificado hace 11 años.
RE: resourceLocalService.addResources
Liferay Master Mensajes: 501 Fecha de incorporación: 20/12/11 Mensajes recientes
Any inputs on,
Why do we need to update the resources table, while implementing permission??
Why do we need to update the resources table, while implementing permission??
Nicolas Tamayo, modificado hace 11 años.
RE: resourceLocalService.addResources
Junior Member Mensajes: 29 Fecha de incorporación: 3/10/12 Mensajes recientes
the method addResources, is used to enable the Liferay permission system above the Object of the class , in your case BlogsEntry.
in determinate cases, this method enable the Custom ResourceAction, that you can create in /src/resource-actions/default.xml, to implement the Liferay permission system to the Actions of your Custom Entities.
i hope this help you.
Nicolas Tamayo
in determinate cases, this method enable the Custom ResourceAction, that you can create in /src/resource-actions/default.xml, to implement the Liferay permission system to the Actions of your Custom Entities.
i hope this help you.
Nicolas Tamayo
Subhash Pavuskar, modificado hace 11 años.