use of com.liferay.knowledgebase.model.impl.KBFolderImpl in project liferay-ide by liferay.
the class KBFolderPersistenceImpl method create.
/**
* Creates a new k b folder with the primary key. Does not add the k b folder to the database.
*
* @param kbFolderId the primary key for the new k b folder
* @return the new k b folder
*/
@Override
public KBFolder create(long kbFolderId) {
KBFolder kbFolder = new KBFolderImpl();
kbFolder.setNew(true);
kbFolder.setPrimaryKey(kbFolderId);
String uuid = PortalUUIDUtil.generate();
kbFolder.setUuid(uuid);
return kbFolder;
}
Aggregations