/** * Copyright (c) 2009-2014 Câmara dos Deputados. Todos os direitos reservados. * * e-Democracia é um software livre; você pode redistribuí-lo e/ou modificá-lo dentro * dos termos da Licença Pública Geral Menor GNU como publicada pela Fundação do * Software Livre (FSF); na versão 2.1 da Licença, ou (na sua opinião) qualquer versão. * * Este programa é distribuído na esperança de que possa ser útil, mas SEM NENHUMA GARANTIA; * sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. * Veja a Licença Pública Geral Menor GNU para maiores detalhes. */ package br.gov.camara.edemocracia.portlets.chat.model; import com.liferay.portal.kernel.bean.AutoEscape; import com.liferay.portal.model.BaseModel; import com.liferay.portal.model.CacheModel; import com.liferay.portal.service.ServiceContext; import com.liferay.portlet.expando.model.ExpandoBridge; import java.io.Serializable; /** * The base model interface for the ChatRoomTwitter service. Represents a row in the "CDChat_ChatRoomTwitter" database table, with each column mapped to a property of this class. * * <p> * This interface and its corresponding implementation {@link br.gov.camara.edemocracia.portlets.chat.model.impl.ChatRoomTwitterModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link br.gov.camara.edemocracia.portlets.chat.model.impl.ChatRoomTwitterImpl}. * </p> * * @author Ricardo Lima * @see ChatRoomTwitter * @see br.gov.camara.edemocracia.portlets.chat.model.impl.ChatRoomTwitterImpl * @see br.gov.camara.edemocracia.portlets.chat.model.impl.ChatRoomTwitterModelImpl * @generated */ public interface ChatRoomTwitterModel extends BaseModel<ChatRoomTwitter> { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. All methods that expect a chat room twitter model instance should use the {@link ChatRoomTwitter} interface instead. */ /** * Returns the primary key of this chat room twitter. * * @return the primary key of this chat room twitter */ public long getPrimaryKey(); /** * Sets the primary key of this chat room twitter. * * @param primaryKey the primary key of this chat room twitter */ public void setPrimaryKey(long primaryKey); /** * Returns the twitter ID of this chat room twitter. * * @return the twitter ID of this chat room twitter */ public long getTwitterId(); /** * Sets the twitter ID of this chat room twitter. * * @param twitterId the twitter ID of this chat room twitter */ public void setTwitterId(long twitterId); /** * Returns the twitter title of this chat room twitter. * * @return the twitter title of this chat room twitter */ @AutoEscape public String getTwitterTitle(); /** * Sets the twitter title of this chat room twitter. * * @param twitterTitle the twitter title of this chat room twitter */ public void setTwitterTitle(String twitterTitle); /** * Returns the twitter description of this chat room twitter. * * @return the twitter description of this chat room twitter */ @AutoEscape public String getTwitterDescription(); /** * Sets the twitter description of this chat room twitter. * * @param twitterDescription the twitter description of this chat room twitter */ public void setTwitterDescription(String twitterDescription); /** * Returns the twitter enabled of this chat room twitter. * * @return the twitter enabled of this chat room twitter */ public boolean getTwitterEnabled(); /** * Returns <code>true</code> if this chat room twitter is twitter enabled. * * @return <code>true</code> if this chat room twitter is twitter enabled; <code>false</code> otherwise */ public boolean isTwitterEnabled(); /** * Sets whether this chat room twitter is twitter enabled. * * @param twitterEnabled the twitter enabled of this chat room twitter */ public void setTwitterEnabled(boolean twitterEnabled); /** * Returns the twitter hashtag of this chat room twitter. * * @return the twitter hashtag of this chat room twitter */ @AutoEscape public String getTwitterHashtag(); /** * Sets the twitter hashtag of this chat room twitter. * * @param twitterHashtag the twitter hashtag of this chat room twitter */ public void setTwitterHashtag(String twitterHashtag); /** * Returns the twitter data widget ID of this chat room twitter. * * @return the twitter data widget ID of this chat room twitter */ @AutoEscape public String getTwitterDataWidgetId(); /** * Sets the twitter data widget ID of this chat room twitter. * * @param twitterDataWidgetId the twitter data widget ID of this chat room twitter */ public void setTwitterDataWidgetId(String twitterDataWidgetId); public boolean isNew(); public void setNew(boolean n); public boolean isCachedModel(); public void setCachedModel(boolean cachedModel); public boolean isEscapedModel(); public Serializable getPrimaryKeyObj(); public void setPrimaryKeyObj(Serializable primaryKeyObj); public ExpandoBridge getExpandoBridge(); public void setExpandoBridgeAttributes(ServiceContext serviceContext); public Object clone(); public int compareTo(ChatRoomTwitter chatRoomTwitter); public int hashCode(); public CacheModel<ChatRoomTwitter> toCacheModel(); public ChatRoomTwitter toEscapedModel(); public String toString(); public String toXmlString(); }