com.taotao.boot.idgenerator.uid.Ids Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of taotao-boot-starter-idgenerator Show documentation
Show all versions of taotao-boot-starter-idgenerator Show documentation
taotao-boot-starter-idgenerator
The newest version!
package com.taotao.boot.idgenerator.uid;
import com.taotao.boot.common.support.oid.Oid;
import java.util.Map;
public interface Ids {
Oid getOid(String businessCode);
Oid getOid(String businessCode, String serviceCode);
Oid getOid(String businessCode, String serviceCode, String extensionCode);
Oid getOid(String businessCode, String serviceCode, String shardCode, String extensionCode);
String getId();
String getId(String extensionCode);
String getId(String shardCode, String extensionCode);
Map parseId(String id);
Map parseOid(Oid oid);
Map parseOid(String oid);
String parseSystemCode(String uid);
String parseDataCenterCode(String uid);
String parseShardCode(String uid);
Long parseSequenceCode(String uid);
String parseBusinessCode(String oid);
String parseServiceCode(String oid);
String parseExtensionCode(String oid);
String parseChannelCode(String oid);
String parseProductCode(String oid);
}