|
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 DLSyncLocalService
The interface for the d l sync 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.
DLSyncLocalServiceUtil
,
com.liferay.portlet.documentlibrary.service.base.DLSyncLocalServiceBaseImpl
,
com.liferay.portlet.documentlibrary.service.impl.DLSyncLocalServiceImpl
Method Summary | |
---|---|
DLSync |
addDLSync(DLSync dlSync)
Adds the d l sync to the database. |
DLSync |
addSync(long fileId,
String fileUuid,
long companyId,
long repositoryId,
long parentFolderId,
String name,
String type,
String version)
Deprecated. addSync(long, String, long, long, long, String,
String, String, String) |
DLSync |
addSync(long fileId,
String fileUuid,
long companyId,
long repositoryId,
long parentFolderId,
String name,
String description,
String type,
String version)
|
DLSync |
createDLSync(long syncId)
Creates a new d l sync with the primary key. |
DLSync |
deleteDLSync(DLSync dlSync)
Deletes the d l sync from the database. |
DLSync |
deleteDLSync(long syncId)
Deletes the d l sync with the primary key from the database. |
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. |
DLSync |
fetchDLSync(long syncId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
DLSync |
getDLSync(long syncId)
Returns the d l sync with the primary key. |
List<DLSync> |
getDLSyncs(int start,
int end)
Returns a range of all the d l syncs. |
int |
getDLSyncsCount()
Returns the number of d l syncs. |
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
DLSync |
updateDLSync(DLSync dlSync)
Updates the d l sync in the database or adds it if it does not yet exist. |
DLSync |
updateDLSync(DLSync dlSync,
boolean merge)
Updates the d l sync in the database or adds it if it does not yet exist. |
DLSync |
updateSync(long fileId,
long parentFolderId,
String name,
String event,
String version)
Deprecated. updateSync(long, long, String, String, String,
String) |
DLSync |
updateSync(long fileId,
long parentFolderId,
String name,
String description,
String event,
String version)
|
Method Detail |
---|
DLSync addDLSync(DLSync dlSync) throws SystemException
dlSync
- the d l sync
SystemException
- if a system exception occurredDLSync createDLSync(long syncId)
syncId
- the primary key for the new d l sync
DLSync deleteDLSync(long syncId) throws PortalException, SystemException
syncId
- the primary key of the d l sync
PortalException
- if a d l sync with the primary key could not be found
SystemException
- if a system exception occurredDLSync deleteDLSync(DLSync dlSync) throws SystemException
dlSync
- the d l sync
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) DLSync fetchDLSync(long syncId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DLSync getDLSync(long syncId) throws PortalException, SystemException
syncId
- the primary key of the d l sync
PortalException
- if a d l sync 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) List<DLSync> getDLSyncs(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 l syncsend
- the upper bound of the range of d l syncs (not inclusive)
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getDLSyncsCount() throws SystemException
SystemException
- if a system exception occurredDLSync updateDLSync(DLSync dlSync) throws SystemException
dlSync
- the d l sync
SystemException
- if a system exception occurredDLSync updateDLSync(DLSync dlSync, boolean merge) throws SystemException
dlSync
- the d l syncmerge
- whether to merge the d l sync 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 occurredString getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanDLSync addSync(long fileId, String fileUuid, long companyId, long repositoryId, long parentFolderId, String name, String type, String version) throws PortalException, SystemException
addSync(long, String, long, long, long, String,
String, String, String)
PortalException
SystemException
DLSync addSync(long fileId, String fileUuid, long companyId, long repositoryId, long parentFolderId, String name, String description, String type, String version) throws PortalException, SystemException
PortalException
SystemException
DLSync updateSync(long fileId, long parentFolderId, String name, String event, String version) throws PortalException, SystemException
updateSync(long, long, String, String, String,
String)
PortalException
SystemException
DLSync updateSync(long fileId, long parentFolderId, String name, String description, String event, String version) 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 |