com.liferay.journal.internal.security.permission.JournalDDMTemplatePermissionSupport Maven / Gradle / Ivy
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.journal.internal.security.permission;
import com.liferay.dynamic.data.mapping.util.DDMTemplatePermissionSupport;
import com.liferay.journal.constants.JournalConstants;
import org.osgi.service.component.annotations.Component;
/**
* @author Joao Victor Alves
*/
@Component(
property = "model.class.name=com.liferay.journal.model.JournalArticle",
service = DDMTemplatePermissionSupport.class
)
public class JournalDDMTemplatePermissionSupport
implements DDMTemplatePermissionSupport {
@Override
public String getResourceName(long classNameId) {
return JournalConstants.RESOURCE_NAME;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy