|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.journal.service.JournalTemplateLocalServiceUtil
@ProviderType public class JournalTemplateLocalServiceUtil
Provides the local service utility for JournalTemplate. This utility wraps
com.liferay.portlet.journal.service.impl.JournalTemplateLocalServiceImpl
and is the
primary access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.
JournalTemplateLocalService
,
com.liferay.portlet.journal.service.base.JournalTemplateLocalServiceBaseImpl
,
com.liferay.portlet.journal.service.impl.JournalTemplateLocalServiceImpl
Constructor Summary | |
---|---|
JournalTemplateLocalServiceUtil()
Deprecated. |
Method Summary | |
---|---|
static JournalTemplate |
addJournalTemplate(JournalTemplate template)
Deprecated. |
static JournalTemplate |
addTemplate(long userId,
long groupId,
String templateId,
boolean autoTemplateId,
String structureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
boolean smallImage,
String smallImageURL,
File smallImageFile,
ServiceContext serviceContext)
Deprecated. |
static void |
addTemplateResources(JournalTemplate template,
boolean addGroupPermissions,
boolean addGuestPermissions)
Deprecated. |
static void |
addTemplateResources(JournalTemplate template,
String[] groupPermissions,
String[] guestPermissions)
Deprecated. |
static void |
addTemplateResources(long groupId,
String templateId,
boolean addGroupPermissions,
boolean addGuestPermissions)
Deprecated. |
static void |
addTemplateResources(long groupId,
String templateId,
String[] groupPermissions,
String[] guestPermissions)
Deprecated. |
static void |
checkNewLine(long groupId,
String templateId)
Deprecated. |
static JournalTemplate |
copyTemplate(long userId,
long groupId,
String oldTemplateId,
String newTemplateId,
boolean autoTemplateId)
Deprecated. |
static JournalTemplate |
createJournalTemplate(long id)
Deprecated. |
static void |
deleteTemplate(JournalTemplate template)
Deprecated. |
static void |
deleteTemplate(long groupId,
String templateId)
Deprecated. |
static void |
deleteTemplates(long groupId)
Deprecated. |
static String |
getBeanIdentifier()
Deprecated. Returns the Spring bean ID for this bean. |
static JournalTemplateLocalService |
getService()
Deprecated. |
static List<JournalTemplate> |
getStructureTemplates(long groupId,
String structureId)
Deprecated. |
static List<JournalTemplate> |
getStructureTemplates(long groupId,
String structureId,
boolean includeGlobalTemplates)
Deprecated. |
static List<JournalTemplate> |
getStructureTemplates(long groupId,
String structureId,
int start,
int end)
Deprecated. |
static int |
getStructureTemplatesCount(long groupId,
String structureId)
Deprecated. |
static JournalTemplate |
getTemplate(long groupId,
String templateId)
Deprecated. |
static JournalTemplate |
getTemplate(long groupId,
String templateId,
boolean includeGlobalTemplates)
Deprecated. |
static JournalTemplate |
getTemplateBySmallImageId(long smallImageId)
Deprecated. |
static List<JournalTemplate> |
getTemplates()
Deprecated. |
static List<JournalTemplate> |
getTemplates(long groupId)
Deprecated. |
static List<JournalTemplate> |
getTemplates(long groupId,
int start,
int end)
Deprecated. |
static int |
getTemplatesCount(long groupId)
Deprecated. |
static boolean |
hasTemplate(long groupId,
String templateId)
Deprecated. |
static List<JournalTemplate> |
search(long companyId,
long[] groupIds,
String keywords,
String structureId,
String structureIdComparator,
int start,
int end,
OrderByComparator obc)
Deprecated. |
static List<JournalTemplate> |
search(long companyId,
long[] groupIds,
String templateId,
String structureId,
String structureIdComparator,
String name,
String description,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
Deprecated. |
static int |
searchCount(long companyId,
long[] groupIds,
String keywords,
String structureId,
String structureIdComparator)
Deprecated. |
static int |
searchCount(long companyId,
long[] groupIds,
String templateId,
String structureId,
String structureIdComparator,
String name,
String description,
boolean andOperator)
Deprecated. |
static void |
setBeanIdentifier(String beanIdentifier)
Deprecated. Sets the Spring bean ID for this bean. |
void |
setService(JournalTemplateLocalService service)
Deprecated. As of 6.2.0 |
static JournalTemplate |
updateJournalTemplate(JournalTemplate template)
Deprecated. |
static JournalTemplate |
updateTemplate(long groupId,
String templateId,
String structureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
boolean smallImage,
String smallImageURL,
File smallImageFile,
ServiceContext serviceContext)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JournalTemplateLocalServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static JournalTemplate addJournalTemplate(JournalTemplate template) throws PortalException, SystemException
PortalException
SystemException
public static JournalTemplate addTemplate(long userId, long groupId, String templateId, boolean autoTemplateId, String structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsl, boolean formatXsl, String langType, boolean cacheable, boolean smallImage, String smallImageURL, File smallImageFile, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void addTemplateResources(JournalTemplate template, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
public static void addTemplateResources(JournalTemplate template, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
public static void addTemplateResources(long groupId, String templateId, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
public static void addTemplateResources(long groupId, String templateId, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
public static void checkNewLine(long groupId, String templateId) throws PortalException, SystemException
PortalException
SystemException
public static JournalTemplate copyTemplate(long userId, long groupId, String oldTemplateId, String newTemplateId, boolean autoTemplateId) throws PortalException, SystemException
PortalException
SystemException
public static JournalTemplate createJournalTemplate(long id)
public static void deleteTemplate(JournalTemplate template) throws PortalException, SystemException
PortalException
SystemException
public static void deleteTemplate(long groupId, String templateId) throws PortalException, SystemException
PortalException
SystemException
public static void deleteTemplates(long groupId) throws PortalException, SystemException
PortalException
SystemException
public static List<JournalTemplate> getStructureTemplates(long groupId, String structureId) throws PortalException, SystemException
PortalException
SystemException
public static List<JournalTemplate> getStructureTemplates(long groupId, String structureId, boolean includeGlobalTemplates) throws PortalException, SystemException
PortalException
SystemException
public static List<JournalTemplate> getStructureTemplates(long groupId, String structureId, int start, int end) throws PortalException, SystemException
PortalException
SystemException
public static int getStructureTemplatesCount(long groupId, String structureId) throws PortalException, SystemException
PortalException
SystemException
public static JournalTemplate getTemplate(long groupId, String templateId) throws PortalException, SystemException
PortalException
SystemException
public static JournalTemplate getTemplate(long groupId, String templateId, boolean includeGlobalTemplates) throws PortalException, SystemException
PortalException
SystemException
public static JournalTemplate getTemplateBySmallImageId(long smallImageId) throws PortalException, SystemException
PortalException
SystemException
public static List<JournalTemplate> getTemplates() throws SystemException
SystemException
public static List<JournalTemplate> getTemplates(long groupId) throws SystemException
SystemException
public static List<JournalTemplate> getTemplates(long groupId, int start, int end) throws SystemException
SystemException
public static int getTemplatesCount(long groupId) throws SystemException
SystemException
public static boolean hasTemplate(long groupId, String templateId) throws SystemException
SystemException
public static List<JournalTemplate> search(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public static List<JournalTemplate> search(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public static int searchCount(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator) throws SystemException
SystemException
public static int searchCount(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator) throws SystemException
SystemException
public static JournalTemplate updateJournalTemplate(JournalTemplate template) throws PortalException, SystemException
PortalException
SystemException
public static JournalTemplate updateTemplate(long groupId, String templateId, String structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsl, boolean formatXsl, String langType, boolean cacheable, boolean smallImage, String smallImageURL, File smallImageFile, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalTemplateLocalService getService()
public void setService(JournalTemplateLocalService service)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |