Liferay 6.1.10-ee-ga1

com.liferay.portlet.dynamicdatamapping.service
Class DDMStructureLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceWrapper
All Implemented Interfaces:
PersistedModelLocalService, ServiceWrapper<DDMStructureLocalService>, DDMStructureLocalService

public class DDMStructureLocalServiceWrapper
extends Object
implements DDMStructureLocalService, ServiceWrapper<DDMStructureLocalService>

This class is a wrapper for DDMStructureLocalService.

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

Constructor Summary
DDMStructureLocalServiceWrapper(DDMStructureLocalService ddmStructureLocalService)
           
 
Method Summary
 DDMStructure addDDMStructure(DDMStructure ddmStructure)
          Adds the d d m structure to the database.
 DDMStructure addStructure(long userId, long groupId, long classNameId, String structureKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, String storageType, int type, ServiceContext serviceContext)
           
 void addStructureResources(DDMStructure structure, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addStructureResources(DDMStructure structure, String[] groupPermissions, String[] guestPermissions)
           
 DDMStructure copyStructure(long userId, long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, ServiceContext serviceContext)
           
 DDMStructure createDDMStructure(long structureId)
          Creates a new d d m structure with the primary key.
 void deleteDDMStructure(DDMStructure ddmStructure)
          Deletes the d d m structure from the database.
 void deleteDDMStructure(long structureId)
          Deletes the d d m structure with the primary key from the database.
 void deleteStructure(DDMStructure structure)
           
 void deleteStructure(long structureId)
           
 void deleteStructure(long groupId, String structureKey)
           
 void deleteStructures(long groupId)
           
 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.
 DDMStructure fetchDDMStructure(long structureId)
           
 DDMStructure fetchStructure(long structureId)
           
 DDMStructure fetchStructure(long groupId, String structureKey)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<DDMStructure> getClassStructures(long classNameId)
           
 List<DDMStructure> getClassStructures(long classNameId, int start, int end)
           
 List<DDMStructure> getClassStructures(long classNameId, OrderByComparator orderByComparator)
           
 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 with the UUID in the group.
 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.
 List<DDMStructure> getDLFileEntryTypeStructures(long dlFileEntryTypeId)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 DDMStructure getStructure(long structureId)
           
 DDMStructure getStructure(long groupId, String structureKey)
           
 List<DDMStructure> getStructure(long groupId, String name, String description)
           
 List<DDMStructure> getStructureEntries()
          Deprecated. getStructures()
 List<DDMStructure> getStructureEntries(long groupId)
          Deprecated. getStructures(long)
 List<DDMStructure> getStructureEntries(long groupId, int start, int end)
          Deprecated. getStructures(long, int, int)
 List<DDMStructure> getStructures()
           
 List<DDMStructure> getStructures(long groupId)
           
 List<DDMStructure> getStructures(long groupId, int start, int end)
           
 int getStructuresCount(long groupId)
           
 DDMStructureLocalService getWrappedDDMStructureLocalService()
          Deprecated. Renamed to getWrappedService()
 DDMStructureLocalService getWrappedService()
           
 List<DDMStructure> search(long companyId, long[] groupIds, long[] classNameIds, String keywords, int start, int end, OrderByComparator orderByComparator)
           
 List<DDMStructure> search(long companyId, long[] groupIds, long[] classNameIds, String name, String description, String storageType, int type, boolean andOperator, int start, int end, OrderByComparator orderByComparator)
           
 int searchCount(long companyId, long[] groupIds, long[] classNameIds, String keywords)
           
 int searchCount(long companyId, long[] groupIds, long[] classNameIds, String name, String description, String storageType, int type, boolean andOperator)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService)
 void setWrappedService(DDMStructureLocalService ddmStructureLocalService)
           
 DDMStructure updateDDMStructure(DDMStructure ddmStructure)
          Updates the d d m structure in the database or adds it if it does not yet exist.
 DDMStructure updateDDMStructure(DDMStructure ddmStructure, boolean merge)
          Updates the d d m structure in the database or adds it if it does not yet exist.
 DDMStructure updateStructure(long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, ServiceContext serviceContext)
           
 DDMStructure updateStructure(long groupId, String structureKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMStructureLocalServiceWrapper

public DDMStructureLocalServiceWrapper(DDMStructureLocalService ddmStructureLocalService)
Method Detail

addDDMStructure

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

public void 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
Throws:
PortalException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

deleteDDMStructure

public void 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
Throws:
SystemException - if a system exception occurred

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.

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.

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

fetchDDMStructure

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

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

getDDMStructureByUuidAndGroupId

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

Specified by:
getDDMStructureByUuidAndGroupId in interface DDMStructureLocalService
Parameters:
uuid - the UUID of d d m structure
groupId - the group id of the d d m structure
Returns:
the d d m structure
Throws:
PortalException - if a d d m structure with the UUID in the group 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.

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

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

updateDDMStructure

public DDMStructure updateDDMStructure(DDMStructure ddmStructure,
                                       boolean merge)
                                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
merge - whether to merge the d d m structure with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the d d m structure that was updated
Throws:
SystemException - if a system exception occurred

getBeanIdentifier

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

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 DDMStructureLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addStructure

public DDMStructure addStructure(long userId,
                                 long groupId,
                                 long classNameId,
                                 String structureKey,
                                 Map<Locale,String> nameMap,
                                 Map<Locale,String> descriptionMap,
                                 String xsd,
                                 String storageType,
                                 int type,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Specified by:
addStructure in interface DDMStructureLocalService
Throws:
PortalException
SystemException

addStructureResources

public void addStructureResources(DDMStructure structure,
                                  boolean addGroupPermissions,
                                  boolean addGuestPermissions)
                           throws PortalException,
                                  SystemException
Specified by:
addStructureResources in interface DDMStructureLocalService
Throws:
PortalException
SystemException

addStructureResources

public void addStructureResources(DDMStructure structure,
                                  String[] groupPermissions,
                                  String[] guestPermissions)
                           throws PortalException,
                                  SystemException
Specified by:
addStructureResources in interface DDMStructureLocalService
Throws:
PortalException
SystemException

copyStructure

public DDMStructure copyStructure(long userId,
                                  long structureId,
                                  Map<Locale,String> nameMap,
                                  Map<Locale,String> descriptionMap,
                                  ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Specified by:
copyStructure in interface DDMStructureLocalService
Throws:
PortalException
SystemException

deleteStructure

public void deleteStructure(DDMStructure structure)
                     throws PortalException,
                            SystemException
Specified by:
deleteStructure in interface DDMStructureLocalService
Throws:
PortalException
SystemException

deleteStructure

public void deleteStructure(long structureId)
                     throws PortalException,
                            SystemException
Specified by:
deleteStructure in interface DDMStructureLocalService
Throws:
PortalException
SystemException

deleteStructure

public void deleteStructure(long groupId,
                            String structureKey)
                     throws PortalException,
                            SystemException
Specified by:
deleteStructure in interface DDMStructureLocalService
Throws:
PortalException
SystemException

deleteStructures

public void deleteStructures(long groupId)
                      throws PortalException,
                             SystemException
Specified by:
deleteStructures in interface DDMStructureLocalService
Throws:
PortalException
SystemException

fetchStructure

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

fetchStructure

public DDMStructure fetchStructure(long groupId,
                                   String structureKey)
                            throws SystemException
Specified by:
fetchStructure in interface DDMStructureLocalService
Throws:
SystemException

getClassStructures

public List<DDMStructure> getClassStructures(long classNameId)
                                      throws SystemException
Specified by:
getClassStructures in interface DDMStructureLocalService
Throws:
SystemException

getClassStructures

public List<DDMStructure> getClassStructures(long classNameId,
                                             int start,
                                             int end)
                                      throws SystemException
Specified by:
getClassStructures in interface DDMStructureLocalService
Throws:
SystemException

getClassStructures

public List<DDMStructure> getClassStructures(long classNameId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Specified by:
getClassStructures in interface DDMStructureLocalService
Throws:
SystemException

getDLFileEntryTypeStructures

public List<DDMStructure> getDLFileEntryTypeStructures(long dlFileEntryTypeId)
                                                throws SystemException
Specified by:
getDLFileEntryTypeStructures in interface DDMStructureLocalService
Throws:
SystemException

getStructure

public DDMStructure getStructure(long structureId)
                          throws PortalException,
                                 SystemException
Specified by:
getStructure in interface DDMStructureLocalService
Throws:
PortalException
SystemException

getStructure

public DDMStructure getStructure(long groupId,
                                 String structureKey)
                          throws PortalException,
                                 SystemException
Specified by:
getStructure in interface DDMStructureLocalService
Throws:
PortalException
SystemException

getStructure

public List<DDMStructure> getStructure(long groupId,
                                       String name,
                                       String description)
                                throws SystemException
Specified by:
getStructure in interface DDMStructureLocalService
Throws:
SystemException

getStructureEntries

public List<DDMStructure> getStructureEntries()
                                       throws SystemException
Deprecated. getStructures()

Specified by:
getStructureEntries in interface DDMStructureLocalService
Throws:
SystemException

getStructureEntries

public List<DDMStructure> getStructureEntries(long groupId)
                                       throws SystemException
Deprecated. getStructures(long)

Specified by:
getStructureEntries in interface DDMStructureLocalService
Throws:
SystemException

getStructureEntries

public List<DDMStructure> getStructureEntries(long groupId,
                                              int start,
                                              int end)
                                       throws SystemException
Deprecated. getStructures(long, int, int)

Specified by:
getStructureEntries in interface DDMStructureLocalService
Throws:
SystemException

getStructures

public List<DDMStructure> getStructures()
                                 throws SystemException
Specified by:
getStructures in interface DDMStructureLocalService
Throws:
SystemException

getStructures

public List<DDMStructure> getStructures(long groupId)
                                 throws SystemException
Specified by:
getStructures in interface DDMStructureLocalService
Throws:
SystemException

getStructures

public List<DDMStructure> getStructures(long groupId,
                                        int start,
                                        int end)
                                 throws SystemException
Specified by:
getStructures in interface DDMStructureLocalService
Throws:
SystemException

getStructuresCount

public int getStructuresCount(long groupId)
                       throws SystemException
Specified by:
getStructuresCount in interface DDMStructureLocalService
Throws:
SystemException

search

public List<DDMStructure> search(long companyId,
                                 long[] groupIds,
                                 long[] classNameIds,
                                 String keywords,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
search in interface DDMStructureLocalService
Throws:
SystemException

search

public List<DDMStructure> search(long companyId,
                                 long[] groupIds,
                                 long[] classNameIds,
                                 String name,
                                 String description,
                                 String storageType,
                                 int type,
                                 boolean andOperator,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
search in interface DDMStructureLocalService
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long[] groupIds,
                       long[] classNameIds,
                       String keywords)
                throws SystemException
Specified by:
searchCount in interface DDMStructureLocalService
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long[] groupIds,
                       long[] classNameIds,
                       String name,
                       String description,
                       String storageType,
                       int type,
                       boolean andOperator)
                throws SystemException
Specified by:
searchCount in interface DDMStructureLocalService
Throws:
SystemException

updateStructure

public DDMStructure updateStructure(long structureId,
                                    Map<Locale,String> nameMap,
                                    Map<Locale,String> descriptionMap,
                                    String xsd,
                                    ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Specified by:
updateStructure in interface DDMStructureLocalService
Throws:
PortalException
SystemException

updateStructure

public DDMStructure updateStructure(long groupId,
                                    String structureKey,
                                    Map<Locale,String> nameMap,
                                    Map<Locale,String> descriptionMap,
                                    String xsd,
                                    ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Specified by:
updateStructure in interface DDMStructureLocalService
Throws:
PortalException
SystemException

getWrappedDDMStructureLocalService

public DDMStructureLocalService getWrappedDDMStructureLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedDDMStructureLocalService

public void setWrappedDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService)


getWrappedService

public DDMStructureLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DDMStructureLocalService>

setWrappedService

public void setWrappedService(DDMStructureLocalService ddmStructureLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<DDMStructureLocalService>

Liferay 6.1.10-ee-ga1