|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalServiceWrapper
@ProviderType public class DLFileShortcutLocalServiceWrapper
Provides a wrapper for DLFileShortcutLocalService
.
DLFileShortcutLocalService
Constructor Summary | |
---|---|
DLFileShortcutLocalServiceWrapper(DLFileShortcutLocalService dlFileShortcutLocalService)
|
Method Summary | |
---|---|
DLFileShortcut |
addDLFileShortcut(DLFileShortcut dlFileShortcut)
Adds the document library file shortcut to the database. |
DLFileShortcut |
addFileShortcut(long userId,
long groupId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
|
void |
addFileShortcutResources(DLFileShortcut fileShortcut,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addFileShortcutResources(DLFileShortcut fileShortcut,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addFileShortcutResources(long fileShortcutId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addFileShortcutResources(long fileShortcutId,
String[] groupPermissions,
String[] guestPermissions)
|
DLFileShortcut |
createDLFileShortcut(long fileShortcutId)
Creates a new document library file shortcut with the primary key. |
DLFileShortcut |
deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
Deletes the document library file shortcut from the database. |
DLFileShortcut |
deleteDLFileShortcut(long fileShortcutId)
Deletes the document library file shortcut with the primary key from the database. |
void |
deleteFileShortcut(DLFileShortcut fileShortcut)
|
void |
deleteFileShortcut(long fileShortcutId)
|
void |
deleteFileShortcuts(long toFileEntryId)
|
void |
deleteFileShortcuts(long groupId,
long folderId)
|
void |
deleteFileShortcuts(long groupId,
long folderId,
boolean includeTrashedEntries)
|
void |
disableFileShortcuts(long toFileEntryId)
|
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. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
void |
enableFileShortcuts(long toFileEntryId)
|
DLFileShortcut |
fetchDLFileShortcut(long fileShortcutId)
|
DLFileShortcut |
fetchDLFileShortcutByUuidAndCompanyId(String uuid,
long companyId)
Returns the document library file shortcut with the matching UUID and company. |
DLFileShortcut |
fetchDLFileShortcutByUuidAndGroupId(String uuid,
long groupId)
Returns the document library file shortcut matching the UUID and group. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
DLFileShortcut |
getDLFileShortcut(long fileShortcutId)
Returns the document library file shortcut with the primary key. |
DLFileShortcut |
getDLFileShortcutByUuidAndCompanyId(String uuid,
long companyId)
Returns the document library file shortcut with the matching UUID and company. |
DLFileShortcut |
getDLFileShortcutByUuidAndGroupId(String uuid,
long groupId)
Returns the document library file shortcut matching the UUID and group. |
List<DLFileShortcut> |
getDLFileShortcuts(int start,
int end)
Returns a range of all the document library file shortcuts. |
int |
getDLFileShortcutsCount()
Returns the number of document library file shortcuts. |
DLFileShortcut |
getFileShortcut(long fileShortcutId)
|
List<DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
boolean active,
int status,
int start,
int end)
|
int |
getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status)
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
DLFileShortcutLocalService |
getWrappedDLFileShortcutLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
DLFileShortcutLocalService |
getWrappedService()
|
void |
rebuildTree(long companyId)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setTreePaths(long folderId,
String treePath)
|
void |
setWrappedDLFileShortcutLocalService(DLFileShortcutLocalService dlFileShortcutLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService) |
void |
setWrappedService(DLFileShortcutLocalService dlFileShortcutLocalService)
|
void |
updateAsset(long userId,
DLFileShortcut fileShortcut,
long[] assetCategoryIds,
String[] assetTagNames)
|
DLFileShortcut |
updateDLFileShortcut(DLFileShortcut dlFileShortcut)
Updates the document library file shortcut in the database or adds it if it does not yet exist. |
DLFileShortcut |
updateFileShortcut(long userId,
long fileShortcutId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
|
void |
updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId)
|
void |
updateStatus(long userId,
long fileShortcutId,
int status,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLFileShortcutLocalServiceWrapper(DLFileShortcutLocalService dlFileShortcutLocalService)
Method Detail |
---|
public DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut) throws SystemException
addDLFileShortcut
in interface DLFileShortcutLocalService
dlFileShortcut
- the document library file shortcut
SystemException
- if a system exception occurredpublic DLFileShortcut createDLFileShortcut(long fileShortcutId)
createDLFileShortcut
in interface DLFileShortcutLocalService
fileShortcutId
- the primary key for the new document library file shortcut
public DLFileShortcut deleteDLFileShortcut(long fileShortcutId) throws PortalException, SystemException
deleteDLFileShortcut
in interface DLFileShortcutLocalService
fileShortcutId
- the primary key of the document library file shortcut
PortalException
- if a document library file shortcut with the primary key could not be found
SystemException
- if a system exception occurredpublic DLFileShortcut deleteDLFileShortcut(DLFileShortcut dlFileShortcut) throws SystemException
deleteDLFileShortcut
in interface DLFileShortcutLocalService
dlFileShortcut
- the document library file shortcut
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface DLFileShortcutLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DLFileShortcutLocalService
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface DLFileShortcutLocalService
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface DLFileShortcutLocalService
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 DLFileShortcutLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface DLFileShortcutLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic DLFileShortcut fetchDLFileShortcut(long fileShortcutId) throws SystemException
fetchDLFileShortcut
in interface DLFileShortcutLocalService
SystemException
public DLFileShortcut fetchDLFileShortcutByUuidAndCompanyId(String uuid, long companyId) throws SystemException
fetchDLFileShortcutByUuidAndCompanyId
in interface DLFileShortcutLocalService
uuid
- the document library file shortcut's UUIDcompanyId
- the primary key of the company
null
if a matching document library file shortcut could not be found
SystemException
- if a system exception occurredpublic DLFileShortcut fetchDLFileShortcutByUuidAndGroupId(String uuid, long groupId) throws SystemException
fetchDLFileShortcutByUuidAndGroupId
in interface DLFileShortcutLocalService
uuid
- the document library file shortcut's UUIDgroupId
- the primary key of the group
null
if a matching document library file shortcut could not be found
SystemException
- if a system exception occurredpublic DLFileShortcut getDLFileShortcut(long fileShortcutId) throws PortalException, SystemException
getDLFileShortcut
in interface DLFileShortcutLocalService
fileShortcutId
- the primary key of the document library file shortcut
PortalException
- if a document library file shortcut 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 DLFileShortcutLocalService
PortalException
SystemException
public DLFileShortcut getDLFileShortcutByUuidAndCompanyId(String uuid, long companyId) throws PortalException, SystemException
getDLFileShortcutByUuidAndCompanyId
in interface DLFileShortcutLocalService
uuid
- the document library file shortcut's UUIDcompanyId
- the primary key of the company
PortalException
- if a matching document library file shortcut could not be found
SystemException
- if a system exception occurredpublic DLFileShortcut getDLFileShortcutByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getDLFileShortcutByUuidAndGroupId
in interface DLFileShortcutLocalService
uuid
- the document library file shortcut's UUIDgroupId
- the primary key of the group
PortalException
- if a matching document library file shortcut could not be found
SystemException
- if a system exception occurredpublic List<DLFileShortcut> getDLFileShortcuts(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getDLFileShortcuts
in interface DLFileShortcutLocalService
start
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)
SystemException
- if a system exception occurredpublic int getDLFileShortcutsCount() throws SystemException
getDLFileShortcutsCount
in interface DLFileShortcutLocalService
SystemException
- if a system exception occurredpublic DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut) throws SystemException
updateDLFileShortcut
in interface DLFileShortcutLocalService
dlFileShortcut
- the document library file shortcut
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface DLFileShortcutLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface DLFileShortcutLocalService
beanIdentifier
- the Spring bean ID for this beanpublic DLFileShortcut addFileShortcut(long userId, long groupId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException, SystemException
addFileShortcut
in interface DLFileShortcutLocalService
PortalException
SystemException
public void addFileShortcutResources(DLFileShortcut fileShortcut, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addFileShortcutResources
in interface DLFileShortcutLocalService
PortalException
SystemException
public void addFileShortcutResources(DLFileShortcut fileShortcut, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addFileShortcutResources
in interface DLFileShortcutLocalService
PortalException
SystemException
public void addFileShortcutResources(long fileShortcutId, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addFileShortcutResources
in interface DLFileShortcutLocalService
PortalException
SystemException
public void addFileShortcutResources(long fileShortcutId, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addFileShortcutResources
in interface DLFileShortcutLocalService
PortalException
SystemException
public void deleteFileShortcut(DLFileShortcut fileShortcut) throws PortalException, SystemException
deleteFileShortcut
in interface DLFileShortcutLocalService
PortalException
SystemException
public void deleteFileShortcut(long fileShortcutId) throws PortalException, SystemException
deleteFileShortcut
in interface DLFileShortcutLocalService
PortalException
SystemException
public void deleteFileShortcuts(long toFileEntryId) throws PortalException, SystemException
deleteFileShortcuts
in interface DLFileShortcutLocalService
PortalException
SystemException
public void deleteFileShortcuts(long groupId, long folderId) throws PortalException, SystemException
deleteFileShortcuts
in interface DLFileShortcutLocalService
PortalException
SystemException
public void deleteFileShortcuts(long groupId, long folderId, boolean includeTrashedEntries) throws PortalException, SystemException
deleteFileShortcuts
in interface DLFileShortcutLocalService
PortalException
SystemException
public void disableFileShortcuts(long toFileEntryId) throws SystemException
disableFileShortcuts
in interface DLFileShortcutLocalService
SystemException
public void enableFileShortcuts(long toFileEntryId) throws SystemException
enableFileShortcuts
in interface DLFileShortcutLocalService
SystemException
public DLFileShortcut getFileShortcut(long fileShortcutId) throws PortalException, SystemException
getFileShortcut
in interface DLFileShortcutLocalService
PortalException
SystemException
public List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, boolean active, int status, int start, int end) throws SystemException
getFileShortcuts
in interface DLFileShortcutLocalService
SystemException
public int getFileShortcutsCount(long groupId, long folderId, boolean active, int status) throws SystemException
getFileShortcutsCount
in interface DLFileShortcutLocalService
SystemException
public void rebuildTree(long companyId) throws PortalException, SystemException
rebuildTree
in interface DLFileShortcutLocalService
PortalException
SystemException
public void setTreePaths(long folderId, String treePath) throws PortalException, SystemException
setTreePaths
in interface DLFileShortcutLocalService
PortalException
SystemException
public void updateAsset(long userId, DLFileShortcut fileShortcut, long[] assetCategoryIds, String[] assetTagNames) throws PortalException, SystemException
updateAsset
in interface DLFileShortcutLocalService
PortalException
SystemException
public DLFileShortcut updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException, SystemException
updateFileShortcut
in interface DLFileShortcutLocalService
PortalException
SystemException
public void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId) throws SystemException
updateFileShortcuts
in interface DLFileShortcutLocalService
SystemException
public void updateStatus(long userId, long fileShortcutId, int status, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus
in interface DLFileShortcutLocalService
PortalException
SystemException
public DLFileShortcutLocalService getWrappedDLFileShortcutLocalService()
getWrappedService()
public void setWrappedDLFileShortcutLocalService(DLFileShortcutLocalService dlFileShortcutLocalService)
setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService)
public DLFileShortcutLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<DLFileShortcutLocalService>
public void setWrappedService(DLFileShortcutLocalService dlFileShortcutLocalService)
setWrappedService
in interface ServiceWrapper<DLFileShortcutLocalService>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |