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.security.ac.AccessControlled;
023 import com.liferay.portal.service.BaseService;
024
025
038 @AccessControlled
039 @JSONWebService
040 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
041 PortalException.class, SystemException.class})
042 public interface ExpandoColumnService extends BaseService {
043
048
049
054 public java.lang.String getBeanIdentifier();
055
056
061 public void setBeanIdentifier(java.lang.String beanIdentifier);
062
063 public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
064 long tableId, java.lang.String name, int type)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException;
067
068 public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
069 long tableId, java.lang.String name, int type,
070 java.lang.Object defaultData)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException;
073
074 public void deleteColumn(long columnId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException;
077
078 public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
079 long columnId, java.lang.String name, int type)
080 throws com.liferay.portal.kernel.exception.PortalException,
081 com.liferay.portal.kernel.exception.SystemException;
082
083 public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
084 long columnId, java.lang.String name, int type,
085 java.lang.Object defaultData)
086 throws com.liferay.portal.kernel.exception.PortalException,
087 com.liferay.portal.kernel.exception.SystemException;
088
089 public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
090 long columnId, java.lang.String typeSettings)
091 throws com.liferay.portal.kernel.exception.PortalException,
092 com.liferay.portal.kernel.exception.SystemException;
093 }