com.liferay.portal.service
Interface ShardLocalService
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ShardLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.ShardLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
ShardLocalServiceUtil
addShard
Shard addShard(Shard shard)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createShard
Shard createShard(long shardId)
deleteShard
void deleteShard(long shardId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteShard
void deleteShard(Shard shard)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getShard
@Transactional(propagation=SUPPORTS,
readOnly=true)
Shard getShard(long shardId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getShards
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Shard> getShards(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getShardsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getShardsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateShard
Shard updateShard(Shard shard)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateShard
Shard updateShard(Shard shard,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addShard
Shard addShard(java.lang.String className,
long classPK,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getShard
@Transactional(propagation=SUPPORTS,
readOnly=true)
Shard getShard(java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException