Liferay 7.0-ce-m6

com.liferay.portlet.dynamicdatamapping.service.base
Class DDMStructureLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.dynamicdatamapping.service.base.DDMStructureLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, DDMStructureLocalService
Direct Known Subclasses:
DDMStructureLocalServiceImpl

@ProviderType
public abstract class DDMStructureLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements DDMStructureLocalService, IdentifiableBean

Provides the base implementation for the d d m structure local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in DDMStructureLocalServiceImpl.

See Also:
DDMStructureLocalServiceImpl, DDMStructureLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  ClassNameLocalService classNameLocalService
           
protected  ClassNamePersistence classNamePersistence
           
protected  ClassNameService classNameService
           
protected  CounterLocalService counterLocalService
           
protected  DDMStructureFinder ddmStructureFinder
           
protected  DDMStructureLayoutLocalService ddmStructureLayoutLocalService
           
protected  DDMStructureLayoutPersistence ddmStructureLayoutPersistence
           
protected  DDMStructureLinkLocalService ddmStructureLinkLocalService
           
protected  DDMStructureLinkPersistence ddmStructureLinkPersistence
           
protected  DDMStructureLocalService ddmStructureLocalService
           
protected  DDMStructurePersistence ddmStructurePersistence
           
protected  DDMStructureService ddmStructureService
           
protected  DDMStructureVersionLocalService ddmStructureVersionLocalService
           
protected  DDMStructureVersionPersistence ddmStructureVersionPersistence
           
protected  DDMStructureVersionService ddmStructureVersionService
           
protected  DDMTemplateFinder ddmTemplateFinder
           
protected  DDMTemplateLocalService ddmTemplateLocalService
           
protected  DDMTemplatePersistence ddmTemplatePersistence
           
protected  DDMTemplateService ddmTemplateService
           
protected  DLFileEntryTypeFinder dlFileEntryTypeFinder
           
protected  DLFileEntryTypeLocalService dlFileEntryTypeLocalService
           
protected  DLFileEntryTypePersistence dlFileEntryTypePersistence
           
protected  DLFileEntryTypeService dlFileEntryTypeService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  GroupService groupService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceLocalService resourceLocalService
           
protected  SystemEventLocalService systemEventLocalService
           
protected  SystemEventPersistence systemEventPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
DDMStructureLocalServiceBaseImpl()
           
 
Method Summary
 DDMStructure addDDMStructure(DDMStructure ddmStructure)
          Adds the d d m structure to the database.
 void addDLFileEntryTypeDDMStructure(long fileEntryTypeId, DDMStructure ddmStructure)
           
 void addDLFileEntryTypeDDMStructure(long fileEntryTypeId, long structureId)
           
 void addDLFileEntryTypeDDMStructures(long fileEntryTypeId, List<DDMStructure> DDMStructures)
           
 void addDLFileEntryTypeDDMStructures(long fileEntryTypeId, long[] structureIds)
           
 void afterPropertiesSet()
           
 void clearDLFileEntryTypeDDMStructures(long fileEntryTypeId)
           
 DDMStructure createDDMStructure(long structureId)
          Creates a new d d m structure with the primary key.
 DDMStructure deleteDDMStructure(DDMStructure ddmStructure)
          Deletes the d d m structure from the database.
 DDMStructure deleteDDMStructure(long structureId)
          Deletes the d d m structure with the primary key from the database.
 void deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId, DDMStructure ddmStructure)
           
 void deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId, long structureId)
           
 void deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId, List<DDMStructure> DDMStructures)
           
 void deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId, long[] structureIds)
           
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 void destroy()
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 DDMStructure fetchDDMStructure(long structureId)
           
 DDMStructure fetchDDMStructureByUuidAndGroupId(String uuid, long groupId)
          Returns the d d m structure matching the UUID and group.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 ClassNameService getClassNameService()
          Returns the class name remote service.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 DDMStructure getDDMStructure(long structureId)
          Returns the d d m structure with the primary key.
 DDMStructure getDDMStructureByUuidAndGroupId(String uuid, long groupId)
          Returns the d d m structure matching the UUID and group.
 DDMStructureFinder getDDMStructureFinder()
          Returns the d d m structure finder.
 DDMStructureLayoutLocalService getDDMStructureLayoutLocalService()
          Returns the d d m structure layout local service.
 DDMStructureLayoutPersistence getDDMStructureLayoutPersistence()
          Returns the d d m structure layout persistence.
 DDMStructureLinkLocalService getDDMStructureLinkLocalService()
          Returns the d d m structure link local service.
 DDMStructureLinkPersistence getDDMStructureLinkPersistence()
          Returns the d d m structure link persistence.
 DDMStructureLocalService getDDMStructureLocalService()
          Returns the d d m structure local service.
 DDMStructurePersistence getDDMStructurePersistence()
          Returns the d d m structure persistence.
 List<DDMStructure> getDDMStructures(int start, int end)
          Returns a range of all the d d m structures.
 List<DDMStructure> getDDMStructuresByUuidAndCompanyId(String uuid, long companyId)
          Returns all the d d m structures matching the UUID and company.
 List<DDMStructure> getDDMStructuresByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns a range of d d m structures matching the UUID and company.
 int getDDMStructuresCount()
          Returns the number of d d m structures.
 DDMStructureService getDDMStructureService()
          Returns the d d m structure remote service.
 DDMStructureVersionLocalService getDDMStructureVersionLocalService()
          Returns the d d m structure version local service.
 DDMStructureVersionPersistence getDDMStructureVersionPersistence()
          Returns the d d m structure version persistence.
 DDMStructureVersionService getDDMStructureVersionService()
          Returns the d d m structure version remote service.
 DDMTemplateFinder getDDMTemplateFinder()
          Returns the d d m template finder.
 DDMTemplateLocalService getDDMTemplateLocalService()
          Returns the d d m template local service.
 DDMTemplatePersistence getDDMTemplatePersistence()
          Returns the d d m template persistence.
 DDMTemplateService getDDMTemplateService()
          Returns the d d m template remote service.
 List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId)
           
 List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId, int start, int end)
           
 List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
           
 int getDLFileEntryTypeDDMStructuresCount(long fileEntryTypeId)
           
 DLFileEntryTypeFinder getDLFileEntryTypeFinder()
          Returns the document library file entry type finder.
 DLFileEntryTypeLocalService getDLFileEntryTypeLocalService()
          Returns the document library file entry type local service.
 DLFileEntryTypePersistence getDLFileEntryTypePersistence()
          Returns the document library file entry type persistence.
 long[] getDLFileEntryTypePrimaryKeys(long structureId)
          Returns the fileEntryTypeIds of the document library file entry types associated with the d d m structure.
 DLFileEntryTypeService getDLFileEntryTypeService()
          Returns the document library file entry type remote service.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 GroupService getGroupService()
          Returns the group remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 SystemEventLocalService getSystemEventLocalService()
          Returns the system event local service.
 SystemEventPersistence getSystemEventPersistence()
          Returns the system event persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 UserService getUserService()
          Returns the user remote service.
 boolean hasDLFileEntryTypeDDMStructure(long fileEntryTypeId, long structureId)
           
 boolean hasDLFileEntryTypeDDMStructures(long fileEntryTypeId)
           
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setClassNameLocalService(ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setClassNameService(ClassNameService classNameService)
          Sets the class name remote service.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder)
          Sets the d d m structure finder.
 void setDDMStructureLayoutLocalService(DDMStructureLayoutLocalService ddmStructureLayoutLocalService)
          Sets the d d m structure layout local service.
 void setDDMStructureLayoutPersistence(DDMStructureLayoutPersistence ddmStructureLayoutPersistence)
          Sets the d d m structure layout persistence.
 void setDDMStructureLinkLocalService(DDMStructureLinkLocalService ddmStructureLinkLocalService)
          Sets the d d m structure link local service.
 void setDDMStructureLinkPersistence(DDMStructureLinkPersistence ddmStructureLinkPersistence)
          Sets the d d m structure link persistence.
 void setDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService)
          Sets the d d m structure local service.
 void setDDMStructurePersistence(DDMStructurePersistence ddmStructurePersistence)
          Sets the d d m structure persistence.
 void setDDMStructureService(DDMStructureService ddmStructureService)
          Sets the d d m structure remote service.
 void setDDMStructureVersionLocalService(DDMStructureVersionLocalService ddmStructureVersionLocalService)
          Sets the d d m structure version local service.
 void setDDMStructureVersionPersistence(DDMStructureVersionPersistence ddmStructureVersionPersistence)
          Sets the d d m structure version persistence.
 void setDDMStructureVersionService(DDMStructureVersionService ddmStructureVersionService)
          Sets the d d m structure version remote service.
 void setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder)
          Sets the d d m template finder.
 void setDDMTemplateLocalService(DDMTemplateLocalService ddmTemplateLocalService)
          Sets the d d m template local service.
 void setDDMTemplatePersistence(DDMTemplatePersistence ddmTemplatePersistence)
          Sets the d d m template persistence.
 void setDDMTemplateService(DDMTemplateService ddmTemplateService)
          Sets the d d m template remote service.
 void setDLFileEntryTypeDDMStructures(long fileEntryTypeId, long[] structureIds)
           
 void setDLFileEntryTypeFinder(DLFileEntryTypeFinder dlFileEntryTypeFinder)
          Sets the document library file entry type finder.
 void setDLFileEntryTypeLocalService(DLFileEntryTypeLocalService dlFileEntryTypeLocalService)
          Sets the document library file entry type local service.
 void setDLFileEntryTypePersistence(DLFileEntryTypePersistence dlFileEntryTypePersistence)
          Sets the document library file entry type persistence.
 void setDLFileEntryTypeService(DLFileEntryTypeService dlFileEntryTypeService)
          Sets the document library file entry type remote service.
 void setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupService(GroupService groupService)
          Sets the group remote service.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
          Sets the system event local service.
 void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
          Sets the system event persistence.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(UserService userService)
          Sets the user remote service.
 DDMStructure updateDDMStructure(DDMStructure ddmStructure)
          Updates the d d m structure in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService
addStructure, addStructure, addStructure, addStructure, addStructure, addStructure, addStructureResources, addStructureResources, copyStructure, copyStructure, deleteStructure, deleteStructure, deleteStructure, deleteStructures, deleteStructures, fetchStructure, fetchStructure, fetchStructure, getClassStructures, getClassStructures, getClassStructures, getDLFileEntryTypeStructures, getStructure, getStructure, getStructure, getStructure, getStructures, getStructures, getStructures, getStructures, getStructures, getStructures, getStructures, getStructures, getStructures, getStructures, getStructuresCount, getStructuresCount, getStructuresCount, revertStructure, search, search, searchCount, searchCount, updateStructure, updateStructure, updateStructure, updateStructure, updateStructure, updateXSD
 

Field Detail

ddmStructureLocalService

@BeanReference(type=DDMStructureLocalService.class)
protected DDMStructureLocalService ddmStructureLocalService

ddmStructureService

@BeanReference(type=DDMStructureService.class)
protected DDMStructureService ddmStructureService

ddmStructurePersistence

@BeanReference(type=DDMStructurePersistence.class)
protected DDMStructurePersistence ddmStructurePersistence

ddmStructureFinder

@BeanReference(type=DDMStructureFinder.class)
protected DDMStructureFinder ddmStructureFinder

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

classNameLocalService

@BeanReference(type=ClassNameLocalService.class)
protected ClassNameLocalService classNameLocalService

classNameService

@BeanReference(type=ClassNameService.class)
protected ClassNameService classNameService

classNamePersistence

@BeanReference(type=ClassNamePersistence.class)
protected ClassNamePersistence classNamePersistence

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

groupService

@BeanReference(type=GroupService.class)
protected GroupService groupService

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

groupFinder

@BeanReference(type=GroupFinder.class)
protected GroupFinder groupFinder

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

systemEventLocalService

@BeanReference(type=SystemEventLocalService.class)
protected SystemEventLocalService systemEventLocalService

systemEventPersistence

@BeanReference(type=SystemEventPersistence.class)
protected SystemEventPersistence systemEventPersistence

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

