@ProviderType public interface ModulePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<Module>
Caching information and settings can be found in portal.properties
com.liferay.marketplace.service.persistence.impl.ModulePersistenceImpl
,
ModuleUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<Module> modules)
Caches the modules in the entity cache if it is enabled.
|
void |
cacheResult(Module module)
Caches the module in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of modules.
|
int |
countByA_BSN_BV(long appId,
java.lang.String bundleSymbolicName,
java.lang.String bundleVersion)
Returns the number of modules where appId = ? and bundleSymbolicName = ? and bundleVersion = ?.
|
int |
countByA_CN(long appId,
java.lang.String contextName)
Returns the number of modules where appId = ? and contextName = ?.
|
int |
countByAppId(long appId)
Returns the number of modules where appId = ?.
|
int |
countByBundleSymbolicName(java.lang.String bundleSymbolicName)
Returns the number of modules where bundleSymbolicName = ?.
|
int |
countByContextName(java.lang.String contextName)
Returns the number of modules where contextName = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of modules where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of modules where uuid = ?.
|
Module |
create(long moduleId)
Creates a new module with the primary key.
|
Module |
fetchByA_BSN_BV(long appId,
java.lang.String bundleSymbolicName,
java.lang.String bundleVersion)
Returns the module where appId = ? and bundleSymbolicName = ? and bundleVersion = ? or returns
null if it could not be found. |
Module |
fetchByA_BSN_BV(long appId,
java.lang.String bundleSymbolicName,
java.lang.String bundleVersion,
boolean retrieveFromCache)
Returns the module where appId = ? and bundleSymbolicName = ? and bundleVersion = ? or returns
null if it could not be found, optionally using the finder cache. |
Module |
fetchByA_CN(long appId,
java.lang.String contextName)
Returns the module where appId = ? and contextName = ? or returns
null if it could not be found. |
Module |
fetchByA_CN(long appId,
java.lang.String contextName,
boolean retrieveFromCache)
Returns the module where appId = ? and contextName = ? or returns
null if it could not be found, optionally using the finder cache. |
Module |
fetchByAppId_First(long appId,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the first module in the ordered set where appId = ?.
|
Module |
fetchByAppId_Last(long appId,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the last module in the ordered set where appId = ?.
|
Module |
fetchByBundleSymbolicName_First(java.lang.String bundleSymbolicName,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the first module in the ordered set where bundleSymbolicName = ?.
|
Module |
fetchByBundleSymbolicName_Last(java.lang.String bundleSymbolicName,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the last module in the ordered set where bundleSymbolicName = ?.
|
Module |
fetchByContextName_First(java.lang.String contextName,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the first module in the ordered set where contextName = ?.
|
Module |
fetchByContextName_Last(java.lang.String contextName,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the last module in the ordered set where contextName = ?.
|
Module |
fetchByPrimaryKey(long moduleId)
Returns the module with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,Module> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
Module |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the first module in the ordered set where uuid = ? and companyId = ?.
|
Module |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the last module in the ordered set where uuid = ? and companyId = ?.
|
Module |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the first module in the ordered set where uuid = ?.
|
Module |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the last module in the ordered set where uuid = ?.
|
java.util.List<Module> |
findAll()
Returns all the modules.
|
java.util.List<Module> |
findAll(int start,
int end)
Returns a range of all the modules.
|
java.util.List<Module> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns an ordered range of all the modules.
|
java.util.List<Module> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the modules.
|
Module |
findByA_BSN_BV(long appId,
java.lang.String bundleSymbolicName,
java.lang.String bundleVersion)
Returns the module where appId = ? and bundleSymbolicName = ? and bundleVersion = ? or throws a
NoSuchModuleException if it could not be found. |
Module |
findByA_CN(long appId,
java.lang.String contextName)
Returns the module where appId = ? and contextName = ? or throws a
NoSuchModuleException if it could not be found. |
Module |
findByAppId_First(long appId,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the first module in the ordered set where appId = ?.
|
Module |
findByAppId_Last(long appId,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the last module in the ordered set where appId = ?.
|
Module[] |
findByAppId_PrevAndNext(long moduleId,
long appId,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the modules before and after the current module in the ordered set where appId = ?.
|
java.util.List<Module> |
findByAppId(long appId)
Returns all the modules where appId = ?.
|
java.util.List<Module> |
findByAppId(long appId,
int start,
int end)
Returns a range of all the modules where appId = ?.
|
java.util.List<Module> |
findByAppId(long appId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns an ordered range of all the modules where appId = ?.
|
java.util.List<Module> |
findByAppId(long appId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the modules where appId = ?.
|
Module |
findByBundleSymbolicName_First(java.lang.String bundleSymbolicName,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the first module in the ordered set where bundleSymbolicName = ?.
|
Module |
findByBundleSymbolicName_Last(java.lang.String bundleSymbolicName,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the last module in the ordered set where bundleSymbolicName = ?.
|
Module[] |
findByBundleSymbolicName_PrevAndNext(long moduleId,
java.lang.String bundleSymbolicName,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the modules before and after the current module in the ordered set where bundleSymbolicName = ?.
|
java.util.List<Module> |
findByBundleSymbolicName(java.lang.String bundleSymbolicName)
Returns all the modules where bundleSymbolicName = ?.
|
java.util.List<Module> |
findByBundleSymbolicName(java.lang.String bundleSymbolicName,
int start,
int end)
Returns a range of all the modules where bundleSymbolicName = ?.
|
java.util.List<Module> |
findByBundleSymbolicName(java.lang.String bundleSymbolicName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns an ordered range of all the modules where bundleSymbolicName = ?.
|
java.util.List<Module> |
findByBundleSymbolicName(java.lang.String bundleSymbolicName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the modules where bundleSymbolicName = ?.
|
Module |
findByContextName_First(java.lang.String contextName,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the first module in the ordered set where contextName = ?.
|
Module |
findByContextName_Last(java.lang.String contextName,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the last module in the ordered set where contextName = ?.
|
Module[] |
findByContextName_PrevAndNext(long moduleId,
java.lang.String contextName,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the modules before and after the current module in the ordered set where contextName = ?.
|
java.util.List<Module> |
findByContextName(java.lang.String contextName)
Returns all the modules where contextName = ?.
|
java.util.List<Module> |
findByContextName(java.lang.String contextName,
int start,
int end)
Returns a range of all the modules where contextName = ?.
|
java.util.List<Module> |
findByContextName(java.lang.String contextName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns an ordered range of all the modules where contextName = ?.
|
java.util.List<Module> |
findByContextName(java.lang.String contextName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the modules where contextName = ?.
|
Module |
findByPrimaryKey(long moduleId)
Returns the module with the primary key or throws a
NoSuchModuleException if it could not be found. |
Module |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the first module in the ordered set where uuid = ? and companyId = ?.
|
Module |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the last module in the ordered set where uuid = ? and companyId = ?.
|
Module[] |
findByUuid_C_PrevAndNext(long moduleId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the modules before and after the current module in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<Module> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the modules where uuid = ? and companyId = ?.
|
java.util.List<Module> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the modules where uuid = ? and companyId = ?.
|
java.util.List<Module> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns an ordered range of all the modules where uuid = ? and companyId = ?.
|
java.util.List<Module> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the modules where uuid = ? and companyId = ?.
|
Module |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the first module in the ordered set where uuid = ?.
|
Module |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the last module in the ordered set where uuid = ?.
|
Module[] |
findByUuid_PrevAndNext(long moduleId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns the modules before and after the current module in the ordered set where uuid = ?.
|
java.util.List<Module> |
findByUuid(java.lang.String uuid)
Returns all the modules where uuid = ?.
|
java.util.List<Module> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the modules where uuid = ?.
|
java.util.List<Module> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
Returns an ordered range of all the modules where uuid = ?.
|
java.util.List<Module> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the modules where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
Module |
remove(long moduleId)
Removes the module with the primary key from the database.
|
void |
removeAll()
Removes all the modules from the database.
|
Module |
removeByA_BSN_BV(long appId,
java.lang.String bundleSymbolicName,
java.lang.String bundleVersion)
Removes the module where appId = ? and bundleSymbolicName = ? and bundleVersion = ? from the database.
|
Module |
removeByA_CN(long appId,
java.lang.String contextName)
Removes the module where appId = ? and contextName = ? from the database.
|
void |
removeByAppId(long appId)
Removes all the modules where appId = ? from the database.
|
void |
removeByBundleSymbolicName(java.lang.String bundleSymbolicName)
Removes all the modules where bundleSymbolicName = ? from the database.
|
void |
removeByContextName(java.lang.String contextName)
Removes all the modules where contextName = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the modules where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the modules where uuid = ? from the database.
|
Module |
updateImpl(Module module) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<Module> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<Module> findByUuid(java.lang.String uuid, int start, int end)
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 ModuleModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)java.util.List<Module> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
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 ModuleModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Module> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator, boolean retrieveFromCache)
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 ModuleModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheModule findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a matching module could not be foundModule fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching module could not be foundModule findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a matching module could not be foundModule fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching module could not be foundModule[] findByUuid_PrevAndNext(long moduleId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
moduleId
- the primary key of the current moduleuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a module with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<Module> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<Module> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
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 ModuleModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)java.util.List<Module> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
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 ModuleModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Module> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator, boolean retrieveFromCache)
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 ModuleModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheModule findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a matching module could not be foundModule fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching module could not be foundModule findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a matching module could not be foundModule fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching module could not be foundModule[] findByUuid_C_PrevAndNext(long moduleId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
moduleId
- the primary key of the current moduleuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a module with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<Module> findByAppId(long appId)
appId
- the app IDjava.util.List<Module> findByAppId(long appId, int start, int end)
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 ModuleModelImpl
. 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.
appId
- the app IDstart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)java.util.List<Module> findByAppId(long appId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
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 ModuleModelImpl
. 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.
appId
- the app IDstart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Module> findByAppId(long appId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator, boolean retrieveFromCache)
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 ModuleModelImpl
. 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.
appId
- the app IDstart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheModule findByAppId_First(long appId, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
appId
- the app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a matching module could not be foundModule fetchByAppId_First(long appId, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
appId
- the app IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching module could not be foundModule findByAppId_Last(long appId, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
appId
- the app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a matching module could not be foundModule fetchByAppId_Last(long appId, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
appId
- the app IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching module could not be foundModule[] findByAppId_PrevAndNext(long moduleId, long appId, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
moduleId
- the primary key of the current moduleappId
- the app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a module with the primary key could not be foundvoid removeByAppId(long appId)
appId
- the app IDint countByAppId(long appId)
appId
- the app IDjava.util.List<Module> findByBundleSymbolicName(java.lang.String bundleSymbolicName)
bundleSymbolicName
- the bundle symbolic namejava.util.List<Module> findByBundleSymbolicName(java.lang.String bundleSymbolicName, int start, int end)
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 ModuleModelImpl
. 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.
bundleSymbolicName
- the bundle symbolic namestart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)java.util.List<Module> findByBundleSymbolicName(java.lang.String bundleSymbolicName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
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 ModuleModelImpl
. 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.
bundleSymbolicName
- the bundle symbolic namestart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Module> findByBundleSymbolicName(java.lang.String bundleSymbolicName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator, boolean retrieveFromCache)
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 ModuleModelImpl
. 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.
bundleSymbolicName
- the bundle symbolic namestart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheModule findByBundleSymbolicName_First(java.lang.String bundleSymbolicName, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
bundleSymbolicName
- the bundle symbolic nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a matching module could not be foundModule fetchByBundleSymbolicName_First(java.lang.String bundleSymbolicName, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
bundleSymbolicName
- the bundle symbolic nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching module could not be foundModule findByBundleSymbolicName_Last(java.lang.String bundleSymbolicName, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
bundleSymbolicName
- the bundle symbolic nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a matching module could not be foundModule fetchByBundleSymbolicName_Last(java.lang.String bundleSymbolicName, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
bundleSymbolicName
- the bundle symbolic nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching module could not be foundModule[] findByBundleSymbolicName_PrevAndNext(long moduleId, java.lang.String bundleSymbolicName, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
moduleId
- the primary key of the current modulebundleSymbolicName
- the bundle symbolic nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a module with the primary key could not be foundvoid removeByBundleSymbolicName(java.lang.String bundleSymbolicName)
bundleSymbolicName
- the bundle symbolic nameint countByBundleSymbolicName(java.lang.String bundleSymbolicName)
bundleSymbolicName
- the bundle symbolic namejava.util.List<Module> findByContextName(java.lang.String contextName)
contextName
- the context namejava.util.List<Module> findByContextName(java.lang.String contextName, int start, int end)
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 ModuleModelImpl
. 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.
contextName
- the context namestart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)java.util.List<Module> findByContextName(java.lang.String contextName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
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 ModuleModelImpl
. 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.
contextName
- the context namestart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Module> findByContextName(java.lang.String contextName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator, boolean retrieveFromCache)
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 ModuleModelImpl
. 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.
contextName
- the context namestart
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheModule findByContextName_First(java.lang.String contextName, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
contextName
- the context nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a matching module could not be foundModule fetchByContextName_First(java.lang.String contextName, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
contextName
- the context nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching module could not be foundModule findByContextName_Last(java.lang.String contextName, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
contextName
- the context nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a matching module could not be foundModule fetchByContextName_Last(java.lang.String contextName, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
contextName
- the context nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching module could not be foundModule[] findByContextName_PrevAndNext(long moduleId, java.lang.String contextName, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator) throws NoSuchModuleException
moduleId
- the primary key of the current modulecontextName
- the context nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchModuleException
- if a module with the primary key could not be foundvoid removeByContextName(java.lang.String contextName)
contextName
- the context nameint countByContextName(java.lang.String contextName)
contextName
- the context nameModule findByA_CN(long appId, java.lang.String contextName) throws NoSuchModuleException
NoSuchModuleException
if it could not be found.appId
- the app IDcontextName
- the context nameNoSuchModuleException
- if a matching module could not be foundModule fetchByA_CN(long appId, java.lang.String contextName)
null
if it could not be found. Uses the finder cache.appId
- the app IDcontextName
- the context namenull
if a matching module could not be foundModule fetchByA_CN(long appId, java.lang.String contextName, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.appId
- the app IDcontextName
- the context nameretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching module could not be foundModule removeByA_CN(long appId, java.lang.String contextName) throws NoSuchModuleException
appId
- the app IDcontextName
- the context nameNoSuchModuleException
int countByA_CN(long appId, java.lang.String contextName)
appId
- the app IDcontextName
- the context nameModule findByA_BSN_BV(long appId, java.lang.String bundleSymbolicName, java.lang.String bundleVersion) throws NoSuchModuleException
NoSuchModuleException
if it could not be found.appId
- the app IDbundleSymbolicName
- the bundle symbolic namebundleVersion
- the bundle versionNoSuchModuleException
- if a matching module could not be foundModule fetchByA_BSN_BV(long appId, java.lang.String bundleSymbolicName, java.lang.String bundleVersion)
null
if it could not be found. Uses the finder cache.appId
- the app IDbundleSymbolicName
- the bundle symbolic namebundleVersion
- the bundle versionnull
if a matching module could not be foundModule fetchByA_BSN_BV(long appId, java.lang.String bundleSymbolicName, java.lang.String bundleVersion, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.appId
- the app IDbundleSymbolicName
- the bundle symbolic namebundleVersion
- the bundle versionretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching module could not be foundModule removeByA_BSN_BV(long appId, java.lang.String bundleSymbolicName, java.lang.String bundleVersion) throws NoSuchModuleException
appId
- the app IDbundleSymbolicName
- the bundle symbolic namebundleVersion
- the bundle versionNoSuchModuleException
int countByA_BSN_BV(long appId, java.lang.String bundleSymbolicName, java.lang.String bundleVersion)
appId
- the app IDbundleSymbolicName
- the bundle symbolic namebundleVersion
- the bundle versionvoid cacheResult(Module module)
module
- the modulevoid cacheResult(java.util.List<Module> modules)
modules
- the modulesModule create(long moduleId)
moduleId
- the primary key for the new moduleModule remove(long moduleId) throws NoSuchModuleException
moduleId
- the primary key of the moduleNoSuchModuleException
- if a module with the primary key could not be foundModule findByPrimaryKey(long moduleId) throws NoSuchModuleException
NoSuchModuleException
if it could not be found.moduleId
- the primary key of the moduleNoSuchModuleException
- if a module with the primary key could not be foundModule fetchByPrimaryKey(long moduleId)
null
if it could not be found.moduleId
- the primary key of the modulenull
if a module with the primary key could not be foundjava.util.Map<java.io.Serializable,Module> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<Module>
java.util.List<Module> findAll()
java.util.List<Module> findAll(int start, int end)
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 ModuleModelImpl
. 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.
start
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)java.util.List<Module> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator)
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 ModuleModelImpl
. 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.
start
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Module> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Module> orderByComparator, boolean retrieveFromCache)
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 ModuleModelImpl
. 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.
start
- the lower bound of the range of modulesend
- the upper bound of the range of modules (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<Module>