|
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.documentlibrary.service.DLSyncLocalServiceUtil
public class DLSyncLocalServiceUtil
The utility for the d l sync local service. This utility wraps DLSyncLocalServiceImpl
and is the primary access point for service operations in application layer code running on the local server.
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.
DLSyncLocalService
,
DLSyncLocalServiceBaseImpl
,
DLSyncLocalServiceImpl
Constructor Summary | |
---|---|
DLSyncLocalServiceUtil()
|
Method Summary | |
---|---|
static DLSync |
addDLSync(DLSync dlSync)
Adds the d l sync to the database. |
static 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) |
static DLSync |
addSync(long fileId,
String fileUuid,
long companyId,
long repositoryId,
long parentFolderId,
String name,
String description,
String type,
String version)
|
static DLSync |
createDLSync(long syncId)
Creates a new d l sync with the primary key. |
static DLSync |
deleteDLSync(DLSync dlSync)
Deletes the d l sync from the database. |
static DLSync |
deleteDLSync(long syncId)
Deletes the d l sync with the primary key from the database. |
static DynamicQuery |
dynamicQuery()
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
static 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. |
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
static DLSync |
fetchDLSync(long syncId)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static DLSync |
getDLSync(long syncId)
Returns the d l sync with the primary key. |
static List<DLSync> |
getDLSyncs(int start,
int end)
Returns a range of all the d l syncs. |
static int |
getDLSyncsCount()
Returns the number of d l syncs. |
static PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
static DLSyncLocalService |
getService()
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(DLSyncLocalService service)
Deprecated. |
static DLSync |
updateDLSync(DLSync dlSync)
Updates the d l sync in the database or adds it if it does not yet exist. |
static DLSync |
updateDLSync(DLSync dlSync,
boolean merge)
Updates the d l sync in the database or adds it if it does not yet exist. |
static DLSync |
updateSync(long fileId,
long parentFolderId,
String name,
String event,
String version)
Deprecated. updateSync(long, long, String, String, String,
String) |
static DLSync |
updateSync(long fileId,
long parentFolderId,
String name,
String description,
String event,
String version)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLSyncLocalServiceUtil()
Method Detail |
---|
public static DLSync addDLSync(DLSync dlSync) throws SystemException
dlSync
- the d l sync
SystemException
- if a system exception occurredpublic static DLSync createDLSync(long syncId)
syncId
- the primary key for the new d l sync
public static 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 occurredpublic static DLSync deleteDLSync(DLSync dlSync) throws SystemException
dlSync
- the d l sync
SystemException
- if a system exception occurredpublic static DynamicQuery dynamicQuery()
public static List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic static 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
- 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 static 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
- 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 static long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic static DLSync fetchDLSync(long syncId) throws SystemException
SystemException
public static 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 occurredpublic static PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
PortalException
SystemException
public static 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 occurredpublic static int getDLSyncsCount() throws SystemException
SystemException
- if a system exception occurredpublic static DLSync updateDLSync(DLSync dlSync) throws SystemException
dlSync
- the d l sync
SystemException
- if a system exception occurredpublic static DLSync 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 occurredpublic static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static DLSync 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
public static 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
public static DLSync updateSync(long fileId, long parentFolderId, String name, String event, String version) throws PortalException, SystemException
updateSync(long, long, String, String, String,
String)
PortalException
SystemException
public static DLSync updateSync(long fileId, long parentFolderId, String name, String description, String event, String version) throws PortalException, SystemException
PortalException
SystemException
public static DLSyncLocalService getService()
public void setService(DLSyncLocalService service)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |