Liferay 6.2-ce-ga5

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

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  CounterLocalService counterLocalService
           
protected  DDMContentLocalService ddmContentLocalService
           
protected  DDMContentPersistence ddmContentPersistence
           
protected  DDMStorageLinkLocalService ddmStorageLinkLocalService
           
protected  DDMStorageLinkPersistence ddmStorageLinkPersistence
           
protected  DDMStructureFinder ddmStructureFinder
           
protected  DDMStructureLinkLocalService ddmStructureLinkLocalService
           
protected  DDMStructureLinkPersistence ddmStructureLinkPersistence
           
protected  DDMStructureLocalService ddmStructureLocalService
           
protected  DDMStructurePersistence ddmStructurePersistence
           
protected  DDMStructureService ddmStructureService
           
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
           
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
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)
           
 void destroy()
           
 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.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows that match the dynamic query.
 DDMStructure fetchDDMStructure(long structureId)
           
 DDMStructure fetchDDMStructureByUuidAndCompanyId(String uuid, long companyId)
          Returns the d d m structure with the matching UUID and company.
 DDMStructure fetchDDMStructureByUuidAndGroupId(String uuid, long groupId)
          Returns the d d m structure matching the UUID and group.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 DDMContentLocalService getDDMContentLocalService()
          Returns the d d m content local service.
 DDMContentPersistence getDDMContentPersistence()
          Returns the d d m content persistence.
 DDMStorageLinkLocalService getDDMStorageLinkLocalService()
          Returns the d d m storage link local service.
 DDMStorageLinkPersistence getDDMStorageLinkPersistence()
          Returns the d d m storage link persistence.
 DDMStructure getDDMStructure(long structureId)
          Returns the d d m structure with the primary key.
 DDMStructure getDDMStructureByUuidAndCompanyId(String uuid, long companyId)
          Returns the d d m structure with the matching UUID and company.
 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.
 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.
 int getDDMStructuresCount()
          Returns the number of d d m structures.
 DDMStructureService getDDMStructureService()
          Returns the d d m structure 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 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.
 DLFileEntryTypeService getDLFileEntryTypeService()
          Returns the document library file entry type remote service.
 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 runSQL(String sql)
          Performs an SQL query.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setDDMContentLocalService(DDMContentLocalService ddmContentLocalService)
          Sets the d d m content local service.
 void setDDMContentPersistence(DDMContentPersistence ddmContentPersistence)
          Sets the d d m content persistence.
 void setDDMStorageLinkLocalService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
          Sets the d d m storage link local service.
 void setDDMStorageLinkPersistence(DDMStorageLinkPersistence ddmStorageLinkPersistence)
          Sets the d d m storage link persistence.
 void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder)
          Sets the d d m structure finder.
 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 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, getLayoutURL, getLayoutURL
 
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, addStructureResources, addStructureResources, copyStructure, copyStructure, deleteStructure, deleteStructure, deleteStructure, deleteStructures, deleteStructures, fetchStructure, fetchStructure, fetchStructure, getClassStructures, getClassStructures, getClassStructures, getClassStructures, getClassStructures, getClassStructures, getDLFileEntryTypeStructures, getStructure, getStructure, getStructure, getStructure, getStructureEntries, getStructureEntries, getStructureEntries, getStructures, getStructures, getStructures, getStructures, getStructures, getStructures, getStructures, getStructures, getStructures, getStructures, getStructuresCount, getStructuresCount, getStructuresCount, search, search, searchCount, searchCount, updateStructure, updateStructure, updateXSD, updateXSDFieldMetadata
 

Field Detail

ddmContentLocalService

@BeanReference(type=DDMContentLocalService.class)
protected DDMContentLocalService ddmContentLocalService

ddmContentPersistence

@BeanReference(type=DDMContentPersistence.class)
protected DDMContentPersistence ddmContentPersistence

ddmStorageLinkLocalService

@BeanReference(type=DDMStorageLinkLocalService.class)
protected DDMStorageLinkLocalService ddmStorageLinkLocalService

ddmStorageLinkPersistence

@BeanReference(type=DDMStorageLinkPersistence.class)
protected DDMStorageLinkPersistence ddmStorageLinkPersistence

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

ddmStructureLinkLocalService

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

ddmStructureLinkPersistence

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

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

counterLocalService

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

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

persistedModelLocalServiceRegistry

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

DDMStructureLocalServiceBaseImpl

public DDMStructureLocalServiceBaseImpl()
Method Detail

addDDMStructure

@Indexable(type=REINDEX)
public DDMStructure addDDMStructure(DDMStructure ddmStructure)
                             throws SystemException
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
Throws:
SystemException - if a system exception occurred

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,
                                       SystemException
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
SystemException - if a system exception occurred

deleteDDMStructure

@Indexable(type=DELETE)
public DDMStructure deleteDDMStructure(DDMStructure ddmStructure)
                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface DDMStructureLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
                       throws SystemException
Returns the number of rows that match 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 that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchDDMStructure

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

fetchDDMStructureByUuidAndCompanyId

public DDMStructure fetchDDMStructureByUuidAndCompanyId(String uuid,
                                                        long companyId)
                                                 throws SystemException
Returns the d d m structure with the matching UUID and company.

Specified by:
fetchDDMStructureByUuidAndCompanyId in interface DDMStructureLocalService
Parameters:
uuid - the d d m structure's UUID
companyId - the primary key of the company
Returns:
the matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

fetchDDMStructureByUuidAndGroupId

public DDMStructure fetchDDMStructureByUuidAndGroupId(String uuid,
                                                      long groupId)
                                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

getDDMStructure

public DDMStructure getDDMStructure(long structureId)
                             throws PortalException,
                                    SystemException
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
SystemException - if a system exception occurred

getPersistedModel

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

getDDMStructureByUuidAndCompanyId

public DDMStructure getDDMStructureByUuidAndCompanyId(String uuid,
                                                      long companyId)
                                               throws PortalException,
                                                      SystemException
Returns the d d m structure with the matching UUID and company.

Specified by:
getDDMStructureByUuidAndCompanyId in interface DDMStructureLocalService
Parameters:
uuid - the d d m structure's UUID
companyId - the primary key of the company
Returns:
the matching d d m structure
Throws:
PortalException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

getDDMStructureByUuidAndGroupId

public DDMStructure getDDMStructureByUuidAndGroupId(String uuid,
                                                    long groupId)
                                             throws PortalException,
                                                    SystemException
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
SystemException - if a system exception occurred

getDDMStructures

public List<DDMStructure> getDDMStructures(int start,
                                           int end)
                                    throws SystemException
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
Throws:
SystemException - if a system exception occurred

getDDMStructuresCount

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

Specified by:
getDDMStructuresCount in interface DDMStructureLocalService
Returns:
the number of d d m structures
Throws:
SystemException - if a system exception occurred

updateDDMStructure

@Indexable(type=REINDEX)
public DDMStructure updateDDMStructure(DDMStructure ddmStructure)
                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

addDLFileEntryTypeDDMStructure

public void addDLFileEntryTypeDDMStructure(long fileEntryTypeId,
                                           long structureId)
                                    throws SystemException
Specified by:
addDLFileEntryTypeDDMStructure in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

addDLFileEntryTypeDDMStructure

public void addDLFileEntryTypeDDMStructure(long fileEntryTypeId,
                                           DDMStructure ddmStructure)
                                    throws SystemException
Specified by:
addDLFileEntryTypeDDMStructure in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

addDLFileEntryTypeDDMStructures

public void addDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                            long[] structureIds)
                                     throws SystemException
Specified by:
addDLFileEntryTypeDDMStructures in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

addDLFileEntryTypeDDMStructures

public void addDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                            List<DDMStructure> DDMStructures)
                                     throws SystemException
Specified by:
addDLFileEntryTypeDDMStructures in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

clearDLFileEntryTypeDDMStructures

public void clearDLFileEntryTypeDDMStructures(long fileEntryTypeId)
                                       throws SystemException
Specified by:
clearDLFileEntryTypeDDMStructures in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

