Liferay 6.0.4

com.liferay.portal.service
Interface ClassNameService

All Known Implementing Classes:
ClassNameServiceBaseImpl, ClassNameServiceImpl, ClassNameServiceWrapper

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

This interface defines the service. The default implementation is 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.

See Also:
ClassNameServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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

Method Detail

getClassName

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ClassName getClassName(long classNameId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getClassName

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ClassName getClassName(String value)
                       throws SystemException
Throws:
SystemException

getClassNameId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
long getClassNameId(Class<?> classObj)

getClassNameId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
long getClassNameId(String value)

Liferay 6.0.4