001
014
015 package com.liferay.portlet.expando.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
020 import com.liferay.portal.kernel.transaction.Isolation;
021 import com.liferay.portal.kernel.transaction.Transactional;
022 import com.liferay.portal.service.BaseService;
023
024
037 @JSONWebService
038 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
039 PortalException.class, SystemException.class})
040 public interface ExpandoColumnService extends BaseService {
041
046
047
052 public java.lang.String getBeanIdentifier();
053
054
059 public void setBeanIdentifier(java.lang.String beanIdentifier);
060
061 public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
062 long tableId, java.lang.String name, int type)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException;
065
066 public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
067 long tableId, java.lang.String name, int type,
068 java.lang.Object defaultData)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException;
071
072 public void deleteColumn(long columnId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException;
075
076 public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
077 long columnId, java.lang.String name, int type)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException;
080
081 public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
082 long columnId, java.lang.String name, int type,
083 java.lang.Object defaultData)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException;
086
087 public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
088 long columnId, java.lang.String typeSettings)
089 throws com.liferay.portal.kernel.exception.PortalException,
090 com.liferay.portal.kernel.exception.SystemException;
091 }