dlFileEntryTypeLocalService

@BeanReference(type=DLFileEntryTypeLocalService.class)
protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService

dlFileEntryTypeService

@BeanReference(type=DLFileEntryTypeService.class)
protected DLFileEntryTypeService dlFileEntryTypeService

dlFileEntryTypePersistence

@BeanReference(type=DLFileEntryTypePersistence.class)
protected DLFileEntryTypePersistence dlFileEntryTypePersistence

dlFileEntryTypeFinder

@BeanReference(type=DLFileEntryTypeFinder.class)
protected DLFileEntryTypeFinder dlFileEntryTypeFinder

ddmStructureLayoutLocalService

@BeanReference(type=DDMStructureLayoutLocalService.class)
protected DDMStructureLayoutLocalService ddmStructureLayoutLocalService

ddmStructureLayoutPersistence

@BeanReference(type=DDMStructureLayoutPersistence.class)
protected DDMStructureLayoutPersistence ddmStructureLayoutPersistence

ddmStructureLinkLocalService

@BeanReference(type=DDMStructureLinkLocalService.class)
protected DDMStructureLinkLocalService ddmStructureLinkLocalService

ddmStructureLinkPersistence

@BeanReference(type=DDMStructureLinkPersistence.class)
protected DDMStructureLinkPersistence ddmStructureLinkPersistence

ddmStructureVersionLocalService

@BeanReference(type=DDMStructureVersionLocalService.class)
protected DDMStructureVersionLocalService ddmStructureVersionLocalService

ddmStructureVersionService

@BeanReference(type=DDMStructureVersionService.class)
protected DDMStructureVersionService ddmStructureVersionService

ddmStructureVersionPersistence

@BeanReference(type=DDMStructureVersionPersistence.class)
protected DDMStructureVersionPersistence ddmStructureVersionPersistence

ddmTemplateLocalService

@BeanReference(type=DDMTemplateLocalService.class)
protected DDMTemplateLocalService ddmTemplateLocalService

ddmTemplateService

@BeanReference(type=DDMTemplateService.class)
protected DDMTemplateService ddmTemplateService

ddmTemplatePersistence

@BeanReference(type=DDMTemplatePersistence.class)
protected DDMTemplatePersistence ddmTemplatePersistence

ddmTemplateFinder

@BeanReference(type=DDMTemplateFinder.class)
protected DDMTemplateFinder ddmTemplateFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

DDMStructureLocalServiceBaseImpl

public DDMStructureLocalServiceBaseImpl()
Method Detail

addDDMStructure

@Indexable(type=REINDEX)
public DDMStructure addDDMStructure(DDMStructure ddmStructure)
Adds the d d m structure to the database. Also notifies the appropriate model listeners.

Specified by:
addDDMStructure in interface DDMStructureLocalService
Parameters:
ddmStructure - the d d m structure
Returns:
the d d m structure that was added

createDDMStructure

public DDMStructure createDDMStructure(long structureId)
Creates a new d d m structure with the primary key. Does not add the d d m structure to the database.

Specified by:
createDDMStructure in interface DDMStructureLocalService
Parameters:
structureId - the primary key for the new d d m structure
Returns:
the new d d m structure

deleteDDMStructure

@Indexable(type=DELETE)
public DDMStructure deleteDDMStructure(long structureId)
                                throws PortalException
Deletes the d d m structure with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDDMStructure in interface DDMStructureLocalService
Parameters:
structureId - the primary key of the d d m structure
Returns:
the d d m structure that was removed
Throws:
PortalException - if a d d m structure with the primary key could not be found

deleteDDMStructure

@Indexable(type=DELETE)
public DDMStructure deleteDDMStructure(DDMStructure ddmStructure)
Deletes the d d m structure from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDDMStructure in interface DDMStructureLocalService
Parameters:
ddmStructure - the d d m structure
Returns:
the d d m structure that was removed

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface DDMStructureLocalService

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface DDMStructureLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
Performs a dynamic query on the database and returns a range of the matching rows.

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 DDMStructureModelImpl. 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.

Specified by:
dynamicQuery in interface DDMStructureLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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 DDMStructureModelImpl. 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.

Specified by:
dynamicQuery in interface DDMStructureLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface DDMStructureLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface DDMStructureLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchDDMStructure

public DDMStructure fetchDDMStructure(long structureId)
Specified by:
fetchDDMStructure in interface DDMStructureLocalService

fetchDDMStructureByUuidAndGroupId

public DDMStructure fetchDDMStructureByUuidAndGroupId(String uuid,
                                                      long groupId)
Returns the d d m structure matching the UUID and group.

Specified by:
fetchDDMStructureByUuidAndGroupId in interface DDMStructureLocalService
Parameters:
uuid - the d d m structure's UUID
groupId - the primary key of the group
Returns:
the matching d d m structure, or null if a matching d d m structure could not be found

getDDMStructure

public DDMStructure getDDMStructure(long structureId)
                             throws PortalException
Returns the d d m structure with the primary key.

Specified by:
getDDMStructure in interface DDMStructureLocalService
Parameters:
structureId - the primary key of the d d m structure
Returns:
the d d m structure
Throws:
PortalException - if a d d m structure with the primary key could not be found

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface DDMStructureLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface DDMStructureLocalService

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface DDMStructureLocalService
Throws:
PortalException

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface DDMStructureLocalService
Throws:
PortalException

getDDMStructuresByUuidAndCompanyId

public List<DDMStructure> getDDMStructuresByUuidAndCompanyId(String uuid,
                                                             long companyId)
Returns all the d d m structures matching the UUID and company.

Specified by:
getDDMStructuresByUuidAndCompanyId in interface DDMStructureLocalService
Parameters:
uuid - the UUID of the d d m structures
companyId - the primary key of the company
Returns:
the matching d d m structures, or an empty list if no matches were found

getDDMStructuresByUuidAndCompanyId

public List<DDMStructure> getDDMStructuresByUuidAndCompanyId(String uuid,
                                                             long companyId,
                                                             int start,
                                                             int end,
                                                             OrderByComparator<DDMStructure> orderByComparator)
Returns a range of d d m structures matching the UUID and company.

Specified by:
getDDMStructuresByUuidAndCompanyId in interface DDMStructureLocalService
Parameters:
uuid - the UUID of the d d m structures
companyId - the primary key of the company
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the range of matching d d m structures, or an empty list if no matches were found

getDDMStructureByUuidAndGroupId

public DDMStructure getDDMStructureByUuidAndGroupId(String uuid,
                                                    long groupId)
                                             throws PortalException
Returns the d d m structure matching the UUID and group.

Specified by:
getDDMStructureByUuidAndGroupId in interface DDMStructureLocalService
Parameters:
uuid - the d d m structure's UUID
groupId - the primary key of the group
Returns:
the matching d d m structure
Throws:
PortalException - if a matching d d m structure could not be found

getDDMStructures

public List<DDMStructure> getDDMStructures(int start,
                                           int end)
Returns a range of all the d d m structures.

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 DDMStructureModelImpl. 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.

Specified by:
getDDMStructures in interface DDMStructureLocalService
Parameters:
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
Returns:
the range of d d m structures

getDDMStructuresCount

public int getDDMStructuresCount()
Returns the number of d d m structures.

Specified by:
getDDMStructuresCount in interface DDMStructureLocalService
Returns:
the number of d d m structures

updateDDMStructure

@Indexable(type=REINDEX)
public DDMStructure updateDDMStructure(DDMStructure ddmStructure)
Updates the d d m structure in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDDMStructure in interface DDMStructureLocalService
Parameters:
ddmStructure - the d d m structure
Returns:
the d d m structure that was updated

addDLFileEntryTypeDDMStructure

public void addDLFileEntryTypeDDMStructure(long fileEntryTypeId,
                                           long structureId)
Specified by:
addDLFileEntryTypeDDMStructure in interface DDMStructureLocalService

addDLFileEntryTypeDDMStructure

public void addDLFileEntryTypeDDMStructure(long fileEntryTypeId,
                                           DDMStructure ddmStructure)
Specified by:
addDLFileEntryTypeDDMStructure in interface DDMStructureLocalService

addDLFileEntryTypeDDMStructures

public void addDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                            long[] structureIds)
Specified by:
addDLFileEntryTypeDDMStructures in interface DDMStructureLocalService

addDLFileEntryTypeDDMStructures

public void addDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                            List<DDMStructure> DDMStructures)
Specified by:
addDLFileEntryTypeDDMStructures in interface DDMStructureLocalService

clearDLFileEntryTypeDDMStructures

public void clearDLFileEntryTypeDDMStructures(long fileEntryTypeId)
Specified by:
clearDLFileEntryTypeDDMStructures in interface DDMStructureLocalService

deleteDLFileEntryTypeDDMStructure

public void deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId,
                                              long structureId)
Specified by:
deleteDLFileEntryTypeDDMStructure in interface DDMStructureLocalService

deleteDLFileEntryTypeDDMStructure

public void deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId,
                                              DDMStructure ddmStructure)
Specified by:
deleteDLFileEntryTypeDDMStructure in interface DDMStructureLocalService

deleteDLFileEntryTypeDDMStructures

public void deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                               long[] structureIds)
Specified by:
deleteDLFileEntryTypeDDMStructures in interface DDMStructureLocalService

deleteDLFileEntryTypeDDMStructures

public void deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                               List<DDMStructure> DDMStructures)
Specified by:
deleteDLFileEntryTypeDDMStructures in interface DDMStructureLocalService

getDLFileEntryTypePrimaryKeys

public long[] getDLFileEntryTypePrimaryKeys(long structureId)
Returns the fileEntryTypeIds of the document library file entry types associated with the d d m structure.

Specified by:
getDLFileEntryTypePrimaryKeys in interface DDMStructureLocalService
Parameters:
structureId - the structureId of the d d m structure
Returns:
long[] the fileEntryTypeIds of document library file entry types associated with the d d m structure

getDLFileEntryTypeDDMStructures

public List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId)
Specified by:
getDLFileEntryTypeDDMStructures in interface DDMStructureLocalService

getDLFileEntryTypeDDMStructures

public List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                                          int start,
                                                          int end)
Specified by:
getDLFileEntryTypeDDMStructures in interface DDMStructureLocalService

getDLFileEntryTypeDDMStructures

public List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                                          int start,
                                                          int end,
                                                          OrderByComparator<DDMStructure> orderByComparator)
Specified by:
getDLFileEntryTypeDDMStructures in interface DDMStructureLocalService

getDLFileEntryTypeDDMStructuresCount

public int getDLFileEntryTypeDDMStructuresCount(long fileEntryTypeId)
Specified by:
getDLFileEntryTypeDDMStructuresCount in interface DDMStructureLocalService

hasDLFileEntryTypeDDMStructure

public boolean hasDLFileEntryTypeDDMStructure(long fileEntryTypeId,
                                              long structureId)
Specified by:
hasDLFileEntryTypeDDMStructure in interface DDMStructureLocalService

hasDLFileEntryTypeDDMStructures

public boolean hasDLFileEntryTypeDDMStructures(long fileEntryTypeId)
Specified by:
hasDLFileEntryTypeDDMStructures in interface DDMStructureLocalService

setDLFileEntryTypeDDMStructures

public void setDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                            long[] structureIds)
Specified by:
setDLFileEntryTypeDDMStructures in interface DDMStructureLocalService

getDDMStructureLocalService

public DDMStructureLocalService getDDMStructureLocalService()
Returns the d d m structure local service.

Returns:
the d d m structure local service

setDDMStructureLocalService

public void setDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService)
Sets the d d m structure local service.

Parameters:
ddmStructureLocalService - the d d m structure local service

getDDMStructureService

public DDMStructureService getDDMStructureService()
Returns the d d m structure remote service.

Returns:
the d d m structure remote service

setDDMStructureService

public void setDDMStructureService(DDMStructureService ddmStructureService)
Sets the d d m structure remote service.

Parameters:
ddmStructureService - the d d m structure remote service

getDDMStructurePersistence

public DDMStructurePersistence getDDMStructurePersistence()
Returns the d d m structure persistence.

Returns:
the d d m structure persistence

