modules/liferay-travel/liferay-travel-service/src/main/java/com/liferay/travel/service/persistence/impl/StagePersistenceImpl.java
/**
	 * Creates a new stage with the primary key. Does not add the stage to the database.
	 *
	 * @param stageId the primary key for the new stage
	 * @return the new stage
	 */
Creates a new stage with the primary key. Does not add the stage to the database.
@param stageId the primary key for the new stage
@return the new stage
Creates a new stage with the primary key . Does not add the stage to the database . @param stageId the primary key for the new stage @return the new stage
@Override
	public Stage create(long stageId) {
		Stage stage = new StageImpl();
		stage.setNew(true);
		stage.setPrimaryKey(stageId);
		String uuid = PortalUUIDUtil.generate();
		stage.setUuid(uuid);
		stage.setCompanyId(CompanyThreadLocal.getCompanyId());
		return stage;
	}
@ Override public Stage create ( long stageId ) { Stage stage = new StageImpl ( ) ; stage . setNew ( true ) ; stage . setPrimaryKey ( stageId ) ; String uuid = PortalUUIDUtil . generate ( ) ; stage . setUuid ( uuid ) ; stage . setCompanyId ( CompanyThreadLocal . getCompanyId ( ) ) ; return stage ; }
Creates a new stage with the primary key.
Creates a new stage with the primary key .