|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServiceWrapper
public class DDMTemplateLocalServiceWrapper
This class is a wrapper for DDMTemplateLocalService
.
DDMTemplateLocalService
Constructor Summary | |
---|---|
DDMTemplateLocalServiceWrapper(DDMTemplateLocalService ddmTemplateLocalService)
|
Method Summary | |
---|---|
DDMTemplate |
addDDMTemplate(DDMTemplate ddmTemplate)
Adds the d d m template to the database. |
DDMTemplate |
addTemplate(long userId,
long groupId,
long structureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String mode,
String language,
String script,
ServiceContext serviceContext)
|
void |
addTemplateResources(DDMTemplate template,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addTemplateResources(DDMTemplate template,
String[] groupPermissions,
String[] guestPermissions)
|
List<DDMTemplate> |
copyTemplates(long userId,
long structureId,
long newStructureId,
String type,
ServiceContext serviceContext)
|
DDMTemplate |
createDDMTemplate(long templateId)
Creates a new d d m template with the primary key. |
DDMTemplate |
deleteDDMTemplate(DDMTemplate ddmTemplate)
Deletes the d d m template from the database. |
DDMTemplate |
deleteDDMTemplate(long templateId)
Deletes the d d m template with the primary key from the database. |
void |
deleteTemplate(DDMTemplate template)
|
void |
deleteTemplate(long 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. |
DDMTemplate |
fetchDDMTemplate(long templateId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
DDMTemplate |
getDDMTemplate(long templateId)
Returns the d d m template with the primary key. |
DDMTemplate |
getDDMTemplateByUuidAndGroupId(String uuid,
long groupId)
Returns the d d m template with the UUID in the group. |
List<DDMTemplate> |
getDDMTemplates(int start,
int end)
Returns a range of all the d d m templates. |
int |
getDDMTemplatesCount()
Returns the number of d d m templates. |
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
DDMTemplate |
getTemplate(long templateId)
|
List<DDMTemplate> |
getTemplates(long structureId)
|
List<DDMTemplate> |
getTemplates(long structureId,
String type)
|
List<DDMTemplate> |
getTemplates(long structureId,
String type,
String mode)
|
DDMTemplateLocalService |
getWrappedDDMTemplateLocalService()
Deprecated. Renamed to getWrappedService() |
DDMTemplateLocalService |
getWrappedService()
|
List<DDMTemplate> |
search(long companyId,
long groupId,
long structureId,
String keywords,
String type,
String mode,
int start,
int end,
OrderByComparator orderByComparator)
|
List<DDMTemplate> |
search(long companyId,
long groupId,
long structureId,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
searchCount(long companyId,
long groupId,
long structureId,
String keywords,
String type,
String mode)
|
int |
searchCount(long companyId,
long groupId,
long structureId,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedDDMTemplateLocalService(DDMTemplateLocalService ddmTemplateLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService) |
void |
setWrappedService(DDMTemplateLocalService ddmTemplateLocalService)
|
DDMTemplate |
updateDDMTemplate(DDMTemplate ddmTemplate)
Updates the d d m template in the database or adds it if it does not yet exist. |
DDMTemplate |
updateDDMTemplate(DDMTemplate ddmTemplate,
boolean merge)
Updates the d d m template in the database or adds it if it does not yet exist. |
DDMTemplate |
updateTemplate(long templateId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String mode,
String language,
String script,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DDMTemplateLocalServiceWrapper(DDMTemplateLocalService ddmTemplateLocalService)
Method Detail |
---|
public DDMTemplate addDDMTemplate(DDMTemplate ddmTemplate) throws SystemException
addDDMTemplate
in interface DDMTemplateLocalService
ddmTemplate
- the d d m template
SystemException
- if a system exception occurredpublic DDMTemplate createDDMTemplate(long templateId)
createDDMTemplate
in interface DDMTemplateLocalService
templateId
- the primary key for the new d d m template
public DDMTemplate deleteDDMTemplate(long templateId) throws PortalException, SystemException
deleteDDMTemplate
in interface DDMTemplateLocalService
templateId
- the primary key of the d d m template
PortalException
- if a d d m template with the primary key could not be found
SystemException
- if a system exception occurredpublic DDMTemplate deleteDDMTemplate(DDMTemplate ddmTemplate) throws SystemException
deleteDDMTemplate
in interface DDMTemplateLocalService
ddmTemplate
- the d d m template
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface DDMTemplateLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DDMTemplateLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic 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.
dynamicQuery
in interface DDMTemplateLocalService
dynamicQuery
- 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 occurredpublic 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.
dynamicQuery
in interface DDMTemplateLocalService
dynamicQuery
- 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 occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface DDMTemplateLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic DDMTemplate fetchDDMTemplate(long templateId) throws SystemException
fetchDDMTemplate
in interface DDMTemplateLocalService
SystemException
public DDMTemplate getDDMTemplate(long templateId) throws PortalException, SystemException
getDDMTemplate
in interface DDMTemplateLocalService
templateId
- the primary key of the d d m template
PortalException
- if a d d m template with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface DDMTemplateLocalService
PortalException
SystemException
public DDMTemplate getDDMTemplateByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getDDMTemplateByUuidAndGroupId
in interface DDMTemplateLocalService
uuid
- the UUID of d d m templategroupId
- the group id of the d d m template
PortalException
- if a d d m template with the UUID in the group could not be found
SystemException
- if a system exception occurredpublic List<DDMTemplate> getDDMTemplates(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.
getDDMTemplates
in interface DDMTemplateLocalService
start
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)
SystemException
- if a system exception occurredpublic int getDDMTemplatesCount() throws SystemException
getDDMTemplatesCount
in interface DDMTemplateLocalService
SystemException
- if a system exception occurredpublic DDMTemplate updateDDMTemplate(DDMTemplate ddmTemplate) throws SystemException
updateDDMTemplate
in interface DDMTemplateLocalService
ddmTemplate
- the d d m template
SystemException
- if a system exception occurredpublic DDMTemplate updateDDMTemplate(DDMTemplate ddmTemplate, boolean merge) throws SystemException
updateDDMTemplate
in interface DDMTemplateLocalService
ddmTemplate
- the d d m templatemerge
- whether to merge the d d m template with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface DDMTemplateLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface DDMTemplateLocalService
beanIdentifier
- the Spring bean ID for this beanpublic DDMTemplate addTemplate(long userId, long groupId, long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String mode, String language, String script, ServiceContext serviceContext) throws PortalException, SystemException
addTemplate
in interface DDMTemplateLocalService
PortalException
SystemException
public void addTemplateResources(DDMTemplate template, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addTemplateResources
in interface DDMTemplateLocalService
PortalException
SystemException
public void addTemplateResources(DDMTemplate template, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addTemplateResources
in interface DDMTemplateLocalService
PortalException
SystemException
public List<DDMTemplate> copyTemplates(long userId, long structureId, long newStructureId, String type, ServiceContext serviceContext) throws PortalException, SystemException
copyTemplates
in interface DDMTemplateLocalService
PortalException
SystemException
public void deleteTemplate(DDMTemplate template) throws PortalException, SystemException
deleteTemplate
in interface DDMTemplateLocalService
PortalException
SystemException
public void deleteTemplate(long templateId) throws PortalException, SystemException
deleteTemplate
in interface DDMTemplateLocalService
PortalException
SystemException
public void deleteTemplates(long groupId) throws PortalException, SystemException
deleteTemplates
in interface DDMTemplateLocalService
PortalException
SystemException
public DDMTemplate getTemplate(long templateId) throws PortalException, SystemException
getTemplate
in interface DDMTemplateLocalService
PortalException
SystemException
public List<DDMTemplate> getTemplates(long structureId) throws SystemException
getTemplates
in interface DDMTemplateLocalService
SystemException
public List<DDMTemplate> getTemplates(long structureId, String type) throws SystemException
getTemplates
in interface DDMTemplateLocalService
SystemException
public List<DDMTemplate> getTemplates(long structureId, String type, String mode) throws SystemException
getTemplates
in interface DDMTemplateLocalService
SystemException
public List<DDMTemplate> search(long companyId, long groupId, long structureId, String keywords, String type, String mode, int start, int end, OrderByComparator orderByComparator) throws SystemException
search
in interface DDMTemplateLocalService
SystemException
public List<DDMTemplate> search(long companyId, long groupId, long structureId, String name, String description, String type, String mode, String language, boolean andOperator, int start, int end, OrderByComparator orderByComparator) throws SystemException
search
in interface DDMTemplateLocalService
SystemException
public int searchCount(long companyId, long groupId, long structureId, String keywords, String type, String mode) throws SystemException
searchCount
in interface DDMTemplateLocalService
SystemException
public int searchCount(long companyId, long groupId, long structureId, String name, String description, String type, String mode, String language, boolean andOperator) throws SystemException
searchCount
in interface DDMTemplateLocalService
SystemException
public DDMTemplate updateTemplate(long templateId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String mode, String language, String script, ServiceContext serviceContext) throws PortalException, SystemException
updateTemplate
in interface DDMTemplateLocalService
PortalException
SystemException
public DDMTemplateLocalService getWrappedDDMTemplateLocalService()
getWrappedService()
public void setWrappedDDMTemplateLocalService(DDMTemplateLocalService ddmTemplateLocalService)
setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService)
public DDMTemplateLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<DDMTemplateLocalService>
public void setWrappedService(DDMTemplateLocalService ddmTemplateLocalService)
setWrappedService
in interface ServiceWrapper<DDMTemplateLocalService>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |