|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.journal.service.JournalTemplateLocalServiceWrapper
public class JournalTemplateLocalServiceWrapper
This class is a wrapper for JournalTemplateLocalService.
JournalTemplateLocalService| Constructor Summary | |
|---|---|
JournalTemplateLocalServiceWrapper(JournalTemplateLocalService journalTemplateLocalService)
|
|
| Method Summary | |
|---|---|
JournalTemplate |
addJournalTemplate(JournalTemplate journalTemplate)
Adds the journal template to the database. |
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)
|
void |
addTemplateResources(JournalTemplate template,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addTemplateResources(JournalTemplate template,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addTemplateResources(long groupId,
String templateId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addTemplateResources(long groupId,
String templateId,
String[] groupPermissions,
String[] guestPermissions)
|
void |
checkNewLine(long groupId,
String templateId)
|
JournalTemplate |
copyTemplate(long userId,
long groupId,
String oldTemplateId,
String newTemplateId,
boolean autoTemplateId)
|
JournalTemplate |
createJournalTemplate(long id)
Creates a new journal template with the primary key. |
JournalTemplate |
deleteJournalTemplate(JournalTemplate journalTemplate)
Deletes the journal template from the database. |
JournalTemplate |
deleteJournalTemplate(long id)
Deletes the journal template with the primary key from the database. |
void |
deleteTemplate(JournalTemplate template)
|
void |
deleteTemplate(long groupId,
String templateId)
|
void |
deleteTemplates(long groupId)
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
JournalTemplate |
fetchJournalTemplate(long id)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
JournalTemplate |
getJournalTemplate(long id)
Returns the journal template with the primary key. |
JournalTemplate |
getJournalTemplateByUuidAndGroupId(String uuid,
long groupId)
Returns the journal template matching the UUID and group. |
List<JournalTemplate> |
getJournalTemplates(int start,
int end)
Returns a range of all the journal templates. |
int |
getJournalTemplatesCount()
Returns the number of journal templates. |
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
List<JournalTemplate> |
getStructureTemplates(long groupId,
String structureId)
|
List<JournalTemplate> |
getStructureTemplates(long groupId,
String structureId,
int start,
int end)
|
int |
getStructureTemplatesCount(long groupId,
String structureId)
|
JournalTemplate |
getTemplate(long id)
|
JournalTemplate |
getTemplate(long groupId,
String templateId)
|
JournalTemplate |
getTemplate(long groupId,
String templateId,
boolean includeGlobalTemplates)
|
JournalTemplate |
getTemplateBySmallImageId(long smallImageId)
|
List<JournalTemplate> |
getTemplates()
|
List<JournalTemplate> |
getTemplates(long groupId)
|
List<JournalTemplate> |
getTemplates(long groupId,
int start,
int end)
|
int |
getTemplatesCount(long groupId)
|
JournalTemplateLocalService |
getWrappedJournalTemplateLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
JournalTemplateLocalService |
getWrappedService()
|
boolean |
hasTemplate(long groupId,
String templateId)
|
List<JournalTemplate> |
search(long companyId,
long[] groupIds,
String keywords,
String structureId,
String structureIdComparator,
int start,
int end,
OrderByComparator obc)
|
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)
|
int |
searchCount(long companyId,
long[] groupIds,
String keywords,
String structureId,
String structureIdComparator)
|
int |
searchCount(long companyId,
long[] groupIds,
String templateId,
String structureId,
String structureIdComparator,
String name,
String description,
boolean andOperator)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedJournalTemplateLocalService(JournalTemplateLocalService journalTemplateLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.journal.service.JournalTemplateLocalService) |
void |
setWrappedService(JournalTemplateLocalService journalTemplateLocalService)
|
JournalTemplate |
updateJournalTemplate(JournalTemplate journalTemplate)
Updates the journal template in the database or adds it if it does not yet exist. |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JournalTemplateLocalServiceWrapper(JournalTemplateLocalService journalTemplateLocalService)
| Method Detail |
|---|
public JournalTemplate addJournalTemplate(JournalTemplate journalTemplate)
throws SystemException
addJournalTemplate in interface JournalTemplateLocalServicejournalTemplate - the journal template
SystemException - if a system exception occurredpublic JournalTemplate createJournalTemplate(long id)
createJournalTemplate in interface JournalTemplateLocalServiceid - the primary key for the new journal template
public JournalTemplate deleteJournalTemplate(long id)
throws PortalException,
SystemException
deleteJournalTemplate in interface JournalTemplateLocalServiceid - the primary key of the journal template
PortalException - if a journal template with the primary key could not be found
SystemException - if a system exception occurred
public JournalTemplate deleteJournalTemplate(JournalTemplate journalTemplate)
throws SystemException
deleteJournalTemplate in interface JournalTemplateLocalServicejournalTemplate - the journal template
SystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface JournalTemplateLocalService
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface JournalTemplateLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalTemplateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface JournalTemplateLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalTemplateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface JournalTemplateLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface JournalTemplateLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public JournalTemplate fetchJournalTemplate(long id)
throws SystemException
fetchJournalTemplate in interface JournalTemplateLocalServiceSystemException
public JournalTemplate getJournalTemplate(long id)
throws PortalException,
SystemException
getJournalTemplate in interface JournalTemplateLocalServiceid - the primary key of the journal template
PortalException - if a journal template with the primary key could not be found
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface JournalTemplateLocalServicePortalException
SystemException
public JournalTemplate getJournalTemplateByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
getJournalTemplateByUuidAndGroupId in interface JournalTemplateLocalServiceuuid - the journal template's UUIDgroupId - the primary key of the group
PortalException - if a matching journal template could not be found
SystemException - if a system exception occurred
public List<JournalTemplate> getJournalTemplates(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalTemplateModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getJournalTemplates in interface JournalTemplateLocalServicestart - the lower bound of the range of journal templatesend - the upper bound of the range of journal templates (not inclusive)
SystemException - if a system exception occurred
public int getJournalTemplatesCount()
throws SystemException
getJournalTemplatesCount in interface JournalTemplateLocalServiceSystemException - if a system exception occurred
public JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate)
throws SystemException
updateJournalTemplate in interface JournalTemplateLocalServicejournalTemplate - the journal template
SystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface JournalTemplateLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface JournalTemplateLocalServicebeanIdentifier - the Spring bean ID for this bean
public 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
addTemplate in interface JournalTemplateLocalServicePortalException
SystemException
public void addTemplateResources(JournalTemplate template,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addTemplateResources in interface JournalTemplateLocalServicePortalException
SystemException
public void addTemplateResources(JournalTemplate template,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addTemplateResources in interface JournalTemplateLocalServicePortalException
SystemException
public void addTemplateResources(long groupId,
String templateId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addTemplateResources in interface JournalTemplateLocalServicePortalException
SystemException
public void addTemplateResources(long groupId,
String templateId,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addTemplateResources in interface JournalTemplateLocalServicePortalException
SystemException
public void checkNewLine(long groupId,
String templateId)
throws PortalException,
SystemException
checkNewLine in interface JournalTemplateLocalServicePortalException
SystemException
public JournalTemplate copyTemplate(long userId,
long groupId,
String oldTemplateId,
String newTemplateId,
boolean autoTemplateId)
throws PortalException,
SystemException
copyTemplate in interface JournalTemplateLocalServicePortalException
SystemException
public void deleteTemplate(JournalTemplate template)
throws PortalException,
SystemException
deleteTemplate in interface JournalTemplateLocalServicePortalException
SystemException
public void deleteTemplate(long groupId,
String templateId)
throws PortalException,
SystemException
deleteTemplate in interface JournalTemplateLocalServicePortalException
SystemException
public void deleteTemplates(long groupId)
throws PortalException,
SystemException
deleteTemplates in interface JournalTemplateLocalServicePortalException
SystemException
public List<JournalTemplate> getStructureTemplates(long groupId,
String structureId)
throws SystemException
getStructureTemplates in interface JournalTemplateLocalServiceSystemException
public List<JournalTemplate> getStructureTemplates(long groupId,
String structureId,
int start,
int end)
throws SystemException
getStructureTemplates in interface JournalTemplateLocalServiceSystemException
public int getStructureTemplatesCount(long groupId,
String structureId)
throws SystemException
getStructureTemplatesCount in interface JournalTemplateLocalServiceSystemException
public JournalTemplate getTemplate(long id)
throws PortalException,
SystemException
getTemplate in interface JournalTemplateLocalServicePortalException
SystemException
public JournalTemplate getTemplate(long groupId,
String templateId)
throws PortalException,
SystemException
getTemplate in interface JournalTemplateLocalServicePortalException
SystemException
public JournalTemplate getTemplate(long groupId,
String templateId,
boolean includeGlobalTemplates)
throws PortalException,
SystemException
getTemplate in interface JournalTemplateLocalServicePortalException
SystemException
public JournalTemplate getTemplateBySmallImageId(long smallImageId)
throws PortalException,
SystemException
getTemplateBySmallImageId in interface JournalTemplateLocalServicePortalException
SystemException
public List<JournalTemplate> getTemplates()
throws SystemException
getTemplates in interface JournalTemplateLocalServiceSystemException
public List<JournalTemplate> getTemplates(long groupId)
throws SystemException
getTemplates in interface JournalTemplateLocalServiceSystemException
public List<JournalTemplate> getTemplates(long groupId,
int start,
int end)
throws SystemException
getTemplates in interface JournalTemplateLocalServiceSystemException
public int getTemplatesCount(long groupId)
throws SystemException
getTemplatesCount in interface JournalTemplateLocalServiceSystemException
public boolean hasTemplate(long groupId,
String templateId)
throws SystemException
hasTemplate in interface JournalTemplateLocalServiceSystemException
public List<JournalTemplate> search(long companyId,
long[] groupIds,
String keywords,
String structureId,
String structureIdComparator,
int start,
int end,
OrderByComparator obc)
throws SystemException
search in interface JournalTemplateLocalServiceSystemException
public 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
search in interface JournalTemplateLocalServiceSystemException
public int searchCount(long companyId,
long[] groupIds,
String keywords,
String structureId,
String structureIdComparator)
throws SystemException
searchCount in interface JournalTemplateLocalServiceSystemException
public int searchCount(long companyId,
long[] groupIds,
String templateId,
String structureId,
String structureIdComparator,
String name,
String description,
boolean andOperator)
throws SystemException
searchCount in interface JournalTemplateLocalServiceSystemException
public 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
updateTemplate in interface JournalTemplateLocalServicePortalException
SystemExceptionpublic JournalTemplateLocalService getWrappedJournalTemplateLocalService()
getWrappedService()
public void setWrappedJournalTemplateLocalService(JournalTemplateLocalService journalTemplateLocalService)
setWrappedService(com.liferay.portlet.journal.service.JournalTemplateLocalService)
public JournalTemplateLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<JournalTemplateLocalService>public void setWrappedService(JournalTemplateLocalService journalTemplateLocalService)
setWrappedService in interface ServiceWrapper<JournalTemplateLocalService>
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||