deleteDLFileEntryTypeDDMStructure

public void deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId,
                                              long structureId)
                                       throws SystemException
Specified by:
deleteDLFileEntryTypeDDMStructure in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

deleteDLFileEntryTypeDDMStructure

public void deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId,
                                              DDMStructure ddmStructure)
                                       throws SystemException
Specified by:
deleteDLFileEntryTypeDDMStructure in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

deleteDLFileEntryTypeDDMStructures

public void deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                               long[] structureIds)
                                        throws SystemException
Specified by:
deleteDLFileEntryTypeDDMStructures in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

deleteDLFileEntryTypeDDMStructures

public void deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                               List<DDMStructure> DDMStructures)
                                        throws SystemException
Specified by:
deleteDLFileEntryTypeDDMStructures in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

getDLFileEntryTypeDDMStructures

public List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId)
                                                   throws SystemException
Specified by:
getDLFileEntryTypeDDMStructures in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

getDLFileEntryTypeDDMStructures

public List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                                          int start,
                                                          int end)
                                                   throws SystemException
Specified by:
getDLFileEntryTypeDDMStructures in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

getDLFileEntryTypeDDMStructures

public List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                                          int start,
                                                          int end,
                                                          OrderByComparator orderByComparator)
                                                   throws SystemException
Specified by:
getDLFileEntryTypeDDMStructures in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

getDLFileEntryTypeDDMStructuresCount

public int getDLFileEntryTypeDDMStructuresCount(long fileEntryTypeId)
                                         throws SystemException
Specified by:
getDLFileEntryTypeDDMStructuresCount in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

hasDLFileEntryTypeDDMStructure

public boolean hasDLFileEntryTypeDDMStructure(long fileEntryTypeId,
                                              long structureId)
                                       throws SystemException
Specified by:
hasDLFileEntryTypeDDMStructure in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

hasDLFileEntryTypeDDMStructures

public boolean hasDLFileEntryTypeDDMStructures(long fileEntryTypeId)
                                        throws SystemException
Specified by:
hasDLFileEntryTypeDDMStructures in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

setDLFileEntryTypeDDMStructures

public void setDLFileEntryTypeDDMStructures(long fileEntryTypeId,
                                            long[] structureIds)
                                     throws SystemException
Specified by:
setDLFileEntryTypeDDMStructures in interface DDMStructureLocalService
Throws:
SystemException - if a system exception occurred

getDDMContentLocalService

public DDMContentLocalService getDDMContentLocalService()
Returns the d d m content local service.

Returns:
the d d m content local service

setDDMContentLocalService

public void setDDMContentLocalService(DDMContentLocalService ddmContentLocalService)
Sets the d d m content local service.

Parameters:
ddmContentLocalService - the d d m content local service

getDDMContentPersistence

public DDMContentPersistence getDDMContentPersistence()
Returns the d d m content persistence.

Returns:
the d d m content persistence

setDDMContentPersistence

public void setDDMContentPersistence(DDMContentPersistence ddmContentPersistence)
Sets the d d m content persistence.

Parameters:
ddmContentPersistence - the d d m content persistence

getDDMStorageLinkLocalService

public DDMStorageLinkLocalService getDDMStorageLinkLocalService()
Returns the d d m storage link local service.

Returns:
the d d m storage link local service

setDDMStorageLinkLocalService

public void setDDMStorageLinkLocalService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
Sets the d d m storage link local service.

Parameters:
ddmStorageLinkLocalService - the d d m storage link local service

getDDMStorageLinkPersistence

public DDMStorageLinkPersistence getDDMStorageLinkPersistence()
Returns the d d m storage link persistence.

Returns:
the d d m storage link persistence

setDDMStorageLinkPersistence

public void setDDMStorageLinkPersistence(DDMStorageLinkPersistence ddmStorageLinkPersistence)
Sets the d d m storage link persistence.

Parameters:
ddmStorageLinkPersistence - the d d m storage link persistence

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

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

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

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

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

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)
               throws SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
SystemException

Liferay 6.2-ce-ga5