setDDMStructurePersistence

public void setDDMStructurePersistence(DDMStructurePersistence ddmStructurePersistence)
Sets the d d m structure persistence.

Parameters:
ddmStructurePersistence - the d d m structure persistence

getDDMStructureFinder

public DDMStructureFinder getDDMStructureFinder()
Returns the d d m structure finder.

Returns:
the d d m structure finder

setDDMStructureFinder

public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder)
Sets the d d m structure finder.

Parameters:
ddmStructureFinder - the d d m structure finder

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getClassNameLocalService

public ClassNameLocalService getClassNameLocalService()
Returns the class name local service.

Returns:
the class name local service

setClassNameLocalService

public void setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service.

Parameters:
classNameLocalService - the class name local service

getClassNameService

public ClassNameService getClassNameService()
Returns the class name remote service.

Returns:
the class name remote service

setClassNameService

public void setClassNameService(ClassNameService classNameService)
Sets the class name remote service.

Parameters:
classNameService - the class name remote service

getClassNamePersistence

public ClassNamePersistence getClassNamePersistence()
Returns the class name persistence.

Returns:
the class name persistence

setClassNamePersistence

public void setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name persistence.

Parameters:
classNamePersistence - the class name persistence

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupService

public GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

public void setGroupService(GroupService groupService)
Sets the group remote service.

Parameters:
groupService - the group remote service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getSystemEventLocalService

public SystemEventLocalService getSystemEventLocalService()
Returns the system event local service.

Returns:
the system event local service

setSystemEventLocalService

public void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
Sets the system event local service.

Parameters:
systemEventLocalService - the system event local service

getSystemEventPersistence

public SystemEventPersistence getSystemEventPersistence()
Returns the system event persistence.

Returns:
the system event persistence

setSystemEventPersistence

public void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
Sets the system event persistence.

Parameters:
systemEventPersistence - the system event persistence

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getDLFileEntryTypeLocalService

public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService()
Returns the document library file entry type local service.

Returns:
the document library file entry type local service

setDLFileEntryTypeLocalService

public void setDLFileEntryTypeLocalService(DLFileEntryTypeLocalService dlFileEntryTypeLocalService)
Sets the document library file entry type local service.

Parameters:
dlFileEntryTypeLocalService - the document library file entry type local service

getDLFileEntryTypeService

public DLFileEntryTypeService getDLFileEntryTypeService()
Returns the document library file entry type remote service.

Returns:
the document library file entry type remote service

setDLFileEntryTypeService

public void setDLFileEntryTypeService(DLFileEntryTypeService dlFileEntryTypeService)
Sets the document library file entry type remote service.

Parameters:
dlFileEntryTypeService - the document library file entry type remote service

getDLFileEntryTypePersistence

public DLFileEntryTypePersistence getDLFileEntryTypePersistence()
Returns the document library file entry type persistence.

Returns:
the document library file entry type persistence

setDLFileEntryTypePersistence

public void setDLFileEntryTypePersistence(DLFileEntryTypePersistence dlFileEntryTypePersistence)
Sets the document library file entry type persistence.

Parameters:
dlFileEntryTypePersistence - the document library file entry type persistence

getDLFileEntryTypeFinder

public DLFileEntryTypeFinder getDLFileEntryTypeFinder()
Returns the document library file entry type finder.

Returns:
the document library file entry type finder

setDLFileEntryTypeFinder

public void setDLFileEntryTypeFinder(DLFileEntryTypeFinder dlFileEntryTypeFinder)
Sets the document library file entry type finder.

Parameters:
dlFileEntryTypeFinder - the document library file entry type finder

getDDMStructureLayoutLocalService

public DDMStructureLayoutLocalService getDDMStructureLayoutLocalService()
Returns the d d m structure layout local service.

Returns:
the d d m structure layout local service

setDDMStructureLayoutLocalService

public void setDDMStructureLayoutLocalService(DDMStructureLayoutLocalService ddmStructureLayoutLocalService)
Sets the d d m structure layout local service.

Parameters:
ddmStructureLayoutLocalService - the d d m structure layout local service

getDDMStructureLayoutPersistence

public DDMStructureLayoutPersistence getDDMStructureLayoutPersistence()
Returns the d d m structure layout persistence.

Returns:
the d d m structure layout persistence

setDDMStructureLayoutPersistence

public void setDDMStructureLayoutPersistence(DDMStructureLayoutPersistence ddmStructureLayoutPersistence)
Sets the d d m structure layout persistence.

Parameters:
ddmStructureLayoutPersistence - the d d m structure layout persistence

getDDMStructureLinkLocalService

public DDMStructureLinkLocalService getDDMStructureLinkLocalService()
Returns the d d m structure link local service.

Returns:
the d d m structure link local service

setDDMStructureLinkLocalService

public void setDDMStructureLinkLocalService(DDMStructureLinkLocalService ddmStructureLinkLocalService)
Sets the d d m structure link local service.

Parameters:
ddmStructureLinkLocalService - the d d m structure link local service

getDDMStructureLinkPersistence

public DDMStructureLinkPersistence getDDMStructureLinkPersistence()
Returns the d d m structure link persistence.

Returns:
the d d m structure link persistence

setDDMStructureLinkPersistence

public void setDDMStructureLinkPersistence(DDMStructureLinkPersistence ddmStructureLinkPersistence)
Sets the d d m structure link persistence.

Parameters:
ddmStructureLinkPersistence - the d d m structure link persistence

getDDMStructureVersionLocalService

public DDMStructureVersionLocalService getDDMStructureVersionLocalService()
Returns the d d m structure version local service.

Returns:
the d d m structure version local service

setDDMStructureVersionLocalService

public void setDDMStructureVersionLocalService(DDMStructureVersionLocalService ddmStructureVersionLocalService)
Sets the d d m structure version local service.

Parameters:
ddmStructureVersionLocalService - the d d m structure version local service

getDDMStructureVersionService

public DDMStructureVersionService getDDMStructureVersionService()
Returns the d d m structure version remote service.

Returns:
the d d m structure version remote service

setDDMStructureVersionService

public void setDDMStructureVersionService(DDMStructureVersionService ddmStructureVersionService)
Sets the d d m structure version remote service.

Parameters:
ddmStructureVersionService - the d d m structure version remote service

getDDMStructureVersionPersistence

public DDMStructureVersionPersistence getDDMStructureVersionPersistence()
Returns the d d m structure version persistence.

Returns:
the d d m structure version persistence

setDDMStructureVersionPersistence

public void setDDMStructureVersionPersistence(DDMStructureVersionPersistence ddmStructureVersionPersistence)
Sets the d d m structure version persistence.

Parameters:
ddmStructureVersionPersistence - the d d m structure version persistence

getDDMTemplateLocalService

public DDMTemplateLocalService getDDMTemplateLocalService()
Returns the d d m template local service.

Returns:
the d d m template local service

setDDMTemplateLocalService

public void setDDMTemplateLocalService(DDMTemplateLocalService ddmTemplateLocalService)
Sets the d d m template local service.

Parameters:
ddmTemplateLocalService - the d d m template local service

getDDMTemplateService

public DDMTemplateService getDDMTemplateService()
Returns the d d m template remote service.

Returns:
the d d m template remote service

setDDMTemplateService

public void setDDMTemplateService(DDMTemplateService ddmTemplateService)
Sets the d d m template remote service.

Parameters:
ddmTemplateService - the d d m template remote service

getDDMTemplatePersistence

public DDMTemplatePersistence getDDMTemplatePersistence()
Returns the d d m template persistence.

Returns:
the d d m template persistence

setDDMTemplatePersistence

public void setDDMTemplatePersistence(DDMTemplatePersistence ddmTemplatePersistence)
Sets the d d m template persistence.

Parameters:
ddmTemplatePersistence - the d d m template persistence

getDDMTemplateFinder

public DDMTemplateFinder getDDMTemplateFinder()
Returns the d d m template finder.

Returns:
the d d m template finder

setDDMTemplateFinder

public void setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder)
Sets the d d m template finder.

Parameters:
ddmTemplateFinder - the d d m template finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface DDMStructureLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface DDMStructureLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-m6