|
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.persistence.DLContentUtil
public class DLContentUtil
The persistence utility for the document library content service. This utility wraps DLContentPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DLContentPersistence
,
DLContentPersistenceImpl
Constructor Summary | |
---|---|
DLContentUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(DLContent dlContent)
Caches the document library content in the entity cache if it is enabled. |
static void |
cacheResult(List<DLContent> dlContents)
Caches the document library contents in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(DLContent dlContent)
|
static int |
countAll()
Returns the number of document library contents. |
static int |
countByC_R_LikeP(long companyId,
long repositoryId,
String path)
Returns the number of document library contents where companyId = ? and repositoryId = ? and path LIKE ?. |
static int |
countByC_R_P_V(long companyId,
long repositoryId,
String path,
String version)
Returns the number of document library contents where companyId = ? and repositoryId = ? and path = ? and version = ?. |
static int |
countByC_R_P(long companyId,
long repositoryId,
String path)
Returns the number of document library contents where companyId = ? and repositoryId = ? and path = ?. |
static int |
countByC_R(long companyId,
long repositoryId)
Returns the number of document library contents where companyId = ? and repositoryId = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static DLContent |
create(long contentId)
Creates a new document library content with the primary key. |
static DLContent |
fetchByC_R_First(long companyId,
long repositoryId,
OrderByComparator orderByComparator)
Returns the first document library content in the ordered set where companyId = ? and repositoryId = ?. |
static DLContent |
fetchByC_R_Last(long companyId,
long repositoryId,
OrderByComparator orderByComparator)
Returns the last document library content in the ordered set where companyId = ? and repositoryId = ?. |
static DLContent |
fetchByC_R_LikeP_First(long companyId,
long repositoryId,
String path,
OrderByComparator orderByComparator)
Returns the first document library content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ?. |
static DLContent |
fetchByC_R_LikeP_Last(long companyId,
long repositoryId,
String path,
OrderByComparator orderByComparator)
Returns the last document library content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ?. |
static DLContent |
fetchByC_R_P_First(long companyId,
long repositoryId,
String path,
OrderByComparator orderByComparator)
Returns the first document library content in the ordered set where companyId = ? and repositoryId = ? and path = ?. |
static DLContent |
fetchByC_R_P_Last(long companyId,
long repositoryId,
String path,
OrderByComparator orderByComparator)
Returns the last document library content in the ordered set where companyId = ? and repositoryId = ? and path = ?. |
static DLContent |
fetchByC_R_P_V(long companyId,
long repositoryId,
String path,
String version)
Returns the document library content where companyId = ? and repositoryId = ? and path = ? and version = ? or returns null if it could not be found. |
static DLContent |
fetchByC_R_P_V(long companyId,
long repositoryId,
String path,
String version,
boolean retrieveFromCache)
Returns the document library content where companyId = ? and repositoryId = ? and path = ? and version = ? or returns null if it could not be found, optionally using the finder cache. |
static DLContent |
fetchByPrimaryKey(long contentId)
Returns the document library content with the primary key or returns null if it could not be found. |
static List<DLContent> |
findAll()
Returns all the document library contents. |
static List<DLContent> |
findAll(int start,
int end)
Returns a range of all the document library contents. |
static List<DLContent> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library contents. |
static DLContent |
findByC_R_First(long companyId,
long repositoryId,
OrderByComparator orderByComparator)
Returns the first document library content in the ordered set where companyId = ? and repositoryId = ?. |
static DLContent |
findByC_R_Last(long companyId,
long repositoryId,
OrderByComparator orderByComparator)
Returns the last document library content in the ordered set where companyId = ? and repositoryId = ?. |
static DLContent |
findByC_R_LikeP_First(long companyId,
long repositoryId,
String path,
OrderByComparator orderByComparator)
Returns the first document library content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ?. |
static DLContent |
findByC_R_LikeP_Last(long companyId,
long repositoryId,
String path,
OrderByComparator orderByComparator)
Returns the last document library content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ?. |
static DLContent[] |
findByC_R_LikeP_PrevAndNext(long contentId,
long companyId,
long repositoryId,
String path,
OrderByComparator orderByComparator)
Returns the document library contents before and after the current document library content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ?. |
static List<DLContent> |
findByC_R_LikeP(long companyId,
long repositoryId,
String path)
Returns all the document library contents where companyId = ? and repositoryId = ? and path LIKE ?. |
static List<DLContent> |
findByC_R_LikeP(long companyId,
long repositoryId,
String path,
int start,
int end)
Returns a range of all the document library contents where companyId = ? and repositoryId = ? and path LIKE ?. |
static List<DLContent> |
findByC_R_LikeP(long companyId,
long repositoryId,
String path,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library contents where companyId = ? and repositoryId = ? and path LIKE ?. |
static DLContent |
findByC_R_P_First(long companyId,
long repositoryId,
String path,
OrderByComparator orderByComparator)
Returns the first document library content in the ordered set where companyId = ? and repositoryId = ? and path = ?. |
static DLContent |
findByC_R_P_Last(long companyId,
long repositoryId,
String path,
OrderByComparator orderByComparator)
Returns the last document library content in the ordered set where companyId = ? and repositoryId = ? and path = ?. |
static DLContent[] |
findByC_R_P_PrevAndNext(long contentId,
long companyId,
long repositoryId,
String path,
OrderByComparator orderByComparator)
Returns the document library contents before and after the current document library content in the ordered set where companyId = ? and repositoryId = ? and path = ?. |
static DLContent |
findByC_R_P_V(long companyId,
long repositoryId,
String path,
String version)
Returns the document library content where companyId = ? and repositoryId = ? and path = ? and version = ? or throws a NoSuchContentException if it could not be found. |
static List<DLContent> |
findByC_R_P(long companyId,
long repositoryId,
String path)
Returns all the document library contents where companyId = ? and repositoryId = ? and path = ?. |
static List<DLContent> |
findByC_R_P(long companyId,
long repositoryId,
String path,
int start,
int end)
Returns a range of all the document library contents where companyId = ? and repositoryId = ? and path = ?. |
static List<DLContent> |
findByC_R_P(long companyId,
long repositoryId,
String path,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library contents where companyId = ? and repositoryId = ? and path = ?. |
static DLContent[] |
findByC_R_PrevAndNext(long contentId,
long companyId,
long repositoryId,
OrderByComparator orderByComparator)
Returns the document library contents before and after the current document library content in the ordered set where companyId = ? and repositoryId = ?. |
static List<DLContent> |
findByC_R(long companyId,
long repositoryId)
Returns all the document library contents where companyId = ? and repositoryId = ?. |
static List<DLContent> |
findByC_R(long companyId,
long repositoryId,
int start,
int end)
Returns a range of all the document library contents where companyId = ? and repositoryId = ?. |
static List<DLContent> |
findByC_R(long companyId,
long repositoryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library contents where companyId = ? and repositoryId = ?. |
static DLContent |
findByPrimaryKey(long contentId)
Returns the document library content with the primary key or throws a NoSuchContentException if it could not be found. |
static List<DLContent> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<DLContent> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<DLContent> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static DLContentPersistence |
getPersistence()
|
static DLContent |
remove(long contentId)
Removes the document library content with the primary key from the database. |
static void |
removeAll()
Removes all the document library contents from the database. |
static void |
removeByC_R_LikeP(long companyId,
long repositoryId,
String path)
Removes all the document library contents where companyId = ? and repositoryId = ? and path LIKE ? from the database. |
static DLContent |
removeByC_R_P_V(long companyId,
long repositoryId,
String path,
String version)
Removes the document library content where companyId = ? and repositoryId = ? and path = ? and version = ? from the database. |
static void |
removeByC_R_P(long companyId,
long repositoryId,
String path)
Removes all the document library contents where companyId = ? and repositoryId = ? and path = ? from the database. |
static void |
removeByC_R(long companyId,
long repositoryId)
Removes all the document library contents where companyId = ? and repositoryId = ? from the database. |
void |
setPersistence(DLContentPersistence persistence)
Deprecated. |
static DLContent |
update(DLContent dlContent,
boolean merge)
|
static DLContent |
update(DLContent dlContent,
boolean merge,
ServiceContext serviceContext)
|
static DLContent |
updateImpl(DLContent dlContent,
boolean merge)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLContentUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DLContent dlContent)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<DLContent> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<DLContent> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<DLContent> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DLContent update(DLContent dlContent, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static DLContent update(DLContent dlContent, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public static void cacheResult(DLContent dlContent)
dlContent
- the document library contentpublic static void cacheResult(List<DLContent> dlContents)
dlContents
- the document library contentspublic static DLContent create(long contentId)
contentId
- the primary key for the new document library content
public static DLContent remove(long contentId) throws SystemException, NoSuchContentException
contentId
- the primary key of the document library content
NoSuchContentException
- if a document library content with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLContent updateImpl(DLContent dlContent, boolean merge) throws SystemException
SystemException
public static DLContent findByPrimaryKey(long contentId) throws SystemException, NoSuchContentException
NoSuchContentException
if it could not be found.
contentId
- the primary key of the document library content
NoSuchContentException
- if a document library content with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLContent fetchByPrimaryKey(long contentId) throws SystemException
null
if it could not be found.
contentId
- the primary key of the document library content
null
if a document library content with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLContent> findByC_R(long companyId, long repositoryId) throws SystemException
companyId
- the company IDrepositoryId
- the repository ID
SystemException
- if a system exception occurredpublic static List<DLContent> findByC_R(long companyId, long repositoryId, 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.
companyId
- the company IDrepositoryId
- the repository IDstart
- the lower bound of the range of document library contentsend
- the upper bound of the range of document library contents (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLContent> findByC_R(long companyId, long repositoryId, 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.
companyId
- the company IDrepositoryId
- the repository IDstart
- the lower bound of the range of document library contentsend
- the upper bound of the range of document library contents (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLContent findByC_R_First(long companyId, long repositoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchContentException
- if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent fetchByC_R_First(long companyId, long repositoryId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent findByC_R_Last(long companyId, long repositoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchContentException
- if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent fetchByC_R_Last(long companyId, long repositoryId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent[] findByC_R_PrevAndNext(long contentId, long companyId, long repositoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchContentException
contentId
- the primary key of the current document library contentcompanyId
- the company IDrepositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchContentException
- if a document library content with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLContent> findByC_R_P(long companyId, long repositoryId, String path) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the path
SystemException
- if a system exception occurredpublic static List<DLContent> findByC_R_P(long companyId, long repositoryId, String path, 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.
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstart
- the lower bound of the range of document library contentsend
- the upper bound of the range of document library contents (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLContent> findByC_R_P(long companyId, long repositoryId, String path, 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.
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstart
- the lower bound of the range of document library contentsend
- the upper bound of the range of document library contents (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLContent findByC_R_P_First(long companyId, long repositoryId, String path, OrderByComparator orderByComparator) throws SystemException, NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchContentException
- if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent fetchByC_R_P_First(long companyId, long repositoryId, String path, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent findByC_R_P_Last(long companyId, long repositoryId, String path, OrderByComparator orderByComparator) throws SystemException, NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchContentException
- if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent fetchByC_R_P_Last(long companyId, long repositoryId, String path, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent[] findByC_R_P_PrevAndNext(long contentId, long companyId, long repositoryId, String path, OrderByComparator orderByComparator) throws SystemException, NoSuchContentException
contentId
- the primary key of the current document library contentcompanyId
- the company IDrepositoryId
- the repository IDpath
- the pathorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchContentException
- if a document library content with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLContent> findByC_R_LikeP(long companyId, long repositoryId, String path) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the path
SystemException
- if a system exception occurredpublic static List<DLContent> findByC_R_LikeP(long companyId, long repositoryId, String path, 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.
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstart
- the lower bound of the range of document library contentsend
- the upper bound of the range of document library contents (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLContent> findByC_R_LikeP(long companyId, long repositoryId, String path, 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.
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathstart
- the lower bound of the range of document library contentsend
- the upper bound of the range of document library contents (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLContent findByC_R_LikeP_First(long companyId, long repositoryId, String path, OrderByComparator orderByComparator) throws SystemException, NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchContentException
- if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent fetchByC_R_LikeP_First(long companyId, long repositoryId, String path, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent findByC_R_LikeP_Last(long companyId, long repositoryId, String path, OrderByComparator orderByComparator) throws SystemException, NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchContentException
- if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent fetchByC_R_LikeP_Last(long companyId, long repositoryId, String path, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent[] findByC_R_LikeP_PrevAndNext(long contentId, long companyId, long repositoryId, String path, OrderByComparator orderByComparator) throws SystemException, NoSuchContentException
contentId
- the primary key of the current document library contentcompanyId
- the company IDrepositoryId
- the repository IDpath
- the pathorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchContentException
- if a document library content with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLContent findByC_R_P_V(long companyId, long repositoryId, String path, String version) throws SystemException, NoSuchContentException
NoSuchContentException
if it could not be found.
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathversion
- the version
NoSuchContentException
- if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent fetchByC_R_P_V(long companyId, long repositoryId, String path, String version) throws SystemException
null
if it could not be found. Uses the finder cache.
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathversion
- the version
null
if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static DLContent fetchByC_R_P_V(long companyId, long repositoryId, String path, String version, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathversion
- the versionretrieveFromCache
- whether to use the finder cache
null
if a matching document library content could not be found
SystemException
- if a system exception occurredpublic static List<DLContent> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<DLContent> findAll(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 document library contentsend
- the upper bound of the range of document library contents (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLContent> findAll(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.
start
- the lower bound of the range of document library contentsend
- the upper bound of the range of document library contents (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static void removeByC_R(long companyId, long repositoryId) throws SystemException
companyId
- the company IDrepositoryId
- the repository ID
SystemException
- if a system exception occurredpublic static void removeByC_R_P(long companyId, long repositoryId, String path) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the path
SystemException
- if a system exception occurredpublic static void removeByC_R_LikeP(long companyId, long repositoryId, String path) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the path
SystemException
- if a system exception occurredpublic static DLContent removeByC_R_P_V(long companyId, long repositoryId, String path, String version) throws SystemException, NoSuchContentException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathversion
- the version
SystemException
- if a system exception occurred
NoSuchContentException
public static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countByC_R(long companyId, long repositoryId) throws SystemException
companyId
- the company IDrepositoryId
- the repository ID
SystemException
- if a system exception occurredpublic static int countByC_R_P(long companyId, long repositoryId, String path) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the path
SystemException
- if a system exception occurredpublic static int countByC_R_LikeP(long companyId, long repositoryId, String path) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the path
SystemException
- if a system exception occurredpublic static int countByC_R_P_V(long companyId, long repositoryId, String path, String version) throws SystemException
companyId
- the company IDrepositoryId
- the repository IDpath
- the pathversion
- the version
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static DLContentPersistence getPersistence()
public void setPersistence(DLContentPersistence persistence)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |