Package org.beangle.ems.avatar.service
Class AvatarBaseGroup
- java.lang.Object
-
- org.beangle.ems.avatar.service.AvatarBaseGroup
-
- All Implemented Interfaces:
AvatarBase
public class AvatarBaseGroup extends Object implements AvatarBase
组合头像库- Author:
- chaostone
-
-
Constructor Summary
Constructors Constructor Description AvatarBaseGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainType(String type)AvatargetAvatar(String name)org.beangle.commons.collection.page.Page<String>getAvatarNames(org.beangle.commons.collection.page.PageLimit pageLimit)AvatargetDefaultAvatar()StringgetDescription()Set<String>getTypes()booleanisReadOnly()booleanupdateAvatar(String name, File file, String type)intupdateAvatarBatch(File zipFile)
-
-
-
Method Detail
-
containType
public boolean containType(String type)
- Specified by:
containTypein interfaceAvatarBase
-
getAvatar
public Avatar getAvatar(String name)
- Specified by:
getAvatarin interfaceAvatarBase
-
getAvatarNames
public org.beangle.commons.collection.page.Page<String> getAvatarNames(org.beangle.commons.collection.page.PageLimit pageLimit)
- Specified by:
getAvatarNamesin interfaceAvatarBase
-
getDefaultAvatar
public Avatar getDefaultAvatar()
- Specified by:
getDefaultAvatarin interfaceAvatarBase
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceAvatarBase
-
getTypes
public Set<String> getTypes()
- Specified by:
getTypesin interfaceAvatarBase
-
updateAvatar
public boolean updateAvatar(String name, File file, String type)
- Specified by:
updateAvatarin interfaceAvatarBase
-
updateAvatarBatch
public int updateAvatarBatch(File zipFile)
- Specified by:
updateAvatarBatchin interfaceAvatarBase
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceAvatarBase
-
-