|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface DDMStructureLocalService
The interface for the d d m structure local service.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
DDMStructureLocalServiceUtil
,
DDMStructureLocalServiceBaseImpl
,
DDMStructureLocalServiceImpl
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)
|
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)
|
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)
|
Method Detail |
---|
DDMStructure addDDMStructure(DDMStructure ddmStructure) throws SystemException
ddmStructure
- the d d m structure
SystemException
- if a system exception occurredDDMStructure createDDMStructure(long structureId)
structureId
- the primary key for the new d d m structure
DDMStructure deleteDDMStructure(long structureId) throws PortalException, SystemException
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 occurredDDMStructure deleteDDMStructure(DDMStructure ddmStructure) throws SystemException
ddmStructure
- the d d m structure
SystemException
- if a system exception occurredDynamicQuery dynamicQuery()
List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredList 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
- 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 occurredList 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
- 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 occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) DDMStructure fetchDDMStructure(long structureId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DDMStructure getDDMStructure(long structureId) throws PortalException, SystemException
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 occurred@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DDMStructure getDDMStructureByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
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 occurred@Transactional(propagation=SUPPORTS, readOnly=true) 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.
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 occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getDDMStructuresCount() throws SystemException
SystemException
- if a system exception occurredDDMStructure updateDDMStructure(DDMStructure ddmStructure) throws SystemException
ddmStructure
- the d d m structure
SystemException
- if a system exception occurredDDMStructure updateDDMStructure(DDMStructure ddmStructure, boolean merge) throws SystemException
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 occurredvoid addDLFileEntryTypeDDMStructure(long fileEntryTypeId, long structureId) throws SystemException
SystemException
- if a system exception occurredvoid addDLFileEntryTypeDDMStructure(long fileEntryTypeId, DDMStructure ddmStructure) throws SystemException
SystemException
- if a system exception occurredvoid addDLFileEntryTypeDDMStructures(long fileEntryTypeId, long[] structureIds) throws SystemException
SystemException
- if a system exception occurredvoid addDLFileEntryTypeDDMStructures(long fileEntryTypeId, List<DDMStructure> DDMStructures) throws SystemException
SystemException
- if a system exception occurredvoid clearDLFileEntryTypeDDMStructures(long fileEntryTypeId) throws SystemException
SystemException
- if a system exception occurredvoid deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId, long structureId) throws SystemException
SystemException
- if a system exception occurredvoid deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId, DDMStructure ddmStructure) throws SystemException
SystemException
- if a system exception occurredvoid deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId, long[] structureIds) throws SystemException
SystemException
- if a system exception occurredvoid deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId, List<DDMStructure> DDMStructures) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId, int start, int end) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getDLFileEntryTypeDDMStructures(long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getDLFileEntryTypeDDMStructuresCount(long fileEntryTypeId) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasDLFileEntryTypeDDMStructure(long fileEntryTypeId, long structureId) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasDLFileEntryTypeDDMStructures(long fileEntryTypeId) throws SystemException
SystemException
- if a system exception occurredvoid setDLFileEntryTypeDDMStructures(long fileEntryTypeId, long[] structureIds) throws SystemException
SystemException
- if a system exception occurredString getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanDDMStructure 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
PortalException
SystemException
void addStructureResources(DDMStructure structure, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addStructureResources(DDMStructure structure, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
DDMStructure copyStructure(long userId, long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
void deleteStructure(DDMStructure structure) throws PortalException, SystemException
PortalException
SystemException
void deleteStructure(long structureId) throws PortalException, SystemException
PortalException
SystemException
void deleteStructure(long groupId, String structureKey) throws PortalException, SystemException
PortalException
SystemException
void deleteStructures(long groupId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DDMStructure fetchStructure(long structureId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DDMStructure fetchStructure(long groupId, String structureKey) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getClassStructures(long classNameId) throws SystemException
getClassStructures(long, long)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getClassStructures(long classNameId, int start, int end) throws SystemException
getClassStructures(long, long, int, int)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getClassStructures(long companyId, long classNameId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getClassStructures(long companyId, long classNameId, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getClassStructures(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getClassStructures(long classNameId, OrderByComparator orderByComparator) throws SystemException
getClassStructures(long, long, OrderByComparator)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getDLFileEntryTypeStructures(long dlFileEntryTypeId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DDMStructure getStructure(long structureId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DDMStructure getStructure(long groupId, String structureKey) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getStructure(long groupId, String name, String description) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getStructureEntries() throws SystemException
getStructures()
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getStructureEntries(long groupId) throws SystemException
getStructures(long)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getStructureEntries(long groupId, int start, int end) throws SystemException
getStructures(long, int, int)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getStructures() throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getStructures(long groupId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> getStructures(long groupId, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getStructuresCount(long groupId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DDMStructure> search(long companyId, long[] groupIds, long[] classNameIds, String keywords, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int searchCount(long companyId, long[] groupIds, long[] classNameIds, String keywords) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int searchCount(long companyId, long[] groupIds, long[] classNameIds, String name, String description, String storageType, int type, boolean andOperator) throws SystemException
SystemException
DDMStructure updateStructure(long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
DDMStructure updateStructure(long groupId, String structureKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |