com.liferay.portal.service
Interface ClassNameService


@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ClassNameService

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.ClassNameServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
ClassNameServiceUtil

Method Summary
 ClassName getClassName(long classNameId)
           
 ClassName getClassName(java.lang.String value)
           
 long getClassNameId(java.lang.Class<?> classObj)
           
 long getClassNameId(java.lang.String value)
           
 

Method Detail

getClassName

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ClassName getClassName(long classNameId)
                       throws java.rmi.RemoteException,
                              com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getClassName

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ClassName getClassName(java.lang.String value)
                       throws java.rmi.RemoteException,
                              com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getClassNameId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
long getClassNameId(java.lang.Class<?> classObj)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getClassNameId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
long getClassNameId(java.lang.String value)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException