com.liferay.portlet.journal.service
Class JournalTemplateLocalServiceUtil
java.lang.Object
com.liferay.portlet.journal.service.JournalTemplateLocalServiceUtil
- public class JournalTemplateLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be overwritten
the next time is generated.
This class provides static methods for the com.liferay.portlet.journal.service.JournalTemplateLocalService
bean. The static methods of this class calls the same methods of the bean instance.
It's convenient to be able to just write one line to call a method on a bean
instead of writing a lookup call and a method call.
com.liferay.portlet.journal.service.JournalTemplateLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
JournalTemplateLocalService
,
JournalTemplateLocalServiceFactory
Method Summary |
static JournalTemplate |
addJournalTemplate(JournalTemplate model)
|
static JournalTemplate |
addTemplate(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static JournalTemplate |
addTemplate(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static JournalTemplate |
addTemplate(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addTemplateResources(JournalTemplate template,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addTemplateResources(JournalTemplate template,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addTemplateResources(long groupId,
java.lang.String templateId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addTemplateResources(long groupId,
java.lang.String templateId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static JournalTemplate |
addTemplateToGroup(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
checkNewLine(long groupId,
java.lang.String templateId)
|
static void |
deleteTemplate(JournalTemplate template)
|
static void |
deleteTemplate(long groupId,
java.lang.String templateId)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static java.util.List |
getStructureTemplates(long groupId,
java.lang.String structureId)
|
static java.util.List |
getStructureTemplates(long groupId,
java.lang.String structureId,
int begin,
int end)
|
static int |
getStructureTemplatesCount(long groupId,
java.lang.String structureId)
|
static JournalTemplate |
getTemplate(long id)
|
static JournalTemplate |
getTemplate(long groupId,
java.lang.String templateId)
|
static java.util.List |
getTemplates()
|
static java.util.List |
getTemplates(long groupId)
|
static java.util.List |
getTemplates(long groupId,
int begin,
int end)
|
static int |
getTemplatesCount(long groupId)
|
static boolean |
hasTemplate(long groupId,
java.lang.String templateId)
|
static java.util.List |
search(long companyId,
long groupId,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
search(long companyId,
long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String structureIdComparator,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
searchCount(long companyId,
long groupId,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator)
|
static int |
searchCount(long companyId,
long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String structureIdComparator,
java.lang.String name,
java.lang.String description,
boolean andOperator)
|
static JournalTemplate |
updateJournalTemplate(JournalTemplate model)
|
static JournalTemplate |
updateTemplate(long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalTemplateLocalServiceUtil
public JournalTemplateLocalServiceUtil()
addJournalTemplate
public static JournalTemplate addJournalTemplate(JournalTemplate model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateJournalTemplate
public static JournalTemplate updateJournalTemplate(JournalTemplate model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTemplate
public static JournalTemplate addTemplate(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplate
public static JournalTemplate addTemplate(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplate
public static JournalTemplate addTemplate(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplateToGroup
public static JournalTemplate addTemplateToGroup(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplateResources
public static void addTemplateResources(long groupId,
java.lang.String templateId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplateResources
public static void addTemplateResources(JournalTemplate template,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplateResources
public static void addTemplateResources(long groupId,
java.lang.String templateId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplateResources
public static void addTemplateResources(JournalTemplate template,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkNewLine
public static void checkNewLine(long groupId,
java.lang.String templateId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteTemplate
public static void deleteTemplate(long groupId,
java.lang.String templateId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteTemplate
public static void deleteTemplate(JournalTemplate template)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getStructureTemplates
public static java.util.List getStructureTemplates(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructureTemplates
public static java.util.List getStructureTemplates(long groupId,
java.lang.String structureId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructureTemplatesCount
public static int getStructureTemplatesCount(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTemplate
public static JournalTemplate getTemplate(long id)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTemplate
public static JournalTemplate getTemplate(long groupId,
java.lang.String templateId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTemplates
public static java.util.List getTemplates()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTemplates
public static java.util.List getTemplates(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTemplates
public static java.util.List getTemplates(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTemplatesCount
public static int getTemplatesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasTemplate
public static boolean hasTemplate(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public static java.util.List search(long companyId,
long groupId,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public static java.util.List search(long companyId,
long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String structureIdComparator,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public static int searchCount(long companyId,
long groupId,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public static int searchCount(long companyId,
long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String structureIdComparator,
java.lang.String name,
java.lang.String description,
boolean andOperator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTemplate
public static JournalTemplate updateTemplate(long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException