@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface SyncDLObjectService
extends com.liferay.portal.kernel.service.BaseService
SyncDLObjectServiceUtil
Modifier and Type | Method and Description |
---|---|
SyncDLObject |
addFileEntry(long repositoryId,
long folderId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
java.io.File file,
java.lang.String checksum,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
SyncDLObject |
addFolder(long repositoryId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SyncDLObject |
cancelCheckOut(long fileEntryId) |
SyncDLObject |
checkInFileEntry(long fileEntryId,
boolean majorVersion,
java.lang.String changeLog,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SyncDLObject |
checkOutFileEntry(long fileEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SyncDLObject |
checkOutFileEntry(long fileEntryId,
java.lang.String owner,
long expirationTime,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SyncDLObject |
copyFileEntry(long sourceFileEntryId,
long repositoryId,
long folderId,
java.lang.String sourceFileName,
java.lang.String title,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
java.util.List<SyncDLObject> |
getAllFolderSyncDLObjects(long repositoryId) |
SyncDLObject |
getFileEntrySyncDLObject(long repositoryId,
long folderId,
java.lang.String title) |
java.util.List<SyncDLObject> |
getFileEntrySyncDLObjects(long repositoryId,
long folderId) |
SyncDLObject |
getFolderSyncDLObject(long folderId) |
SyncDLObject |
getFolderSyncDLObject(long repositoryId,
long parentFolderId,
java.lang.String name) |
java.util.List<SyncDLObject> |
getFolderSyncDLObjects(long repositoryId,
long parentFolderId) |
com.liferay.portal.kernel.model.Group |
getGroup(long groupId) |
long |
getLatestModifiedTime() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
java.lang.Object |
getSyncContext() |
java.lang.String |
getSyncDLObjectUpdate(long repositoryId,
long lastAccessTime,
int max) |
java.lang.String |
getSyncDLObjectUpdate(long repositoryId,
long lastAccessTime,
int max,
boolean retrieveFromCache) |
java.lang.String |
getSyncDLObjectUpdate(long repositoryId,
long parentFolderId,
long lastAccessTime) |
java.util.List<com.liferay.portal.kernel.model.Group> |
getUserSitesGroups() |
SyncDLObject |
moveFileEntry(long fileEntryId,
long newFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SyncDLObject |
moveFileEntryToTrash(long fileEntryId) |
SyncDLObject |
moveFolder(long folderId,
long parentFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SyncDLObject |
moveFolderToTrash(long folderId) |
SyncDLObject |
patchFileEntry(long fileEntryId,
long sourceVersionId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
boolean majorVersion,
java.io.File deltaFile,
java.lang.String checksum,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SyncDLObject |
restoreFileEntryFromTrash(long fileEntryId) |
SyncDLObject |
restoreFolderFromTrash(long folderId) |
java.util.Map<java.lang.String,java.lang.Object> |
updateFileEntries(java.io.File zipFile) |
SyncDLObject |
updateFileEntry(long fileEntryId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
boolean majorVersion,
java.io.File file,
java.lang.String checksum,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SyncDLObject |
updateFolder(long folderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SyncDLObject addFileEntry(long repositoryId, long folderId, java.lang.String sourceFileName, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String changeLog, java.io.File file, java.lang.String checksum, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
SyncDLObjectServiceUtil
to access the sync dl object remote service. Add custom service methods to com.liferay.sync.service.impl.SyncDLObjectServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.com.liferay.portal.kernel.exception.PortalException
SyncDLObject addFolder(long repositoryId, long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject cancelCheckOut(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject checkInFileEntry(long fileEntryId, boolean majorVersion, java.lang.String changeLog, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject checkOutFileEntry(long fileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject checkOutFileEntry(long fileEntryId, java.lang.String owner, long expirationTime, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject copyFileEntry(long sourceFileEntryId, long repositoryId, long folderId, java.lang.String sourceFileName, java.lang.String title, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SyncDLObject> getAllFolderSyncDLObjects(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) SyncDLObject getFileEntrySyncDLObject(long repositoryId, long folderId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SyncDLObject> getFileEntrySyncDLObjects(long repositoryId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) SyncDLObject getFolderSyncDLObject(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) SyncDLObject getFolderSyncDLObject(long repositoryId, long parentFolderId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SyncDLObject> getFolderSyncDLObjects(long repositoryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.Group getGroup(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) long getLatestModifiedTime() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
@AccessControlled(guestAccessEnabled=true) @Transactional(propagation=SUPPORTS, readOnly=true) java.lang.Object getSyncContext() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getSyncDLObjectUpdate(long repositoryId, long lastAccessTime, int max) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getSyncDLObjectUpdate(long repositoryId, long lastAccessTime, int max, boolean retrieveFromCache) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getSyncDLObjectUpdate(long repositoryId, long parentFolderId, long lastAccessTime) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<com.liferay.portal.kernel.model.Group> getUserSitesGroups() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject moveFileEntry(long fileEntryId, long newFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject moveFileEntryToTrash(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject moveFolder(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject patchFileEntry(long fileEntryId, long sourceVersionId, java.lang.String sourceFileName, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String changeLog, boolean majorVersion, java.io.File deltaFile, java.lang.String checksum, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject restoreFileEntryFromTrash(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(enabled=false) java.util.Map<java.lang.String,java.lang.Object> updateFileEntries(java.io.File zipFile) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject updateFileEntry(long fileEntryId, java.lang.String sourceFileName, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String changeLog, boolean majorVersion, java.io.File file, java.lang.String checksum, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
SyncDLObject updateFolder(long folderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException