|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceWrapper
public class DDMStructureLocalServiceWrapper
This class is a wrapper for DDMStructureLocalService
.
DDMStructureLocalService
Constructor Summary | |
---|---|
DDMStructureLocalServiceWrapper(DDMStructureLocalService ddmStructureLocalService)
|
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)
|
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)
|
void |
clearDLFileEntryTypeDDMStructures(long fileEntryTypeId)
|
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. |
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 |
deleteStructure(DDMStructure structure)
|
void |
deleteStructure(long structureId)
|
void |
deleteStructure(long groupId,
String structureKey)
|
void |
deleteStructures(long groupId)
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
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)
Deprecated. getClassStructures(long, long) |
List<DDMStructure> |
getClassStructures(long classNameId,
int start,
int end)
Deprecated. getClassStructures(long, long, int, int) |
List<DDMStructure> |
getClassStructures(long companyId,
long classNameId)
|
List<DDMStructure> |
getClassStructures(long companyId,
long classNameId,
int start,
int end)
|
List<DDMStructure> |
getClassStructures(long companyId,
long classNameId,
OrderByComparator orderByComparator)
|
List<DDMStructure> |
getClassStructures(long classNameId,
OrderByComparator orderByComparator)
Deprecated. getClassStructures(long, long, 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> |
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)
|
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()
|
boolean |
hasDLFileEntryTypeDDMStructure(long fileEntryTypeId,
long structureId)
|
boolean |
hasDLFileEntryTypeDDMStructures(long fileEntryTypeId)
|
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 |
setDLFileEntryTypeDDMStructures(long fileEntryTypeId,
long[] structureIds)
|
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 |
---|
public DDMStructureLocalServiceWrapper(DDMStructureLocalService ddmStructureLocalService)
Method Detail |
---|
public DDMStructure addDDMStructure(DDMStructure ddmStructure) throws SystemException
addDDMStructure
in interface DDMStructureLocalService
ddmStructure
- the d d m structure
SystemException
- if a system exception occurredpublic DDMStructure createDDMStructure(long structureId)
createDDMStructure
in interface DDMStructureLocalService
structureId
- the primary key for the new d d m structure
public DDMStructure deleteDDMStructure(long structureId) throws PortalException, SystemException
deleteDDMStructure
in interface DDMStructureLocalService
structureId
- the primary key of the d d m structure
PortalException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic DDMStructure deleteDDMStructure(DDMStructure ddmStructure) throws SystemException
deleteDDMStructure
in interface DDMStructureLocalService
ddmStructure
- the d d m structure
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface DDMStructureLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DDMStructureLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
dynamicQuery
in interface DDMStructureLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
dynamicQuery
in interface DDMStructureLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface DDMStructureLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic DDMStructure fetchDDMStructure(long structureId) throws SystemException
fetchDDMStructure
in interface DDMStructureLocalService
SystemException
public DDMStructure getDDMStructure(long structureId) throws PortalException, SystemException
getDDMStructure
in interface DDMStructureLocalService
structureId
- the primary key of the d d m structure
PortalException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface DDMStructureLocalService
PortalException
SystemException
public DDMStructure getDDMStructureByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getDDMStructureByUuidAndGroupId
in interface DDMStructureLocalService
uuid
- the UUID of d d m structuregroupId
- the group id of the d d m structure
PortalException
- if a d d m structure with the UUID in the group could not be found
SystemException
- if a system exception occurredpublic List<DDMStructure> getDDMStructures(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
getDDMStructures
in interface DDMStructureLocalService
start
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic int getDDMStructuresCount() throws SystemException
getDDMStructuresCount
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic DDMStructure updateDDMStructure(DDMStructure ddmStructure) throws SystemException
updateDDMStructure
in interface DDMStructureLocalService
ddmStructure
- the d d m structure
SystemException
- if a system exception occurredpublic DDMStructure updateDDMStructure(DDMStructure ddmStructure, boolean merge) throws SystemException
updateDDMStructure
in interface DDMStructureLocalService
ddmStructure
- the d d m structuremerge
- 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.
SystemException
- if a system exception occurredpublic void addDLFileEntryTypeDDMStructure(long fileEntryTypeId, long structureId) throws SystemException
addDLFileEntryTypeDDMStructure
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic void addDLFileEntryTypeDDMStructure(long fileEntryTypeId, DDMStructure ddmStructure) throws SystemException
addDLFileEntryTypeDDMStructure
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic void addDLFileEntryTypeDDMStructures(long fileEntryTypeId, long[] structureIds) throws SystemException
addDLFileEntryTypeDDMStructures
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic void addDLFileEntryTypeDDMStructures(long fileEntryTypeId, List<DDMStructure> DDMStructures) throws SystemException
addDLFileEntryTypeDDMStructures
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic void clearDLFileEntryTypeDDMStructures(long fileEntryTypeId) throws SystemException
clearDLFileEntryTypeDDMStructures
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic void deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId, long structureId) throws SystemException
deleteDLFileEntryTypeDDMStructure
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic void deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId, DDMStructure ddmStructure) throws SystemException
deleteDLFileEntryTypeDDMStructure
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic void deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId, long[] structureIds) throws SystemException
deleteDLFileEntryTypeDDMStructures
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic void deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId, List<DDMStructure> DDMStructures) throws SystemException
deleteDLFileEntryTypeDDMStructures
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId) throws SystemException
getDLFileEntryTypeDDMStructures
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId, int start, int end) throws SystemException
getDLFileEntryTypeDDMStructures
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
getDLFileEntryTypeDDMStructures
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic int getDLFileEntryTypeDDMStructuresCount(long fileEntryTypeId) throws SystemException
getDLFileEntryTypeDDMStructuresCount
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic boolean hasDLFileEntryTypeDDMStructure(long fileEntryTypeId, long structureId) throws SystemException
hasDLFileEntryTypeDDMStructure
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic boolean hasDLFileEntryTypeDDMStructures(long fileEntryTypeId) throws SystemException
hasDLFileEntryTypeDDMStructures
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic void setDLFileEntryTypeDDMStructures(long fileEntryTypeId, long[] structureIds) throws SystemException
setDLFileEntryTypeDDMStructures
in interface DDMStructureLocalService
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface DDMStructureLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface DDMStructureLocalService
beanIdentifier
- the Spring bean ID for this beanpublic 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
addStructure
in interface DDMStructureLocalService
PortalException
SystemException
public void addStructureResources(DDMStructure structure, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addStructureResources
in interface DDMStructureLocalService
PortalException
SystemException
public void addStructureResources(DDMStructure structure, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addStructureResources
in interface DDMStructureLocalService
PortalException
SystemException
public DDMStructure copyStructure(long userId, long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, ServiceContext serviceContext) throws PortalException, SystemException
copyStructure
in interface DDMStructureLocalService
PortalException
SystemException
public void deleteStructure(DDMStructure structure) throws PortalException, SystemException
deleteStructure
in interface DDMStructureLocalService
PortalException
SystemException
public void deleteStructure(long structureId) throws PortalException, SystemException
deleteStructure
in interface DDMStructureLocalService
PortalException
SystemException
public void deleteStructure(long groupId, String structureKey) throws PortalException, SystemException
deleteStructure
in interface DDMStructureLocalService
PortalException
SystemException
public void deleteStructures(long groupId) throws PortalException, SystemException
deleteStructures
in interface DDMStructureLocalService
PortalException
SystemException
public DDMStructure fetchStructure(long structureId) throws SystemException
fetchStructure
in interface DDMStructureLocalService
SystemException
public DDMStructure fetchStructure(long groupId, String structureKey) throws SystemException
fetchStructure
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getClassStructures(long classNameId) throws SystemException
getClassStructures(long, long)
getClassStructures
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getClassStructures(long classNameId, int start, int end) throws SystemException
getClassStructures(long, long, int, int)
getClassStructures
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getClassStructures(long companyId, long classNameId) throws SystemException
getClassStructures
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getClassStructures(long companyId, long classNameId, int start, int end) throws SystemException
getClassStructures
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getClassStructures(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException
getClassStructures
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getClassStructures(long classNameId, OrderByComparator orderByComparator) throws SystemException
getClassStructures(long, long, OrderByComparator)
getClassStructures
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getDLFileEntryTypeStructures(long dlFileEntryTypeId) throws SystemException
getDLFileEntryTypeStructures
in interface DDMStructureLocalService
SystemException
public DDMStructure getStructure(long structureId) throws PortalException, SystemException
getStructure
in interface DDMStructureLocalService
PortalException
SystemException
public DDMStructure getStructure(long groupId, String structureKey) throws PortalException, SystemException
getStructure
in interface DDMStructureLocalService
PortalException
SystemException
public List<DDMStructure> getStructure(long groupId, String name, String description) throws SystemException
getStructure
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getStructureEntries() throws SystemException
getStructures()
getStructureEntries
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getStructureEntries(long groupId) throws SystemException
getStructures(long)
getStructureEntries
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getStructureEntries(long groupId, int start, int end) throws SystemException
getStructures(long, int, int)
getStructureEntries
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getStructures() throws SystemException
getStructures
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getStructures(long groupId) throws SystemException
getStructures
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> getStructures(long groupId, int start, int end) throws SystemException
getStructures
in interface DDMStructureLocalService
SystemException
public int getStructuresCount(long groupId) throws SystemException
getStructuresCount
in interface DDMStructureLocalService
SystemException
public List<DDMStructure> search(long companyId, long[] groupIds, long[] classNameIds, String keywords, int start, int end, OrderByComparator orderByComparator) throws SystemException
search
in interface DDMStructureLocalService
SystemException
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
search
in interface DDMStructureLocalService
SystemException
public int searchCount(long companyId, long[] groupIds, long[] classNameIds, String keywords) throws SystemException
searchCount
in interface DDMStructureLocalService
SystemException
public int searchCount(long companyId, long[] groupIds, long[] classNameIds, String name, String description, String storageType, int type, boolean andOperator) throws SystemException
searchCount
in interface DDMStructureLocalService
SystemException
public DDMStructure updateStructure(long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, ServiceContext serviceContext) throws PortalException, SystemException
updateStructure
in interface DDMStructureLocalService
PortalException
SystemException
public DDMStructure updateStructure(long groupId, String structureKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, ServiceContext serviceContext) throws PortalException, SystemException
updateStructure
in interface DDMStructureLocalService
PortalException
SystemException
public DDMStructureLocalService getWrappedDDMStructureLocalService()
getWrappedService()
public void setWrappedDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService)
setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService)
public DDMStructureLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<DDMStructureLocalService>
public void setWrappedService(DDMStructureLocalService ddmStructureLocalService)
setWrappedService
in interface ServiceWrapper<DDMStructureLocalService>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |