com.liferay.object.model.ObjectEntryModel Maven / Gradle / Ivy
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.object.model;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.model.BaseModel;
import com.liferay.portal.kernel.model.ExternalReferenceCodeModel;
import com.liferay.portal.kernel.model.MVCCModel;
import com.liferay.portal.kernel.model.ShardedModel;
import com.liferay.portal.kernel.model.StagedGroupedModel;
import com.liferay.portal.kernel.model.WorkflowedModel;
import java.util.Date;
import org.osgi.annotation.versioning.ProviderType;
/**
* The base model interface for the ObjectEntry service. Represents a row in the "ObjectEntry" database table, with each column mapped to a property of this class.
*
*
* This interface and its corresponding implementation com.liferay.object.model.impl.ObjectEntryModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.object.model.impl.ObjectEntryImpl
.
*
*
* @author Marco Leo
* @see ObjectEntry
* @generated
*/
@ProviderType
public interface ObjectEntryModel
extends BaseModel, ExternalReferenceCodeModel, MVCCModel,
ShardedModel, StagedGroupedModel, WorkflowedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a object entry model instance should use the {@link ObjectEntry} interface instead.
*/
/**
* Returns the primary key of this object entry.
*
* @return the primary key of this object entry
*/
public long getPrimaryKey();
/**
* Sets the primary key of this object entry.
*
* @param primaryKey the primary key of this object entry
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the mvcc version of this object entry.
*
* @return the mvcc version of this object entry
*/
@Override
public long getMvccVersion();
/**
* Sets the mvcc version of this object entry.
*
* @param mvccVersion the mvcc version of this object entry
*/
@Override
public void setMvccVersion(long mvccVersion);
/**
* Returns the uuid of this object entry.
*
* @return the uuid of this object entry
*/
@AutoEscape
@Override
public String getUuid();
/**
* Sets the uuid of this object entry.
*
* @param uuid the uuid of this object entry
*/
@Override
public void setUuid(String uuid);
/**
* Returns the external reference code of this object entry.
*
* @return the external reference code of this object entry
*/
@AutoEscape
@Override
public String getExternalReferenceCode();
/**
* Sets the external reference code of this object entry.
*
* @param externalReferenceCode the external reference code of this object entry
*/
@Override
public void setExternalReferenceCode(String externalReferenceCode);
/**
* Returns the object entry ID of this object entry.
*
* @return the object entry ID of this object entry
*/
public long getObjectEntryId();
/**
* Sets the object entry ID of this object entry.
*
* @param objectEntryId the object entry ID of this object entry
*/
public void setObjectEntryId(long objectEntryId);
/**
* Returns the group ID of this object entry.
*
* @return the group ID of this object entry
*/
@Override
public long getGroupId();
/**
* Sets the group ID of this object entry.
*
* @param groupId the group ID of this object entry
*/
@Override
public void setGroupId(long groupId);
/**
* Returns the company ID of this object entry.
*
* @return the company ID of this object entry
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this object entry.
*
* @param companyId the company ID of this object entry
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this object entry.
*
* @return the user ID of this object entry
*/
@Override
public long getUserId();
/**
* Sets the user ID of this object entry.
*
* @param userId the user ID of this object entry
*/
@Override
public void setUserId(long userId);
/**
* Returns the user uuid of this object entry.
*
* @return the user uuid of this object entry
*/
@Override
public String getUserUuid();
/**
* Sets the user uuid of this object entry.
*
* @param userUuid the user uuid of this object entry
*/
@Override
public void setUserUuid(String userUuid);
/**
* Returns the user name of this object entry.
*
* @return the user name of this object entry
*/
@AutoEscape
@Override
public String getUserName();
/**
* Sets the user name of this object entry.
*
* @param userName the user name of this object entry
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this object entry.
*
* @return the create date of this object entry
*/
@Override
public Date getCreateDate();
/**
* Sets the create date of this object entry.
*
* @param createDate the create date of this object entry
*/
@Override
public void setCreateDate(Date createDate);
/**
* Returns the modified date of this object entry.
*
* @return the modified date of this object entry
*/
@Override
public Date getModifiedDate();
/**
* Sets the modified date of this object entry.
*
* @param modifiedDate the modified date of this object entry
*/
@Override
public void setModifiedDate(Date modifiedDate);
/**
* Returns the object definition ID of this object entry.
*
* @return the object definition ID of this object entry
*/
public long getObjectDefinitionId();
/**
* Sets the object definition ID of this object entry.
*
* @param objectDefinitionId the object definition ID of this object entry
*/
public void setObjectDefinitionId(long objectDefinitionId);
/**
* Returns the root object entry ID of this object entry.
*
* @return the root object entry ID of this object entry
*/
public long getRootObjectEntryId();
/**
* Sets the root object entry ID of this object entry.
*
* @param rootObjectEntryId the root object entry ID of this object entry
*/
public void setRootObjectEntryId(long rootObjectEntryId);
/**
* Returns the last publish date of this object entry.
*
* @return the last publish date of this object entry
*/
@Override
public Date getLastPublishDate();
/**
* Sets the last publish date of this object entry.
*
* @param lastPublishDate the last publish date of this object entry
*/
@Override
public void setLastPublishDate(Date lastPublishDate);
/**
* Returns the status of this object entry.
*
* @return the status of this object entry
*/
@Override
public int getStatus();
/**
* Sets the status of this object entry.
*
* @param status the status of this object entry
*/
@Override
public void setStatus(int status);
/**
* Returns the status by user ID of this object entry.
*
* @return the status by user ID of this object entry
*/
@Override
public long getStatusByUserId();
/**
* Sets the status by user ID of this object entry.
*
* @param statusByUserId the status by user ID of this object entry
*/
@Override
public void setStatusByUserId(long statusByUserId);
/**
* Returns the status by user uuid of this object entry.
*
* @return the status by user uuid of this object entry
*/
@Override
public String getStatusByUserUuid();
/**
* Sets the status by user uuid of this object entry.
*
* @param statusByUserUuid the status by user uuid of this object entry
*/
@Override
public void setStatusByUserUuid(String statusByUserUuid);
/**
* Returns the status by user name of this object entry.
*
* @return the status by user name of this object entry
*/
@AutoEscape
@Override
public String getStatusByUserName();
/**
* Sets the status by user name of this object entry.
*
* @param statusByUserName the status by user name of this object entry
*/
@Override
public void setStatusByUserName(String statusByUserName);
/**
* Returns the status date of this object entry.
*
* @return the status date of this object entry
*/
@Override
public Date getStatusDate();
/**
* Sets the status date of this object entry.
*
* @param statusDate the status date of this object entry
*/
@Override
public void setStatusDate(Date statusDate);
/**
* Returns true
if this object entry is approved.
*
* @return true
if this object entry is approved; false
otherwise
*/
@Override
public boolean isApproved();
/**
* Returns true
if this object entry is denied.
*
* @return true
if this object entry is denied; false
otherwise
*/
@Override
public boolean isDenied();
/**
* Returns true
if this object entry is a draft.
*
* @return true
if this object entry is a draft; false
otherwise
*/
@Override
public boolean isDraft();
/**
* Returns true
if this object entry is expired.
*
* @return true
if this object entry is expired; false
otherwise
*/
@Override
public boolean isExpired();
/**
* Returns true
if this object entry is inactive.
*
* @return true
if this object entry is inactive; false
otherwise
*/
@Override
public boolean isInactive();
/**
* Returns true
if this object entry is incomplete.
*
* @return true
if this object entry is incomplete; false
otherwise
*/
@Override
public boolean isIncomplete();
/**
* Returns true
if this object entry is pending.
*
* @return true
if this object entry is pending; false
otherwise
*/
@Override
public boolean isPending();
/**
* Returns true
if this object entry is scheduled.
*
* @return true
if this object entry is scheduled; false
otherwise
*/
@Override
public boolean isScheduled();
@Override
public ObjectEntry cloneWithOriginalValues();
public default String toXmlString() {
return null;
}
}