public class Media extends ObjectBaseImpl<MediaEntity>
entityClass
构造器和说明 |
---|
Media() |
Media(MediaEntity entity) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
entityReseted() |
String |
getCategory() |
boolean |
getEdit() |
String |
getFileURL() |
byte[] |
getMediaContent() |
long |
getMediaId() |
InputStream |
getMediaStream() |
String |
getMediaType() |
String |
getName() |
MediaStorageProtocol |
getStorageProtocol() |
String |
getSubPath() |
String |
getType() |
void |
setCategory(String category) |
void |
setEdit(boolean value) |
void |
setFileURL(String fileURL) |
void |
setMediaContent(byte[] content) |
void |
setName(String mediaName) |
void |
setStorageProtocol(MediaStorageProtocol storageProtocol) |
void |
setSubPath(String subPath)
set the sub path of category
for example "/test/test" |
void |
setType(String type) |
equals, getCEF, getCompanyId, getCreateBid, getCreateIp, getCreateTime, getCreateUserFullName, getCreateUserId, getCreateUserName, getDeleteIp, getDeleteTime, getDeleteUserFullName, getDeleteUserId, getDeleteUserName, getDescription, getEntityClass, getId, getLastModifyIp, getLastModifyTime, getLastModifyUserFullName, getLastModifyUserId, getLastModifyUserName, getModifyBid, getObjectType, getPlatformId, getRowLogId, hashCode, isDeleted, isNew, refresh, refresh, setCEF, setDescription, toString
getInternalObject, getService, getServiceByDomainObject, setInternalObject
public Media(MediaEntity entity)
public Media()
public String getName()
public void setName(String mediaName)
public String getType()
public void setType(String type)
public boolean getEdit()
public void setEdit(boolean value)
public long getMediaId()
public MediaStorageProtocol getStorageProtocol()
public void setStorageProtocol(MediaStorageProtocol storageProtocol)
public String getFileURL()
public void setFileURL(String fileURL)
public byte[] getMediaContent()
public void setMediaContent(byte[] content)
public InputStream getMediaStream()
public String getMediaType()
protected void entityReseted()
entityReseted
在类中 ObjectBaseImpl<MediaEntity>
public String getSubPath()
public void setSubPath(String subPath)
subPath
- public String getCategory()
public void setCategory(String category)
Copyright © 2019. All rights reserved.